Error while running the model by: ./romsG < roms_upwelling.in

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
Sobhan_yousefi1994
Posts: 4
Joined: Tue Jul 25, 2023 8:36 pm
Location: Imam Hussein University

Error while running the model by: ./romsG < roms_upwelling.in

#1 Unread post by Sobhan_yousefi1994 »

I received the error bellow when I was running the model by: ./romsG < roms_upwelling.in

Model Input Parameters: ROMS/TOMS version 4.2
Thursday - September 7, 2023 - 9:34:55 AM
--------------------------------------------------------------------------------
Found Error: 05 Line: 410 Source: ROMS/Utility/yaml_parser.F, yaml_tree_create

YAML_TREE_CREATE - Unable to open input YAML file: /home/roms_project/sobhan/varinfo.yaml
ERROR: Cannot open file '/home/roms_project/sobhan/varinfo.yaml': No such file or directory
Found Error: 05 Line: 354 Source: ROMS/Utility/yaml_parser.F, yaml_initialize
Found Error: 05 Line: 892 Source: ROMS/Utility/get_metadata.F, io_metadata

IO_METADATA - Unable to create YAML object for ROMS I/O metadata file:
/home/roms_project/sobhan/varinfo.yaml
Default file is located in source directory.
Found Error: 05 Line: 1419 Source: ROMS/Modules/mod_ncparam.Finitialize_ncparam
Found Error: 05 Line: 4222 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):

ERROR STOP

Error termination. Backtrace:
#0 0x7fe2e1b30960 in ???
#1 0x7fe2e1b314d9 in ???
#2 0x7fe2e1b32b47 in ???
#3 0x556961813b0b in myroms
at /home/ubuntu/roms_project/sobhan/Build_romsG/master.f90:104
#4 0x556961813b5a in main
at /home/ubuntu/roms_project/sobhan/Build_romsG/master.f90:50


What is the problem?

User avatar
wilkin
Posts: 884
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: Error while running the model by: ./romsG < roms_upwelling.in

#2 Unread post by wilkin »

This error message ...
ERROR: Cannot open file '/home/roms_project/sobhan/varinfo.yaml': No such file or directory
indicates that file varinfo.yaml is not present in that location, or its permissions make it unreadable.

Most users keep a copy of varinfo.yaml in the directory where they run ROMS (same place as your romsG and roms_upwelling.in) , and then in roms.in point to that file with a relative path:

Code: Select all

     VARNAME = varinfo.yaml
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Sobhan_yousefi1994
Posts: 4
Joined: Tue Jul 25, 2023 8:36 pm
Location: Imam Hussein University

Re: Error while running the model by: ./romsG < roms_upwelling.in

#3 Unread post by Sobhan_yousefi1994 »

Thank you a lot. It was correct and exact solution for this problem and worked.

Post Reply