Hey Mark,
I tried to set the CMAKE_LIBRARY_PATH to an actual file, because it cannot be 
found by cmake if I left it out, but it is there.
Greetings Kim
 
> > Ursprüngliche Nachricht:
> > Von: Kim Jessica Novacek <kim.j.nova...@campus.lmu.de>
> > An: gromacs.org_gmx-users@maillist.sys.kth.se
> > Kopie: 
> > Datum: Mon Oct 12 15:31:58 CEST 2015
> > 
> > Although I did let out the Xeon Phi Command there is still the same make 
> > error.
> > Greetings 
> > Kim
> > 
> > 
> > /usr/bin/ld: cannot find -lcudart
> > /usr/bin/ld: cannot find -lmpi
> > collect2: error: ld returned 1 exit status
> > make[2]: *** [bin/gmx_mpi] Fehler 1
> > make[1]: *** [src/programs/CMakeFiles/gmx.dir/all] Fehler 2
> > make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
> > /usr/bin/ld: cannot find -lcudart
> > /usr/bin/ld: cannot find -lmpi
> > collect2: error: ld returned 1 exit status
> > make[2]: *** [bin/template] Fehler 1
> > make[1]: *** [share/template/CMakeFiles/template.dir/all] Fehler 2
> > make: *** [all] Fehler 2
> > 
> > 
> > cmake .. -DREGRESSIONTEST_DOWNLOAD=ON -DCMAKE_C_COMPILER=/usr/bin/gcc 
> > -DGMX_MPI=ON
> > -DGMX_GPU=ON -DCUDA_TOOLKIT_ROOT_DIR=/usr/lib/nvidia-cuda-toolkit 
> > -DCMAKE_INSTALL_PREFIX=/usr
> /l
> > ocal/GROMACS -DGMX_FFT_LIBRARY=fftw3 
> > -DFFTWF_LIBRARY=/usr/local/lib/libfftw3f.a
> -DCMAKE_BUILD_T
> > YPE=DEBUG -DCMAKE_CXX_COMPILER=/usr/bin/gcc -DGMX_PREFER_STATIC_LIBS=ON 
> > -DCMAKE_C_FLAGS="-sta
> ti
> > c" -DCMAKE_CXX_FLAGS="-static" -DCMAKE_SKIP_RPATH=YES 
> > -DCMAKE_PREFIX_PATH=/usr/lib/cuda
> > -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/libcudart.so 
> > -DCMAKE_PREFIX_PATH=/usr/include/
> li
> > bxml2/libxml
>
-- 
Gromacs Users mailing list

* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!

* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

* For (un)subscribe requests visit
https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a 
mail to gmx-users-requ...@gromacs.org.

Reply via email to