Hi all, I tried the Jan's git ports. However, I got 21 errors out of 127 torch tests. It said FFI can't point to some structures. Also, I can require nn even it was installed via luarocks. It said the tester suite is missing.
Are the blas finding codes located at math/TH? Thanks. Raymond On Jun 24, 2016 17:12, "Raymond Cheung" <korekont...@gmail.com> wrote: > Hi Jan and Torsten, > > Thanks a lot for your help. > > I will try it later after taking a break. As I lack knowledge on C/C++, I > spent a month to retry many ways on FreeBSD 10/11. I feel tried. > Fortunately, I got some clues. > > During this month, I also learnt a lot on FreeBSD. As least I can build > and install new world/kernel from GhostBSD 10.3 to 11 Alpha 4. > > Thanks again for your help. > > Raymond > On Jun 24, 2016 06:41, "Jan Beich" <jbe...@vfemail.net> wrote: > >> Torsten Zuehlsdorff <t...@freebsd.org> writes: >> >> > Hello Raymond, >> > >> >> OpenBlas (make config; # with OpenMP option), OpenMP, Lapack & ++, >> GotoBlas >> >> are installed. Header files of OpenBlas is also included to >> >> $CMAKE_LIBRARY_PATH. However, I still got the same error message, >> missing >> >> lapack. >> > >> > There are various variables to set to specify where to look vor the >> > libs, like lapack. >> > >> > Sadly i'm out of time. Tomorrow i'm heading into vacation. When back i >> > will come back to your request and try to create a port for >> > this. Maybe we could success together (with more time). >> >> I did some work in the past on Torch7 ports before losing interest[1]. >> Check math/TH if you want to see how it detects OpenBLAS (default). >> >> $ git clone https://github.com/jbeich/freebsd-ports torch-ports >> $ export PORTSDIR=$PWD/torch-ports >> $ cd $PORTSDIR/devel/lua-trepl >> $ make install >> $ th51 >> >> -- >> [1] Many Torch pkgs rely on luarocks to build and resolve dependencies >> and some have a hard dependency on luajit. My approach didn't scale >> as writing such ports often required translating *.rockspec files >> which can quickly grow into maintenance nightmare, so an infra work >> had to be done beforehand. >> > _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"