gromacs-fda icon indicating copy to clipboard operation
gromacs-fda copied to clipboard

fda_get_stress seems to ignore input file option -i

Open SimonStitzinger opened this issue 2 years ago • 0 comments

I used gmx_fda mdrun to calculate pairwise forces between atoms (saved to out.pfa). Now I am trying to use fda_get_stress to calculate the punctual stress per atom from the pairwise forces.

When I run it with the following command: gmx_fda fda_get_stress -i out.pfa -o stress.psa, it seems like the function ignores the file given with option -i and falls back to the default. I get this error. Fatal error: Error opening file fda.pfa

When I put a file fda.pfa in my current directory, it runs as I would expect, with the output:

pfx filename = out.pfa
result filename = stress.psa
nbFrames = 1
nbParticles = 22
All done.

Curiously, it also works if I provide a second file with -diff.

I am running the (currently latest) release v2020.4-fda2.10.2.

SimonStitzinger avatar Mar 10 '22 16:03 SimonStitzinger