Dear users,
I try to run ROMS for my test case. I have faced an error when applying my initial file. Firstly, I have changed define Ana_grid in my ocean.in to undef. Then I put my grid file. In this step, fortunately roms accept my file and the model run without any problem. However, when I use my initial file after turning off ANA grid in ocean.in, I have faced this error;
ROMS/TOMS - Output NetCDF summary for Grid 01:
Found Error: 05 Line: 357 Source: ROMS/Utility/close_io.F
ROMS/TOMS - Configuration error ..... exit_flag: 5
ERROR: Illegal model configuration.
ERROR STOP
Error termination. Backtrace:
#0 0x7fc19defddf1 in ???
#1 0x7fc19defe939 in ???
#2 0x7fc19df00047 in ???
#3 0x4053de in ocean
at /home/..../Documents/upweltest/Build_romsG/master.f90:101
#4 0x405435 in main
at /home/...../Documents/upweltest/Build_romsG/master.f90:50
please help me with your interesting comments
running error
Re: running error
To clarify, you changed to your grid file and it ran. Now you've changed so that ANA_INITIAL is no longer on and that's when it failed?
Did you do a clean build in debug mode? I would have expected more of a backtrace.
Did you do a clean build in debug mode? I would have expected more of a backtrace.
Re: running error
Dear KATE,
Thank you so much for your cooperation. Yes, I used my own grid file and Roms run without any problem. Then, I made my initial file and then I changed ANA_INI to undef in my upwelling.in as I tried to use my own ini_file which is named roms_ini.nc. After that, I compiled again and then run the model. When it comes to a clean build, I do not understand what you mean. However, I am going to clarify more. I use in single mode. Here is my roms_build.sh.
Thank you so much for your cooperation. Yes, I used my own grid file and Roms run without any problem. Then, I made my initial file and then I changed ANA_INI to undef in my upwelling.in as I tried to use my own ini_file which is named roms_ini.nc. After that, I compiled again and then run the model. When it comes to a clean build, I do not understand what you mean. However, I am going to clarify more. I use in single mode. Here is my roms_build.sh.
- Attachments
-
- build_roms.sh
- (10.9 KiB) Downloaded 233 times
Re: running error
I know the default with the build scripts is to always do clean builds - "make clean" before "make". It looks like you didn't change that.
Re: running error
Dear Kate,
To be honest, I am confused a little. Can you explain more. Should I use make clear in build_roms.sh? If yes,please address in this section of file. Excuse me.
#--------------------------------------------------------------------------
# Compile.
#--------------------------------------------------------------------------
# Remove build directory.
if [ $clean -eq 1 ]; then
make clean
fi
# Compile (the binary will go to BINDIR set above).
if [ $dprint -eq 1 ]; then
make $debug
else
if [ $parallel -eq 1 ]; then
make $NCPUS
else
make
fi
fi
To be honest, I am confused a little. Can you explain more. Should I use make clear in build_roms.sh? If yes,please address in this section of file. Excuse me.
#--------------------------------------------------------------------------
# Compile.
#--------------------------------------------------------------------------
# Remove build directory.
if [ $clean -eq 1 ]; then
make clean
fi
# Compile (the binary will go to BINDIR set above).
if [ $dprint -eq 1 ]; then
make $debug
else
if [ $parallel -eq 1 ]; then
make $NCPUS
else
make
fi
fi
Re: running error
You are fine, your builds are all clean.
As for how to figure out what's going on, you say you are running in serial mode? Can you use the gdb debugger? I would run roms in a debugger to see exactly what is going on, but I know most don't have access to totalview or ddt (costly debuggers that work in parallel too).
As for how to figure out what's going on, you say you are running in serial mode? Can you use the gdb debugger? I would run roms in a debugger to see exactly what is going on, but I know most don't have access to totalview or ddt (costly debuggers that work in parallel too).