Hi Mark,
I know, but at that moment I wasn't working in the same room as the CPU and I wanted to be sure on what I had to try next. I tried the cmake command and got the same message. I used grep -R -I "CUDA_NVCC_FLAGS" and grep -R -I "CMAKE_CXX_FLAGS" to find what files I could try to add "-D_FORCE_INLINES".
For CUDA_NVCC_FLAG I found:
gmxManageNvccConfig.cmake (inside /gromacs-5.1.2/cmake/ folder), for which I added -D_FORCE_INLINES in 288: set(CUDA_NVCC_FLAGS "${GMX_CUDA_NVCC_FLAGS} -D_FORCE_INLINES" CACHE STRING "Compiler flags for nvcc." FORCE)
For CMAKE_CXX_FLAGS I found:
CMakefile.txt (inside /gromacs-5.1.2/ folder), for which I added -D_FORCE_INLINES in line 744 : set(CMAKE_CXX_FLAGS "${SIMD_CXX_FLAGS} ${MPI_COMPILE_FLAGS} ${EXTRA_CXX_FLAGS} ${CMAKE_CXX_FLAGS} -D_FORCE_INLINES")
and in line 752: message("CMAKE_CXX_FLAGS: ${SIMD_CXX_FLAGS} ${MPI_COMPILE_FLAGS} ${EXTRA_CXX_FLAGS} ${GMXC_CXX_FLAGS} -D_FORCE_INLINES")
I tried modifying each file individually and then running cmake and make, I tried modifying both and running cmake and make and I tried modifying both and running cmake with:
cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON -DGMX_GPU=on -DGPU_DEPLOYMENT_KIT_ROOT_DIR=/usr/local/cuda-7.5 -DCMAKE_C_FLAGS="-D_FORCE_INLINES" and then make.
None worked :/
None worked :/
Maybe I did something wrong?
Regards,
Diogo
-- 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.