Re: hmatrix

2014-08-24 Thread Edward Z . Yang
-23 23:45:48 +0100: After 3 days of frustrating trials and errors, I managed to install the new hmatrix package on Slackware 13.1. I post this message in case anyone else hits the same problem, as the process requires some alteration of the standard build process of ATLAS, LAPACK, hmatrix

hmatrix

2014-08-23 Thread Adrian Victor Crisciu
After 3 days of frustrating trials and errors, I managed to install the new hmatrix package on Slackware 13.1. I post this message in case anyone else hits the same problem, as the process requires some alteration of the standard build process of ATLAS, LAPACK, hmatrix and hmatrix-gsl

Re: hmatrix-0.16.0.4 installation problem

2014-08-22 Thread Adrian Victor Crisciu
I tried the following command line: cabal install --enable-documentation --extra-include-dirs=/usr;local/include --extra-lib-dirs=/usr/local/lib hmatrix and got the following: Resolving dependencies... Configuring hmatrix-0.16.0.4... cabal: Missing dependencies on foreign libraries: * Missing C

Re: hmatrix-0.16.0.4 installation problem

2014-08-22 Thread Carter Schonwald
What Linux distro? If you're on an unusual distro You might just need to patch the build process to look up the right names. Also have you contacted the hmatrix maintainer to ask him for help. HMATRIX does have an issue tracker on github etc On Friday, August 22, 2014, Adrian Victor Crisciu

Re: hmatrix-0.16.0.4 installation problem

2014-08-22 Thread Edward Z . Yang
Excerpts from Adrian Victor Crisciu's message of 2014-08-22 10:55:00 +0100: I tried the following command line: cabal install --enable-documentation --extra-include-dirs=/usr;local/include --extra-lib-dirs=/usr/local/lib hmatrix Is that semicolon a typo? Edward

Re: hmatrix-0.16.0.4 installation problem

2014-08-22 Thread Brandon Allbery
On Fri, Aug 22, 2014 at 10:38 AM, Edward Z. Yang ezy...@mit.edu wrote: cabal install --enable-documentation --extra-include-dirs=/usr;local/include --extra-lib-dirs=/usr/local/lib hmatrix Is that semicolon a typo? It kinda has to be, they'd have gotten rather more interesting errors

hmatrix-0.16.0.4 installation problem

2014-08-21 Thread Adrian Victor Crisciu
Hi, I tried to upgrade from hmatrix 0.15.2.1 to hmatrix-0.16.0.4 and both cabal install and cabal configure complained about missing blas and lapack libraries. However, I do have those libraries installed, and I passed their locations through --extra-include-dirs and --extra-lib-dirs

Re: hmatrix-0.16.0.4 installation problem

2014-08-21 Thread Michael Snoyman
On Thu, Aug 21, 2014 at 3:26 PM, Adrian Victor Crisciu acris...@gmail.com wrote: Hi, I tried to upgrade from hmatrix 0.15.2.1 to hmatrix-0.16.0.4 and both cabal install and cabal configure complained about missing blas and lapack libraries. However, I do have those libraries installed, and I

Re: hmatrix-0.16.0.4 installation problem

2014-08-21 Thread Adrian Victor Crisciu
Sorry! This is the the failed cabal install command and its output: The blas (libcblas.so) and lapack (both liblapack.a and liblapack.so) are in /usr/local/lib64, so they can be easily found. And the configure script for other software did found them. cabal install --enable-documentation hmatrix

Re: hmatrix-0.16.0.4 installation problem

2014-08-21 Thread Edward Z . Yang
output: The blas (libcblas.so) and lapack (both liblapack.a and liblapack.so) are in /usr/local/lib64, so they can be easily found. And the configure script for other software did found them. cabal install --enable-documentation hmatrix Resolving dependencies... Configuring hmatrix

Re: hmatrix-0.16.0.4 installation problem

2014-08-21 Thread Adrian Victor Crisciu
Hi, Yes, they are in /usr/local/include. Moreover, /usr/local/lib64 is a symbolic link to /usr/local/lib (as may system is a 64-bit anyway), so the libraries should be found regardless of the path they are searched on. I have atlas-3.3.8 and lapack-3.4.0. Are newer versions required? Thanks!

Re: hmatrix-0.16.0.4 installation problem

2014-08-21 Thread Carter Schonwald
You need to pass cabal the extra includes and extra lib dirs flags with the explicit paths to the lib and include folders that have your blas and lapack. The logic in hmatrix can only check stadard paths. On Thursday, August 21, 2014, Adrian Victor Crisciu acris...@gmail.com wrote: Hi, Yes