Opened 5 years ago
Closed 5 years ago
#1828 closed help (answered)
Debugging options on ARCHER compiler
Reported by: | ee10hp | Owned by: | ros |
---|---|---|---|
Component: | UM Model | Keywords: | |
Cc: | Platform: | ARCHER | |
UM Version: | 7.3 |
Description
Hi,
Thanks for your help.
I'm running a v7.3 um-ukca job on ARCHER with meteorological nudging. For now I have a short 2-day job (xmnig) set up for debugging.
I have encountered a clean model failure in UKCA_INTERP, which is related to the UM pressures becoming NaNs?. My supervisor and I have traced this back to a particular dynamical timestep in which the abs_norm values become NaN and then the meteorological nudging increments become NaN.
I would like to turn on some of the debugging options in ARCHER as I hope this will give me some more information. I have been advised that the relevant options on Monsoon CRAY would be called by adding:
bld::tool::fflags::UM::atmosphere::UKCA:: -O0 -Ovector0 -hfp0 -hflex_mp=intolerant -e CID bld::tool::fflags::UM::atmosphere::dynamics_solver:: -O0 -Ovector0 -hfp0 -hflex_mp=intolerant -e CID
to a txt file and switching on in umui > Compilation and Mod > UM user override Files > user file overrides.
However, my job xmnig with this turned on is failing to compile (it compiles fine without). I suspect I have some of the syntax wrong for compilation on ARCHER.
Please can you advise on how to set up this debugging on ARCHER?
My text file with debug statements is: /home/ee10hp/overrides/archer_cce_debug_7.3_user
The job id is xmnig and the error in the comp.leave file is:
Use swapable_field_mod, Only: & ^ ftn-1494 crayftn: CAUTION PE_HELMHOLTZ_EUL, File = ../../../../../../../../home2/n02/n02/ee10hp/um/xmnig/ummodel/ppsrc/UM/atmosphere/dynamics_solver/pe_helmholtz_eul-pehelmeu2a.f90, Line = 94, Column = 11 Module or submodule "SWAPABLE_FIELD_MOD" and this compilation should both be compiled with the "-s integer64" option. fields_to_swap(i_field) % field => HM_Czz(:,:,:)
/home/n02/n02/ee10hp/output/xmnig000.xmnig.d16070.t133304.comp.leave
Many thanks for your help,
Hana
Change History (2)
comment:1 Changed 5 years ago by ros
- Owner changed from um_support to ros
- Status changed from new to accepted
comment:2 Changed 5 years ago by ros
- Resolution set to answered
- Status changed from accepted to closed
I'm now closing this ticket due to inactivity. Please re-open if you require further help with this.
Regards,
Ros.
Hi Hana,
You also need the base compile options in order to set integer and real sizes, pick up GCOM etc. -hflex_mp=intolerant is already set by default.
Try the following and see if that gives you the compile options you are after:
Regards,
Ros.