I am trying to output a horizontal subdomain rather than the entire global output.
I have modified domain_def.xml
and grid_def.xml
:
<domain id="so_zoomT domain_ref="grid_T">
<zoom_domain ibegin="1" jbegin="210" ni="1442" nj="350" />
</domain>
<grid id="grid_so_zoomT" >
<domain domain_ref="so_zoomT" />
</grid>
Then the file_def
looks like
<file id="file1" name_suffix="_grid_T" >
<field field_ref="uoce" name="uo" domain_ref="so_zoomT" />
</file>
The model compiles and runs but then crashes, I assume when trying to write to netcdf.
The error I get is
ATP Stack walkback for Rank 348 starting:
_start@start.S:113
__libc_start_main@libc-start.c:242
main@xios_server.f90:7
xios::CXios::initServerSide()@cxios.cpp:157
xios::CXios::initServer()@cxios.cpp:150
xios::xml::CXMLParser::ParseFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)@xml_parser.cpp:22
xios::xml::CXMLParser::ParseStream(std::istream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)@xml_parser.cpp:48
xios::xml::CXMLNode::getElementName[abi:cxx11]() const@xml_node.cpp:22
rapidxml::xml_base<char>::name() const@rapidxml.hpp:675
ATP Stack walkback for Rank 348 done
Process died with signal 11: 'Segmentation fault'
Forcing core dumps of ranks 348, 108, 344, 0
View application merged backtrace tree with: stat-view atpMergedBT.dot
You may need to: module load stat
_pmiu_daemon(SIGCHLD): [NID 00472] [c2-0c1s6n0] [Thu May 1 08:31:01 2025] PE RANK 345 exit signal Killed
_pmiu_daemon(SIGCHLD): [NID 00499] [c2-0c1s12n3] [Thu May 1 08:31:01 2025] PE RANK 349 exit signal Killed
_pmiu_daemon(SIGCHLD): [NID 00452] [c2-0c1s1n0] [Thu May 1 08:31:01 2025] PE RANK 72 exit signal Killed
_pmiu_daemon(SIGCHLD): [NID 00454] [c2-0c1s1n2] [Thu May 1 08:31:01 2025] PE RANK 144 exit signal Killed
_pmiu_daemon(SIGCHLD): [NID 00456] [c2-0c1s2n0] [Thu May 1 08:31:01 2025] PE RANK 216 exit signal Killed
_pmiu_daemon(SIGCHLD): [NID 00465] [c2-0c1s4n1] [Thu May 1 08:31:01 2025] PE RANK 288 exit signal Killed
_pmiu_daemon(SIGCHLD): [NID 00457] [c2-0c1s2n1] [Thu May 1 08:31:01 2025] PE RANK 252 exit signal Killed
_pmiu_daemon(SIGCHLD): [NID 00455] [c2-0c1s1n3] [Thu May 1 08:31:01 2025] PE RANK 180 exit signal Killed
_pmiu_daemon(SIGCHLD): [NID 00453] [c2-0c1s1n1] [Thu May 1 08:31:01 2025] PE RANK 109 exit signal Killed
_pmiu_daemon(SIGCHLD): [NID 00450] [c2-0c1s0n2] [Thu May 1 08:31:01 2025] PE RANK 1 exit signal Killed
[NID 00453] 2025-05-01 08:31:01 Apid 229037526: initiated application termination
_pmiu_daemon(SIGCHLD): [NID 00468] [c2-0c1s5n0] [Thu May 1 08:31:01 2025] PE RANK 324 exit signal Killed
_pmiu_daemon(SIGCHLD): [NID 00451] [c2-0c1s0n3] [Thu May 1 08:31:01 2025] PE RANK 36 exit signal Killed
[FAIL] run_model # return-code=137
2025-05-01T08:31:03Z CRITICAL - failed/EXIT
The model is the GOSI9 configuration developed by the Met Office.
I could output the whole domain but I am outputting at daily frequency so would rather not.
Any thoughts on this?
Cheers in advance