Been awhile since I’ve used PGI Fortran compiler with Visual Studio so please excuse the dumb question.
Starting up an old (3 yr old) program. It compiles as 32bit release or debug. It initial tries to read some data (file called macro3d.inp) but can’t find the file. I’ve placed the file in the project’s “Source Files” and several other places but the code can’t find it when the execute the program.
Line in subrountine that reads it is
OPEN (41,FILE=‘macro3d.inp’,STATUS=‘OLD’)
??? Where should the file be located so the program can find it?
Thanks for any assistance.