-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove hard-coded tmp_file name #7
Comments
Tried to use the program Test
implicit none
integer :: istat,iunit
character(len=256) :: fname
open(newunit=iunit,status='SCRATCH',iostat=istat)
inquire(unit=iunit,name=fname,iostat=istat)
write(*,*) 'name = '//trim(fname)
end program Test When compiled with gfortran, |
"Modern fortran explained" (Metcalf et al., 2011) lists descriptions of the dummy variables of the
It migh tbe worth adding the |
And this is the explanation of the
I suppose this all makes sense: a scratch file does not have to be accessible though a filename by the OS. |
Need to remove this fixed
tmp_file
name from the code. It should generate an unused file name as needed.The text was updated successfully, but these errors were encountered: