Page 1 of 1

ScaLAPACK build error due to wrong path

PostPosted: Sat Dec 17, 2016 10:27 am
by _kwsm_
Step to reproduce:
Code: Select all
$ wget
$ tar xf scalapack-2.0.2.tgz
$ cd scalapack-2.0.2
$ mkdir build
$ cd build
$ 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

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: