Re: NEW: math/mlpack (and dependency math/armadillo)

2018-10-23 Thread Jeremie Courreges-Anglas
On Tue, Oct 23 2018, Steven Mestdagh wrote: > Jeremie Courreges-Anglas [2018-10-22, 08:46:46]: >> On Sun, Oct 21 2018, Steven Mestdagh wrote: [...] >> > How about just linking with gfortran by passing CC to make? >> > (blas diff below, but similar for the other ports) >> > I didn't check if

Re: NEW: math/mlpack (and dependency math/armadillo)

2018-10-23 Thread Steven Mestdagh
Jeremie Courreges-Anglas [2018-10-22, 08:46:46]: > On Sun, Oct 21 2018, Steven Mestdagh wrote: > > Jeremie Courreges-Anglas [2018-10-21, 17:25:19]: > > [...] > > >> Regarding libgfortran, > >> > >> > - the library definitely requires linking with the gfortran library > >> > because some of

Re: NEW: math/mlpack (and dependency math/armadillo)

2018-10-22 Thread Jeremie Courreges-Anglas
On Sun, Oct 21 2018, Steven Mestdagh wrote: > Jeremie Courreges-Anglas [2018-10-21, 17:25:19]: [...] >> Regarding libgfortran, >> >> > - the library definitely requires linking with the gfortran library >> > because some of lapack blas want symbols in there >> >> Yeah I see. IIUC blas, apack

Re: NEW: math/mlpack (and dependency math/armadillo)

2018-10-21 Thread Steven Mestdagh
Jeremie Courreges-Anglas [2018-10-21, 17:25:19]: > On Sun, Oct 21 2018, Marc Espie wrote: > > Here's a revised version of the armadillo port, adding arpack and hdf5 > > as a dependency. > > > > And the missed COMPILER line, oops. > > > > Notes: > > - I definitely prefer to be explicit for

Re: NEW: math/mlpack (and dependency math/armadillo)

2018-10-21 Thread Jeremie Courreges-Anglas
On Sun, Oct 21 2018, Marc Espie wrote: > Here's a revised version of the armadillo port, adding arpack and hdf5 > as a dependency. > > And the missed COMPILER line, oops. > > Notes: > - I definitely prefer to be explicit for CONFIGURE_STYLE grep says that most ports rely on the cmake module

Re: NEW: math/mlpack (and dependency math/armadillo)

2018-10-21 Thread Marc Espie
Here's a revised version of the armadillo port, adding arpack and hdf5 as a dependency. And the missed COMPILER line, oops. Notes: - I definitely prefer to be explicit for CONFIGURE_STYLE - the library definitely requires linking with the gfortran library because some of lapack blas want symbols

Re: NEW: math/mlpack (and dependency math/armadillo)

2018-10-20 Thread Marc Espie
> I don't think the fortran module is needed, is it? IIUC libgfortran in > WANTLIB is only here because of blas and lapack. On a related note Nope, module is not needed. > I don't understand the point of patch-CMakeLists_txt. It's necessary, armadillo doesn't link without it. Probably to be

Re: NEW: math/mlpack (and dependency math/armadillo)

2018-10-20 Thread Jeremie Courreges-Anglas
On Sat, Oct 20 2018, Rafael Sadowski wrote: > On Sat Oct 20, 2018 at 01:00:12PM +0200, Jeremie Courreges-Anglas wrote: >> On Thu, Oct 18 2018, Marc Espie wrote: >> >> [...] >> >> > armadillo is a C++ wrapper around lapack/blas linear algebra libraries, >> > a required dependency of mlpack. >>

Re: NEW: math/mlpack (and dependency math/armadillo)

2018-10-20 Thread Rafael Sadowski
On Sat Oct 20, 2018 at 01:00:12PM +0200, Jeremie Courreges-Anglas wrote: > On Thu, Oct 18 2018, Marc Espie wrote: > > [...] > > > armadillo is a C++ wrapper around lapack/blas linear algebra libraries, > > a required dependency of mlpack. > > > > Armadillo is a linear algebra library (matrix

Re: NEW: math/mlpack (and dependency math/armadillo)

2018-10-20 Thread Marc Espie
On Sat, Oct 20, 2018 at 01:00:12PM +0200, Jeremie Courreges-Anglas wrote: > On Thu, Oct 18 2018, Marc Espie wrote: > > [...] > > > armadillo is a C++ wrapper around lapack/blas linear algebra libraries, > > a required dependency of mlpack. > > > > Armadillo is a linear algebra library (matrix

Re: NEW: math/mlpack (and dependency math/armadillo)

2018-10-20 Thread Jeremie Courreges-Anglas
On Thu, Oct 18 2018, Marc Espie wrote: [...] > armadillo is a C++ wrapper around lapack/blas linear algebra libraries, > a required dependency of mlpack. > > Armadillo is a linear algebra library (matrix maths) for the C++ language, > aiming towards a good balance between speed and ease of use.

NEW: math/mlpack (and dependency math/armadillo)

2018-10-18 Thread Marc Espie
mlpack is a "machine learning" C++ library. Most specifically, it contains all kinds of basic large data analysis tools, such as clustering algorithms (knn, kmeans, dbscan), lots of large graph algorithms, and various related learning models (neural networks, autoencoders, markov and bayes