Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

netcdf-to-intermediate.f compiling issue

ErickS

New member
Hello everyone,

I have a problem when compiling the netcdf-to-intermediate.f program. I am using the gfortran compiler, and I type the next line in order to compile the code:

gfortran -ffree-form netcdf-to-intermediate.f -L/home/erick/Documents/set_wrf/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf -lm -I/home/erick/Documents/set_wrf/Build_WRF/LIBRARIES/netcdf/include -o netCDF-to-intermediate

and I got the next error:

netcdf-to-intermediate.f:177:28:

145 | call ncvgt( cdfid,id_var,1,time_dim,time_d,rcode )
| 2
......
177 | call ncvgt( cdfid,id_var,is_sst,ie_sst,sst_int,rcode )
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)


Can anybody help me, please?

Thanks

Erick
 
Top