I replaced
if (iargc /= 1) then
write(0,*) ' '
write(0,*) 'Usage: rd_wr_binary.exe <filename>'
write(0,*) ' '
! stop
end if
by
if (iargc() /= 1) then
write(0,*) ' '
write(0,*) 'Usage: rd_wr_binary.exe <filename>'
write(0,*) ' '
...
I don't know exactly why... To be honest I'm not the author of the program. I try to use it for SRTM data to WRF geogrid binary data conversion. I understand what the program does generally, but unfortunately not all the code lines.
I'll try to add rcgldr's code.
Hello everyone,
I'm trying since a few days to compile a f90 program with gfortran (on Ubuntu) with a makefile. The fortran program calls 2 routines written in C.
Here is my makefile:
FC = gfortran
SFC = gfortran
FFLAGS = -ffree-form...