Dear lammps-user:
I have some questions when I compile lammps.When I ‘make yes-USER-CUDA’,there are some warnings on the screen.
ipo: warning #11010: file format not recognized for /usr/local/cuda/lib/libcufft.so
ipo: warning #11010: file format not recognized for /usr/local/cuda/lib/libcudart.so
ipo: warning #11010: file format not recognized for /usr/local/cuda/lib/libcudart.so
ld: skipping incompatible /usr/local/cuda/lib/libcufft.so when searching for -lcufft
ld: skipping incompatible /usr/local/cuda/lib/libcudart.so when searching for -lcudart
ld: skipping incompatible /usr/local/cuda/lib/libcudart.so when searching for -lcudart
I have no idea whether the version of cuda is fit.I have tried the version 4.2 and 4.0 of cuda driver and toolkit.
If I install the USER-CUDA ,It will show me ‘USER_CUDA package requires a cuda enabled atom_style’ and stop when I run it.Is this because of the question before? I have no idea.
Dear lammps-user:
I have some questions when I compile lammps.When I 'make
yes-USER-CUDA',there are some warnings on the screen.
ipo: warning #11010: file format not recognized for
/usr/local/cuda/lib/libcufft.so
ipo: warning #11010: file format not recognized for
/usr/local/cuda/lib/libcudart.so
ipo: warning #11010: file format not recognized for
/usr/local/cuda/lib/libcudart.so
ld: skipping incompatible /usr/local/cuda/lib/libcufft.so when searching for
-lcufft
ld: skipping incompatible /usr/local/cuda/lib/libcudart.so when searching
for -lcudart
ld: skipping incompatible /usr/local/cuda/lib/libcudart.so when searching
for -lcudart
I have no idea whether the version of cuda is fit.I have tried the version
4.2 and 4.0 of cuda driver and toolkit.
you should have installed only one version at a time unless you
use environment modules and proper paths.
also, i highly discourage using -ipo optimization.
it does more harm than good on a code like LAMMPS.
finally, the warnings are normal when linking 32-bit
libraries on a 64-bit machine.
If I install the USER-CUDA ,It will show me 'USER_CUDA package requires a
cuda enabled atom_style' and stop when I run it.Is this because of the
question before? I have no idea.
no. those two are completely unrelated.
you should spend more time reading the LAMMPS documentation.
then the error message will make sense.