I was trying to use the OPEN card to open a phase space file from the parent folder.
I am trying to use a #define card to define a phase space file to be opened with a relative path such as
#define PSfile …/phasespace.PS.
Then I try passing the file name with the relative path to the OPEN card with $PSfile.
From what I understand, the Fortran OPEN statement can handle relative paths but I keep getting errors like the following.
*** No match in sub expression evaluation, execution terminated ***
…
Abort called from EXPREV reason NO MATCH FOR CODEWORD Run stopped!
STOP NO MATCH FOR CODEWORD
It doesn’t seem to be recognizing the relative path indicator.