Trouble Compiling Magma on an AMD Cray
Posted: Thu Jun 01, 2017 2:39 pm
Hi All,
I looked for a similar problem previously posted but could not see one. I am trying to build Magma on a Cray XK-7 (CLE5.2,m CudaToolkit 7.0) using the Cray supplied ACML module. I can not get it to read the ACML library. I am in the PrgEnv-gnu environment and have gone as far as putting it explicitly in the compile line. Could Magma (gfortran/gcc) be expecting a 32-bit library? Thanks in advance for helping.
Ray
rsheppar@login2:/N/dc2/projects/ray/br2/magma/magma-2.2.0> make lib
CC -O3 -fPIC -L/opt/acml/5.3.1/gfortran64_mp/lib/libacml_mp.so -DNDEBUG -DADD_ -Wall -fopenmp -DMAGMA_WITH_ACML -s td=c++11 -DHAVE_CUBLAS -DMIN_CUDA_ARCH=200 -I/opt/nvidia/cudatoolkit7.0/7.0.28-1.0502.10742.5.1/include -I/opt/acm l/5.3.1/gfortran64_mp/include -I./include -I./control -c -o control/magma_f77.o control/magma_f77.cpp
control/sizeptr: error while loading shared libraries: libacml_mp.so: cannot open shared object file: No such file or directory
I looked for a similar problem previously posted but could not see one. I am trying to build Magma on a Cray XK-7 (CLE5.2,m CudaToolkit 7.0) using the Cray supplied ACML module. I can not get it to read the ACML library. I am in the PrgEnv-gnu environment and have gone as far as putting it explicitly in the compile line. Could Magma (gfortran/gcc) be expecting a 32-bit library? Thanks in advance for helping.
Ray
rsheppar@login2:/N/dc2/projects/ray/br2/magma/magma-2.2.0> make lib
CC -O3 -fPIC -L/opt/acml/5.3.1/gfortran64_mp/lib/libacml_mp.so -DNDEBUG -DADD_ -Wall -fopenmp -DMAGMA_WITH_ACML -s td=c++11 -DHAVE_CUBLAS -DMIN_CUDA_ARCH=200 -I/opt/nvidia/cudatoolkit7.0/7.0.28-1.0502.10742.5.1/include -I/opt/acm l/5.3.1/gfortran64_mp/include -I./include -I./control -c -o control/magma_f77.o control/magma_f77.cpp
control/sizeptr: error while loading shared libraries: libacml_mp.so: cannot open shared object file: No such file or directory