2

I am trying to upgrade some legacy f77 codes to analyse molecular dynamics trajectories. I have had some success with modern fortran with OpenACC directives. My aim now is to read the LAMMPS trajectory files which are usually big, about a few GBs, using GPU. First, I would like to know if this makes sense? If yes, then, how to do it efficiently?

The trajectory file usually contains system configuration for multiple time steps. The data structure has multiple blocks of following structure: a time stamp, a few lines about number of particles and box dimensions and then position, velocity etc. for all particles at that time. This block structure repeats for successive time steps.

I would really appreciate an suggestions regarding this. Thank you!!

Gyrtle
  • 31
  • 5
  • 2
    Sorry but GPUs only support limited I/O operation such as unformatted print statements. They are aren't able to read files from disk. You'll need to read the files and then transfer the data to the GPU for processing. – Mat Colgrove Jan 10 '22 at 22:19
  • Hmmm... Thanks though!! Saves me from some wild goose hunting. – Gyrtle Jan 11 '22 at 05:48

0 Answers0