Failed to link blas/lapackIf the automatic detection fails with cmake, set LAPACK environment. For example on a linux box,export LAPACK="-L/usr/lib64 -llapack -lblas"and cmake/make should solve the problem. The procedure to link blas/lapack is not the same as that is used with cmake distribution. It tries to locate the best BLAS/LAPACK implementation on each platform and that means using MKL on Intel and ACML on AMD processors. On IBM systems, use ESSL and mass(v) libraries. Since ESSL does not support important functions of LAPACK used in QMPACK, it is always necessary to build and link LAPACK as well as ESSL library. Setting LAPACK environment should work, e.g. export LAPACK="-L${LAPACK_LIBDIR} -lnameoflapack -lessl -lmass -lmassvNote that the name of LAPACK library and mass libraries (and where they are located) can vary on different systems. Consult the system documentation. If all these fail, check IBM Power running Linux as an example to make a toolchain file that works on your system. Failed to link HDF5This can happen when HDF5 library is compiled with compression libraries. cmake 2.8.x and higher can handle the extra libraries nicely but for those with older cmake, follow these steps.
|