Error when I try to run roms_upwelling

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
lhba87
Posts: 3
Joined: Sat May 27, 2023 3:19 pm
Location: UFPE

Error when I try to run roms_upwelling

#1 Unread post by lhba87 »

I am new in ROMS and made a installation on my personal machine.
When I try to run roms_upwelling.I get in response:

Code: Select all

Error termination. Backtrace:
ERROR STOP 

Error termination. Backtrace:
#0  0x56477d4d4ce6 in ???
#1  0x56477d4d48ce in ???
#2  0x7f6f48f4084f in ???
#3  0x7f6f48f40909 in ???
#4  0x56477d4d4924 in ???
#5  0xffffffffffffffff in ???
#0  0x561dde7b5ce6 in ???
#1  0x561dde7b58ce in ???
#2  0x7f28ffe2e84f in ???
#3  0x7f28ffe2e909 in ???
#4  0x561dde7b5924 in ???
#5  0xffffffffffffffff in ???
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[38976,1],0]
  Exit code:    1
And in my log file:

Code: Select all

--------------------------------------------------------------------------------
Model Input Parameters:  ROMS/TOMS version 4.2  
                          Saturday - July 8, 2023 -  2:42:13 PM
--------------------------------------------------------------------------------
YAML_TREE_READ_LINE - Unable to find colon token after key word
                      LINE: /.,mnbvc43
Found Error: 02   Line: 1442     Source: ROMS/Utility/yaml_parser.F, yaml_tree_r    ead_line
Found Error: 05   Line: 433      Source: ROMS/Utility/yaml_parser.F, yaml_tree_c    reate
YAML_TREE_CREATE - Error while reading YAML file: ROMS/External/varinfo.yaml
                   LINE: /.,mnbvc43
Found Error: 05   Line: 354      Source: ROMS/Utility/yaml_parser.F, yaml_initia    lize
Found Error: 05   Line: 892      Source: ROMS/Utility/get_metadata.F, io_metadat    a
IO_METADATA - Unable to create YAML object for ROMS I/O metadata file:
              ROMS/External/varinfo.yaml
             Default file is located in source directory.
Found Error: 05   Line: 1344     Source: ROMS/Modules/mod_ncparam.Finitialize_nc    param
Found Error: 05   Line: 3643     Source: ROMS/Utility/read_phypar.F
Found Error: 05   Line: 210      Source: ROMS/Utility/inp_par.F
Found Error: 05   Line: 125      Source: ROMS/Drivers/nl_roms.h, ROMS_initialize

Elapsed wall CPU time for each process (seconds):
What am I doing wrong?

User avatar
arango
Site Admin
Posts: 1368
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: Error when I try to run roms_upwelling

#2 Unread post by arango »

Yes, there is some garbage in varinfo.yaml. Search for mnbvc43 and remove that line. I will update that file code latter.

lhba87
Posts: 3
Joined: Sat May 27, 2023 3:19 pm
Location: UFPE

Re: Error when I try to run roms_upwelling

#3 Unread post by lhba87 »

I delete it. And I have new errors.

Code: Select all

 
ERROR STOP 

Error termination. Backtrace:
ERROR STOP 

Error termination. Backtrace:
#0  0x556bedc96ce6 in ???
#1  0x556bedc968ce in ???
#2  0x7f0f4e74084f in ???
#3  0x7f0f4e740909 in ???
#4  0x556bedc96924 in ???
#5  0xffffffffffffffff in ???
#0  0x55f547af9ce6 in ???
#1  0x55f547af98ce in ???
#2  0x7f62bfe5384f in ???
#3  0x7f62bfe53909 in ???
#4  0x55f547af9924 in ???
#5  0xffffffffffffffff in ???
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[36786,1],1]
  Exit code:    1
And in my log file:

Code: Select all

--------------------------------------------------------------------------------
Model Input Parameters:  ROMS/TOMS version 4.2  
                         Saturday - July 8, 2023 -  5:12:12 PM
-------------------------------------------------------------------------------
Found Error: 02   Line: 465      Source: ROMS/Utility/yaml_parser.F, yaml_tree_create

 YAML_TREE_CREATE - Inconsistent indentation, self%indent = 1,  nblanks = 2
Found Error: 02   Line: 354      Source: ROMS/Utility/yaml_parser.F, yaml_initialize
Found Error: 02   Line: 892      Source: ROMS/Utility/get_metadata.F, io_metadata

IO_METADATA - Unable to create YAML object for ROMS I/O metadata file:
              ROMS/External/varinfo.yaml
             Default file is located in source directory.
Found Error: 02   Line: 1344     Source: ROMS/Modules/mod_ncparam.Finitialize_ncparam
Found Error: 02   Line: 3643     Source: ROMS/Utility/read_phypar.F
Found Error: 02   Line: 210      Source: ROMS/Utility/inp_par.F
Found Error: 02   Line: 125      Source: ROMS/Drivers/nl_roms.h, ROMS_initialize

Elapsed wall CPU time for each process (seconds):
 
Found Error: 02   Line: 85       Source: ROMS/Utility/close_io.F, close_file_nf90
Found Error: 02   Line: 85       Source: ROMS/Utility/close_io.F, close_file_nf90
Found Error: 02   Line: 85       Source: ROMS/Utility/close_io.F, close_file_nf90
Found Error: 02   Line: 85       Source: ROMS/Utility/close_io.F, close_file_nf90
Found Error: 02   Line: 85       Source: ROMS/Utility/close_io.F, close_file_nf90
 
ROMS/TOMS - Output NetCDF summary for Grid 01:
Found Error: 02   Line: 413      Source: ROMS/Utility/close_io.F, close_out
 
ROMS/TOMS - Input error ............. exit_flag: 2
 
 
ERROR: Abnormal termination: NetCDF INPUT.
REASON: No error

User avatar
arango
Site Admin
Posts: 1368
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: Error when I try to run roms_upwelling

#4 Unread post by arango »

Weird. How was it able to find the location of varinfo.yaml when you got the error in the first posting above?

The error is telling you that it cannot find varinfo.yaml. Mostly all the time, you need to specify the full path for that file in roms.in:

Code: Select all

! Input variable information file name. This file needs to be processed
! first so all information arrays can be initialized properly.

     VARNAME = /Users/arango/ocean/repository/git/trunk/ROMS/External/varinfo.yaml
It would help if you spent some time getting more familiar with ROMS. There is plenty of information in WikiROMS.

lhba87
Posts: 3
Joined: Sat May 27, 2023 3:19 pm
Location: UFPE

Re: Error when I try to run roms_upwelling

#5 Unread post by lhba87 »

Yes, It's weird, because if my VARNAME was incorrect I couldn't see the first error. And I checked my VARNAME, after your suggestion, put the complete path and still get the same mistakes. I will read the WikiROMS and see if I made something wrong. Thanks for trying to help me.

Post Reply