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
Abnormal termination: NetCDF OUTPUT
Abnormal termination: NetCDF OUTPUT
- Attachments
-
- ocean_mexico.log
- (15.93 KiB) Downloaded 220 times
Re: Abnormal termination: NetCDF OUTPUT
This is becoming a new FAQ...
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.
Code: Select all
NETCDF_OPEN - unable to open existing NetCDF file:
? 6
Re: Abnormal termination: NetCDF OUTPUT
kate, thanks! you are right. I delete a input file, but I forgot to modify the number of input files.