Dear LAMMPS developers and users,
Greetings. I am using the GPU package and encountering some problems.
I am using one HP blade with two GPU cards installed.
HP SL390 G7
CPU: Intel® Xeon® CPU X5675 @ 3.07GHz
Two CPU’s, each has 6 cores
cache size: 12,288 KB
Memory: 48 GB
Nvidia Tesla M2090
GPU: 512 cores
Total global memory: 6GB
I did several tests. Initially I use single-double precision on GPU, with a test case of simple LJ fluid test (no Coulomb force). I got about 13 speedup.
But then I switch to double-double on GPU, then the speedup was down to 6.
Then I tried to restart my SPC/E water case (originally run without GPU). I am not sure of the root cause, but LAMMPS only accepts GPU+CPU both to be in double precision. Then I got speedup as 2.
So, my questions are:
-
Is it ok to use single precision in classical MD, since I can gain much more speedup with GPU?
-
Would it be helpful to compile the main LAMMPS in single precision, in order to speed up the calculation? If yes, which parameter to be chosen?
Thank you for the help!
LC Liu