Hello everyone,
I am running LAMMPS simulations of bulk sodium chloride to compute the thermal conductivity. I have used the standard setup of [fixed region, thermostat1, device region, thermostat2, fixed region]. I am using the born/coul/long inter-ion potentials with a 15 A cutoff and a PPPM 1e-6 K-space solver to compute inter ion forces beyond that distance.
I ran 6 simulations, incrementing the size of the device region from 25, 30, 35 , … , 50 unit cells along the transport direction. All other parameters (other system dimensions, potentials, solvers, fixes, dumps, everything) remained the same between sims except the device region length. This corresponded to incrementing the number of atoms in each sim as 22100, 23300, 24500, … i.e. by small percentage changes. My problem is that the performance nontheless varies significantly amongst the sims, and checking the performance breakdown in the log file confirms it is only the k-space solver contributing to the change in performance across sims. My performance times were:
Device Region Length (u.c.) Performance (ns/day)
25 ____________________ 4.34
30 ____________________ 3.44
35 ____________________ 4.21
40 ____________________ 4.25
45 ____________________ 2.94
50 ____________________ 2.81
Each sim was run on an identical node (64 cores, same clock speeds, memory etc…) on an HPC cluster. Furthermore, sims with 45 u.c. and 25 u.c. were run on the exact same node suggesting this is not the source of the difference. The average times for Pair Potential evaluation, fixes, modification, communications, output, and neighbour list building all remained approximately constant across sims with only the K-space solver varying. The K-space solver generally takes 80% (I need accurate forces) of the computation time.
Apparently, as a new user, I may not attach the input script for the 25 u.c. sim as an example. If you would like to view the script I am happy to send it by another means, or copy it into the thread. Any suggested explanations for this phenomenon / solutions would be greatly appreciated. Thanks