Hello Sir,
I am using the LAMMPS as a library in Fortran. I need to run lammps part of the code for lot of iterations (say 20,000) and I am having a memory leakage issue (Copy my error at the last). Memory leakage issue is caused by the lammps part because i check my Fortran code also attached a simplified Fortran code with lammps part only.
The memory is keep on increasing for every iteration when lammps is running. For an estimate, on 8 GB RAM computer, it just reached 590 iterations. I run on supercomputer and it just reach at 3000 iterations.
Thank you
Adnan
check.f90 (4.5 KB)
ERROR:
"slurmstepd: error: Detected 1 oom-kill event(s) in StepId=7542083.0 cgroup. Some of your processes may have been killed by the cgroup out-of-memory handler.
I_MPI_JOB_TIMEOUT = -1 second(s): job ending due to startup timeout
slurmstepd: error: Detected 1 oom-kill event(s) in StepId=7542083.batch cgroup. Some of your processes may have been killed by the cgroup out-of-memory handler
"