NVIDIA / CoMD-CUDA

GPU implementation of classical molecular dynamics proxy application.
Other
29 stars 19 forks source link

Floating Point Exception #13

Closed Christian9212 closed 6 years ago

Christian9212 commented 6 years ago

Linux Mint 16/GTX1060/Cuda 9

After i compile the code with no problems, when i run the binary i get this:

Tue May 8 18:46:30 2018: Starting Initialization

Mini-Application Name : CoMD-cuda-mpi Mini-Application Version : 1.1 Platform: hostname: BDW-MS-RC-Workstation kernel name: 'Linux' kernel release: '4.4.0-112-generic' processor: 'x86_64' Build: CC: '/usr/bin/mpicc' compiler version: 'gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609' CFLAGS: '-std=c99 -Wno-unused-result -DMAXATOMS=64 -DCOMD_SINGLE -DDO_MPI -g -O5 -I/usr/include/mpich -L/usr/lib/x86_64-linux-gnu -lmpich -I/usr/local/cuda/include' LDFLAGS: '-I/usr/include/mpich -lm -lstdc++ -L/usr/local/cuda/lib64 -lcudart' using MPI: true Threading: none Double Precision: false Run Date/Time: 2018-05-08, 18:46:30

Command Line Parameters: doeam: 1 potDir: pots potName: Cu_u6.eam potType: funcfl nx: 49 ny: 49 nz: 49 xproc: 1 yproc: 1 zproc: 1 Lattice constant: -1 Angstroms nSteps: 100 printRate: 10 Time step: 1 fs Initial Temperature: 600 K Initial Delta: 0 Angstroms

GPU async opt: 0 GPU profiling mode: 0 GPU method: thread_atom Space-filling (Hilbert): 0

[1] 32705 floating point exception ./CoMD-cuda-mpi -e -x 49 -y 49 -z 49

Christian9212 commented 6 years ago

The issue is related to Nvidia driver not being installed correctly. A fresh install solves the issue!