gsal, thanks for taking the time to try and help me.
I have actually solved my problem and it wasn't related to Fortran (at least not exactly). I read your last post and started running some tests. In the process, I noticed that at the bottom of the emacs window for the input file where the...
The whole code is quite long, here is the portion where the file is read(it coincides with the end of the subroutine):
nxbal=0
read(87,*) nxbal,stnnec,stnchc,vneuc,vchac
do i=1,nxbal
read(87,*) xlbal(i),(plbal(i,j),j=1,NNMAX)
end do
close(87)...
It's a simple open statement:
open(87,file='data/fort_HALPHA.22')
And yes I have tried adding a status='old' statement but I get the same error which is as follows:
open: illegal unit number
apparent state: unit 87 (unnamed)
last format: list io
lately reading sequential...
I have a Fortran (F77) code which I used to use at my previous institution that I am having trouble with at my new job. I used to compile it with ifort on computers running Fedora (14 if I recall correctly). At my new job they don't have ifort so I have had to revert to the use of g77 (f77) on...