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

WRF V4.0.2 SCM compilation error

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

yhwong

New member
Hello,

I am having trouble compiling WRF V4.0.2 for the SCM case (em_scm_xy). Compiling on V3.9.1.1 worked so I am wondering if this is a known issue for V4? Has anyone had experience compiling WRF SCM and can provide some insight?

I used option 13 (serial) for architecture and 1 for nesting. See attached configuration and compilation log file.

Thank you!
 

Attachments

  • compile_job.log
    190.3 KB · Views: 61
  • configure.wrf
    22.7 KB · Views: 61
It seems that the log file is not a complete one.
Please type ./clean -a, then rebuild em_scm_xy and save the log file for me to take a look. Thanks.
 
Hi,
It actually does look like your compile completed, but with errors. For any of the 2d or 1d idealized cases, you cannot compile with a nesting option. You must choose 0 (no nesting). So, first issue a 'clean -a', reconfigure with a serial/no-nesting option, and try to compile again. If it fails again, please attach your new configure.wrf and compile log.

Thanks,
Kelly
 
At the beginning of configure.wrf, it shows

# configure.wrf
#
# Original configure options used:
# ./configure
# Compiler choice: 13
# Nesting option: 0


I believe the nesting option is correctly set to 0.

What confused me is that in the compile.log file, there is no error message to indicate anything wrong with the compiling of module_first_rk_step_part1.F. However, later it is complained that module_first_rk_step_part1.o doesn't exist.
 
A key point is module_first_rk_step_part1.F took almost 18 min to compile. This happens to me, too, with the Intel 17 compiler. My resolution was to edit configure.wrf and reduce the optimization level from -O3 to -O1

FCOPTIM = -O1
 
Top