Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

ideal em_tropical_cyclone: ERROR: ghg_input available only for these radiation schemes: CAM, RRTM, RRTMG, RRTMG_fast

ashterenli

New member
This is WRFV4.5.1 on aws Graviton3, using:

Code:
Currently Loaded Modules:
  1) dmidecode/3.5    5) libevent/2.1.12   9) zlib/1.3
  2) numactl/2.0.16   6) pmix/5.0.1       10) hdf5/1.14.2
  3) binutils/2.41    7) hwloc/2.9.2      11) netcdf/c-4.9.2-fortran-4.6.1
  4) gcc/13.2.0       8) openmpi/4.1.6

I build for dmpar GCC aarch64 (11) with basic nesting (1):

Code:
./configure << ANSWERS
11
1
ANSWERS

The build is successful:

Code:
==========================================================================
build started:   Tue Oct 24 13:38:00 UTC 2023
build completed: Tue Oct 24 13:58:53 UTC 2023
 
--->                  Executables successfully built                  <---
 
-rwxrwxr-x 1 ec2-user ec2-user 37741320 Oct 24 13:58 main/ideal.exe
-rwxrwxr-x 1 ec2-user ec2-user 46330176 Oct 24 13:58 main/wrf.exe
 
==========================================================================

I than do

Code:
cd WRFV4.5.1/test/em_tropical_cyclone
srun -v --mpi=pmix -n 1 ./ideal.exe

which is also successful:

Code:
$ tail -n3 rsl.out.0000
 19   6.796E+02 -1.286E+01  1.141E-01  2.221E+02  0.000E+00
 20   7.026E+02 -4.104E+00  7.660E-02  2.831E+02  0.000E+00
wrf: SUCCESS COMPLETE IDEAL INIT

Finally I try to launch wrf.exe like this:

Code:
srun -v --mpi=pmix -n 16 -c 4 -m block:block --cpu_bind=cores,verbose ./wrf.exe

and get this error:

Code:
$ cat rsl.out.0000
taskid: 0 hostname: c7g-metal-maz-dy-c7gmetal-1
Quilting with   1 groups of   0 I/O tasks.
 Ntasks in X            4 , ntasks in Y            4
Domain # 1: dx = 15000.000 m
--- ERROR: ghg_input available only for these radiation schemes: CAM, RRTM, RRTMG, RRTMG_fast
           And the LW and SW schemes must be reasonably paired together:
           OK = CAM LW with CAM SW
           OK = RRTM, RRTMG LW or SW, RRTMG_fast LW or SW may be mixed
WRF V4.5.1 MODEL
git commit dc4f748920025065351b258ea62961f7cd84356e
 *************************************
 Parent domain
 ids,ide,jds,jde            1         201           1         201
 ims,ime,jms,jme           -4          57          -4          57
 ips,ipe,jps,jpe            1          50           1          50
 *************************************
DYNAMICS OPTION: Eulerian Mass Coordinate
 alloc_space_field: domain            1 ,              55082076  bytes allocated
med_initialdata_input: calling input_input
 Input data is acceptable to use: wrfinput_d01
 CURRENT DATE          = 2007-09-01_00:00:00
 SIMULATION START DATE = 2007-09-01_00:00:00
Timing for processing wrfinput file (stream 0) for domain        1:    0.29005 elapsed seconds
Max map factor in domain 1 =  1.00. Scale the dt in the model accordingly.
INPUT LandUse = "USGS"
 LANDUSE TYPE = "USGS" FOUND          61  CATEGORIES           2  SEASONS WATER CATEGORY =           16  SNOW CATEGORY =            0
Timing for Writing wrfout_d01_2007-09-01_00:00:00 for domain        1:    0.99651 elapsed seconds

I did not change any input files.

What am I doing wrong?

Thank you
 
Actually, looking back at running ideal.exe, I see this:

Code:
$ cat rsl.error.0000
taskid: 0 hostname: c7g-metal-maz-dy-c7gmetal-9
 module_io_quilt_old.F        2931 F
Quilting with   1 groups of   0 I/O tasks.
 Ntasks in X            1 , ntasks in Y            1
IDEAL V4.5.1 PREPROCESSOR
git commit dc4f748920025065351b258ea62961f7cd84356e
Domain # 1: dx = 15000.000 m
--- ERROR: ghg_input available only for these radiation schemes: CAM, RRTM, RRTMG, RRTMG_fast
           And the LW and SW schemes must be reasonably paired together:
           OK = CAM LW with CAM SW
           OK = RRTM, RRTMG LW or SW, RRTMG_fast LW or SW may be mixed
 *************************************
 Parent domain
 ids,ide,jds,jde            1         201           1         201
 ims,ime,jms,jme           -4         206          -4         206
 ips,ipe,jps,jpe            1         201           1         201
 *************************************
DYNAMICS OPTION: Eulerian Mass Coordinate
 alloc_space_field: domain            1 ,             563817600  bytes allocated
wrf: SUCCESS COMPLETE IDEAL INIT

So I'm confused by the ERROR and at the same time SUCESS.
 
Hi,
That is interesting. It looks like the code prints the error because I suppose you're trying to use GHG input, but you aren't using the appropriate physics options with it. However, it seems problematic that it prints an error, but doesn't stop the model. I am running this by a colleague to see if the code needs to be updated. In the meantime, if you are not planning to use the GHG input, you can set ghg_input = 0 in the &physics namelist record. If you are wanting to use it, you'll need to change to one of the recommended radiation combinations.

Code:
OK = CAM LW with CAM SW
OK = RRTM, RRTMG LW or SW, RRTMG_fast LW or SW may be mixed
 
yes, indeed, adding ghg_input=0 in the &physics record of namelist.input file helped.

Not sure why it was not there in the first place.

Now I get a segfault running wrf.exe with this input.
 
Okay, since the segfault is a new issue, please open a new thread and post it there. Please also include the necessary files to help us determine the issue (namelist.input and all rsl* files packaged into a single *.tar file). Thanks!
 
Top