ScaLAPACK build error due to wrong path

Open discussion regarding features, bugs, issues, vendors, etc.

ScaLAPACK build error due to wrong path

Postby _kwsm_ » Sat Dec 17, 2016 10:27 am

Step to reproduce:
Code: Select all
$ wget http://www.netlib.org/scalapack/scalapack-2.0.2.tgz
$ tar xf scalapack-2.0.2.tgz
$ cd scalapack-2.0.2
$ mkdir build
$ cd build
$ cmake .. -DUSE_OPTIMIZED_LAPACK_BLAS=OFF
$ make
...
make[2]: *** No rule to make target `lib/liblapack.a', needed by `TESTING/xCbtest'.  Stop.
make[1]: *** [BLACS/TESTING/CMakeFiles/xCbtest.dir/all] Error 2
make: *** [all] Error 2

Actually libblas.a and liblapack.a are crated on lib64 but not on lib:
Code: Select all
$ find -name libblas.a -or -name liblapack.a
./dependencies/src/lapack-build/lib/libblas.a
./dependencies/src/lapack-build/lib/liblapack.a
./lib64/libblas.a
./lib64/liblapack.a

I manually copy them into lib, then build suceeded (make install copies ./lib/libblas.a and ./lib/liblapack.a to the install prefix).

ScaLAPACK 2.0.0 and 2.0.1 have the same error due to the same cause.
This should be fixed.

cf. probably due to the same cause: https://bugs.gentoo.org/show_bug.cgi?id=511150
_kwsm_
 
Posts: 1
Joined: Sat Dec 17, 2016 6:32 am

Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 2 guests