Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Regarding gromacs 4.6.5 build failure (mpi compilers)

$
0
0

Hi,
I am trying to build gromacs 4.6.5 on centos 6.5 (i managed to build gromacs5.x.x with intel) and i am facing compilation issue.
The gromacs team hovewer recommends gnu/openmpi compilers instead of intel!! :
 

-- Generating dependency file: /home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/build/src/gmxlib/gpu_utils/CMakeFiles/gpu_utils.dir//gpu_utils_generated_memtestG80_core.cu.o.NVCC-depend
/home/soft/cuda-6.0/bin/nvcc -M -D__CUDACC__ /home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/src/gmxlib/gpu_utils/memtestG80_core.cu -o /home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/build/src/gmxlib/gpu_utils/CMakeFiles/gpu_utils.dir//gpu_utils_generated_memtestG80_core.cu.o.NVCC-depend -ccbin /home/soft/intel2015/impi/5.0.3.048/intel64/bin/mpiicc -m64 -DHAVE_CONFIG_H -DHAVE_RDTSCP -Xcompiler ,\"-mavx\",\"-Wall\",\"-fPIC\",\"-openmp\",\"-ip\",\"-funroll-all-loops\",\"-O3\",\"-DNDEBUG\" -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_35,code=compute_35 -use_fast_math -DLINUX -DNVCC -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/src/gmxlib/gpu_utils -I/home/soft/cuda-6.0/include -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/build/src -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/build/include -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/include -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/src/gmxlib -I/home/soft/cuda-6.0/include
icc: command line warning #10006: ignoring unknown option '-dumpspecs'
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
CMake Error at gpu_utils_generated_memtestG80_core.cu.o.cmake:206 (message):
  Error generating
  /home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/build/src/gmxlib/gpu_utils/CMakeFiles/gpu_utils.dir//./gpu_utils_generated_memtestG80_core.cu.o


make[2]: *** [src/gmxlib/gpu_utils/CMakeFiles/gpu_utils.dir/./gpu_utils_generated_memtestG80_core.cu.o] Error 1
make[2]: Leaving directory `/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/build'
make[1]: *** [src/gmxlib/gpu_utils/CMakeFiles/gpu_utils.dir/all] Error 2
make[1]: Leaving directory `/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/build'
make: *** [all] Error 2

when i manually executed :

/home/soft/cuda-6.0/bin/nvcc -M -D__CUDACC__ /home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/src/gmxlib/gpu_utils/memtestG80_core.cu -o /home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/build/src/gmxlib/gpu_utils/CMakeFiles/gpu_utils.dir//gpu_utils_generated_memtestG80_core.cu.o.NVCC-depend  -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_35,code=compute_35 -use_fast_math -DLINUX -DNVCC -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/src/gmxlib/gpu_utils -I/home/soft/cuda-6.0/include -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/build/src -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/build/include -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/include -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/src/gmxlib -I/home/soft/cuda-6.0/include

It worked,
also: replacing mpiicc with gcc worked!!

/home/soft/cuda-6.0/bin/nvcc -M -D__CUDACC__ /home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/src/gmxlib/gpu_utils/memtestG80_core.cu -o /home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/build/src/gmxlib/gpu_utils/CMakeFiles/gpu_utils.dir//gpu_utils_generated_memtestG80_core.cu.o.NVCC-depend -ccbin /usr/bin/gcc -m64 -DHAVE_CONFIG_H -DHAVE_RDTSCP -Xcompiler ,\"-mavx\",\"-Wall\",\"-fPIC\",\"-fopenmp\",\"-funroll-all-loops\",\"-O3\",\"-DNDEBUG\" -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_35,code=compute_35 -use_fast_math -DLINUX -DNVCC -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/src/gmxlib/gpu_utils -I/home/soft/cuda-6.0/include -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/build/src -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/build/include -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/include -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/src/gmxlib -I/home/soft/cuda-6.0/include

seems some issue with mpiicc , is there something i am missing (config flags?), if i replace mpiicc with icc  i get:
 

In file included from /home/soft/cuda-6.0/include/cuda_runtime.h(59),
                 from /home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/src/gmxlib/gpu_utils/memtestG80_core.cu(0):
/home/soft/cuda-6.0/include/host_config.h(72): error: #error directive: -- unsupported ICC configuration! Only ICC 13.1 on Linux x86_64 is supported!
  #error -- unsupported ICC configuration! Only ICC 13.1 on Linux x86_64 is supported!
   ^

so i reconfigured gromacs using intel 2013 compilers (icc version 13.0.1 (gcc version 4.4.7 compatibility)
even then i get the same error :

vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/include -I/home/cc/vfaculty/puneets.vfaculty/GromacsPlumed/gromacs-4.6.5/src/gmxlib -I/home/soft/cuda-6.0/include
icc: command line warning #10006: ignoring unknown option '-dumpspecs'
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
CMake Error at cuda_tools_generated_cudautils.cu.o.cmake:206 (message):

Any help/hint/suggestion will be very useful.
config logs are attached!
 


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>