Fortran Control File (is there a standard?)

Hi all,

I would like to read in the parameters of for my Quantum Molecular Dynamics simulations from a file. I was wondering if there is a standard way of doing it in Fortran or a library? In other words, is there a standard way of organising the input file with labels?

Yes, namelists, introduced in Fortran 90.

1 Like

In addition you can use all manner of libraries for this. I have written one myself that uses the “ini-file” format and puts the data directly into the variables - flibs - a collection of Fortran modules / SVN / [r429] /trunk/src/strings/keyvars.f90. (Check the project for test/example programs)