ocean_rivers.nc unable to open

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
carol.ernani

ocean_rivers.nc unable to open

#1 Unread post by carol.ernani »

Hey,

I am running the river plume test case and I received this error message (I attached the complete log file):

I am using ifort, in parallel, netcdf 4.3.2
I am a beginner in ROMS, and probably this is a stupid question. I know that the issue is because somehow the ROMS cannot open/find the ocean_river.nc file. However, I don't know why.

Does anyone have some idea?
---------- message -------


NETCDF_OPEN - unable to open existing NetCDF file:
ocean_rivers.nc
call from: ROMS/Utility/check_multifile.F, check_file
Found Error: 03 Line: 569 Source: ROMS/Utility/check_multifile.F

CHECK_FILE - unable to open grid NetCDF file: ocean_rivers.nc
Found Error: 03 Line: 209 Source: ROMS/Utility/check_multifile.F
Found Error: 03 Line: 752 Source: ROMS/Nonlinear/initial.F
Found Error: 03 Line: 188 Source: ROMS/Drivers/nl_ocean.h

Elapsed CPU time (seconds):

Node # 0 CPU: 0.015
Total: 0.015

Nonlinear model elapsed CPU time profile, Grid: 01

Allocation and array initialization .............. 0.009 (59.9987 %)
2D/3D coupling, vertical metrics ................. 0.001 ( 6.6613 %)
Equation of state for seawater ................... 0.001 ( 6.6680 %)
Total: 0.011 73.3280

Unique code regions profiled ..................... 0.011 73.3280 %
Residual, non-profiled code ...................... 0.004 26.6720 %


All percentages are with respect to total time = 0.015


ROMS/TOMS - Output NetCDF summary for Grid 01:

Analytical header files used:

ROMS/Functionals/ana_grid.h
ROMS/Functionals/ana_initial.h
ROMS/Functionals/ana_mask.h
ROMS/Functionals/ana_psource.h
Found Error: 03 Line: 350 Source: ROMS/Utility/close_io.F

ROMS/TOMS - Output error ............ exit_flag: 3


ERROR: Abnormal termination: NetCDF OUTPUT.
REASON: No such file or directory
Attachments
river.log
[Log file with all error message]
(20.92 KiB) Downloaded 198 times

sonaljit.m
Posts: 43
Joined: Wed Nov 30, 2016 11:18 pm
Location: University of Massachusetts Dartmouth

Re: ocean_rivers.nc unable to open

#2 Unread post by sonaljit.m »

There should be an input file with a .in extension, which provides all the ROMS parameters for running the model, including the file paths for the river input file. The compilation command should be something like this:
./oceanG < ocean.in

Check your ocean.in file. The river runoff input is given as
SSFNAME == ocean_rivers.nc

Here you will need to provide the path to the ocean_river.nc file.

carol.ernani

Re: ocean_rivers.nc unable to open

#3 Unread post by carol.ernani »

It is working now!
Thanks, sonaljit!

Post Reply