Abnormal termination: NetCDF OUTPUT

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
Lee2015

Abnormal termination: NetCDF OUTPUT

#1 Unread post by Lee2015 »

When I run a case using "mpirun -np 8 oceanM ocean_mexico.in > ocean_mexico.log", I got the following error. Attached is the log file. Thanks!


NETCDF_OPEN - unable to open existing NetCDF file:
? 6
call from: inp_par.F, find_file

INITIAL: Configuring and initializing forward nonlinear model ...
*******

Elapsed CPU time (seconds):

Node # 7 CPU: 0.036
Node # 1 CPU: 0.036
Node # 2 CPU: 0.036
Node # 3 CPU: 0.036
Node # 4 CPU: 0.036
Node # 5 CPU: 0.032
Node # 6 CPU: 0.028
Node # 0 CPU: 0.036
Total: 0.276

Nonlinear model elapsed time profile, Grid: 01

Allocation and array initialization .............. 0.236 (85.5072 %)
Total: 0.236 85.5072

Nonlinear model message Passage profile, Grid: 01

Message Passage: data broadcast .................. 0.012 ( 4.3478 %)
Total: 0.012 4.3478

All percentages are with respect to total time = 0.276


ROMS/TOMS - Output NetCDF summary for Grid 01:

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


ERROR: Abnormal termination: NetCDF OUTPUT.
REASON: Invalid argument
Attachments
ocean_mexico.log
(15.93 KiB) Downloaded 219 times

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Abnormal termination: NetCDF OUTPUT

#2 Unread post by kate »

This is becoming a new FAQ...

Code: Select all

NETCDF_OPEN - unable to open existing NetCDF file:
? 6 
So, in the ocean.in file, did you delete some lines? Comment out some lines? Perhaps the name of the forcing file? Some other input filenames? For example, if ROMS wants to read a forcing file and doesn't know the name of it, it will have junk in the filename. With your options, it will want to read surface temperature flux and perhaps incoming solar radiation as well, therefore needing a forcing file or two. You can check globaldefs.h for the conditions that trigger the need for FRC_FILE.

Lee2015

Re: Abnormal termination: NetCDF OUTPUT

#3 Unread post by Lee2015 »

kate, thanks! you are right. I delete a input file, but I forgot to modify the number of input files.

Post Reply