warning: libcudart.so.4 needed
Posted: Thu May 07, 2015 3:11 pm
Hi,
I try to install yambo on our new server and receive an error message concerning a cuda-library:
/usr/bin/ld: warning: libcudart.so.4, needed by /usr/local/lib/libmpich.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libmpich.so: Nicht definierter Verweis auf `cudaGetDeviceCount'
/usr/local/lib/libmpich.so: Nicht definierter Verweis auf `cudaGetDeviceProperties'
collect2: error: ld returned 1 exit status
make[1]: *** [yambo] Fehler 1
make[1]: Verlasse Verzeichnis '/home/yambo-3.4.1-rev61/driver'
make: *** [yambo] Fehler 2
Nicht definierter Verweis heißt "not defined link"
This is strange since there is a proper link to the mentioned library:
pi1@QuanQal2:/home/yambo-3.4.1-rev61$ echo $PATH
/opt/FPLO/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/intel/composer_xe_2013_sp1.3.174/mkl/bin/intel64:/usr/local/bin/espresso-5.1/bin:/usr/local/cuda-5.5/bin:/opt/intel/mkl/include:/opt/intel/composer_xe_2013_sp1.3.174/mkl/include:/usr/local/bin/yambo-3.4.1/bin:/usr/local/bin/gamess:/opt/intel/composerxe/bin:/opt/intel/composerxe/mkl/bin/intel64:/opt/FPLO/bin:/opt/intel/bin:/opt/FPLO/bin:/usr/local/cuda-5.5/bin
and
pi1@QuanQal2:/home/yambo-3.4.1-rev61$ echo $LD_LIBRARY_PATH
/opt/intel/composer_xe_2013_sp1.3.174/mkl/lib/intel64:/usr/local:/usr/lib:/usr/lib32:/usr/lib64:/usr/local/cuda-5.5/targets/x86_64-linux/lib:/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64/:/usr/local/cuda-5.5/lib64:/usr/lib32/nvidia-331
pi1@QuanQal2:/home/yambo-3.4.1-rev61$ ls /usr/local/cuda-5.5/lib64
libcublas_device.a libcufftw.so libnppc.so
libcublas.so libcufftw.so.5.5 libnppc.so.5.5
libcublas.so.5.5 libcufftw.so.5.5.22 libnppc.so.5.5.22
libcublas.so.5.5.22 libcuinj64.so libnppi.so
libcudadevrt.a libcuinj64.so.5.5 libnppi.so.5.5
libcudart.so.4 libcuinj64.so.5.5.22 libnppi.so.5.5.22
libcudart.so.5.5 libcurand.so libnpps.so
libcudart.so.5.5.22 libcurand.so.5.5 libnpps.so.5.5
libcudart_static.a libcurand.so.5.5.22 libnpps.so.5.5.22
libcufft.so libcusparse.so libnvToolsExt.so
libcufft.so.5.5 libcusparse.so.5.5 libnvToolsExt.so.1
libcufft.so.5.5.22 libcusparse.so.5.5.22 libnvToolsExt.so.1.0.0
Do I have to link the library to yambo in the configuration step? Or is my Cuda version not suitable?
My configuration file is attached. In the config.log there are just a few parts of $PATH mentioned. Does that mean, that most parts of PATH are not recognized?
Thanks and Regards
Stephan
I try to install yambo on our new server and receive an error message concerning a cuda-library:
/usr/bin/ld: warning: libcudart.so.4, needed by /usr/local/lib/libmpich.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libmpich.so: Nicht definierter Verweis auf `cudaGetDeviceCount'
/usr/local/lib/libmpich.so: Nicht definierter Verweis auf `cudaGetDeviceProperties'
collect2: error: ld returned 1 exit status
make[1]: *** [yambo] Fehler 1
make[1]: Verlasse Verzeichnis '/home/yambo-3.4.1-rev61/driver'
make: *** [yambo] Fehler 2
Nicht definierter Verweis heißt "not defined link"
This is strange since there is a proper link to the mentioned library:
pi1@QuanQal2:/home/yambo-3.4.1-rev61$ echo $PATH
/opt/FPLO/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/intel/composer_xe_2013_sp1.3.174/mkl/bin/intel64:/usr/local/bin/espresso-5.1/bin:/usr/local/cuda-5.5/bin:/opt/intel/mkl/include:/opt/intel/composer_xe_2013_sp1.3.174/mkl/include:/usr/local/bin/yambo-3.4.1/bin:/usr/local/bin/gamess:/opt/intel/composerxe/bin:/opt/intel/composerxe/mkl/bin/intel64:/opt/FPLO/bin:/opt/intel/bin:/opt/FPLO/bin:/usr/local/cuda-5.5/bin
and
pi1@QuanQal2:/home/yambo-3.4.1-rev61$ echo $LD_LIBRARY_PATH
/opt/intel/composer_xe_2013_sp1.3.174/mkl/lib/intel64:/usr/local:/usr/lib:/usr/lib32:/usr/lib64:/usr/local/cuda-5.5/targets/x86_64-linux/lib:/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64/:/usr/local/cuda-5.5/lib64:/usr/lib32/nvidia-331
pi1@QuanQal2:/home/yambo-3.4.1-rev61$ ls /usr/local/cuda-5.5/lib64
libcublas_device.a libcufftw.so libnppc.so
libcublas.so libcufftw.so.5.5 libnppc.so.5.5
libcublas.so.5.5 libcufftw.so.5.5.22 libnppc.so.5.5.22
libcublas.so.5.5.22 libcuinj64.so libnppi.so
libcudadevrt.a libcuinj64.so.5.5 libnppi.so.5.5
libcudart.so.4 libcuinj64.so.5.5.22 libnppi.so.5.5.22
libcudart.so.5.5 libcurand.so libnpps.so
libcudart.so.5.5.22 libcurand.so.5.5 libnpps.so.5.5
libcudart_static.a libcurand.so.5.5.22 libnpps.so.5.5.22
libcufft.so libcusparse.so libnvToolsExt.so
libcufft.so.5.5 libcusparse.so.5.5 libnvToolsExt.so.1
libcufft.so.5.5.22 libcusparse.so.5.5.22 libnvToolsExt.so.1.0.0
Do I have to link the library to yambo in the configuration step? Or is my Cuda version not suitable?
My configuration file is attached. In the config.log there are just a few parts of $PATH mentioned. Does that mean, that most parts of PATH are not recognized?
Thanks and Regards
Stephan