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 COMPILE with this web(https://forum.mmm.ucar.edu/threads/full-wrf-and-wps-installation-example-gnu.12385/) faced a fatal wrong

huangsy

New member
dear friends,
I used ubuntu22.04 gcc=11.4.0 to compile WRF4.2 and WPS4.2, all of the steps are consist in the web of Full WRF and WPS Installation Example (GNU). and the only one different are the netcdf-c is the version of 4.7.4 and netCDF-Fortran is the version of 4.5.2, all of this compiled successful, and I also compiled hdf5 with 1.10.5. However when I compile WRF with em_real, it faced a fatal wrong like
Fatal Error: Cannot open module file ‘nanmod.mod’ for reading at (1): No such file or directory
compilation terminated.
Fatal Error: Cannot open module file ‘module_ra_cam_support.mod’ for reading at (1): No such file or directory
Fatal Error: Cannot open module file ‘module_ra_cam.mod’ for reading at (1): No such file or directory
compilation terminated.
and so on ……

so many *.mod cannot be compiled, and
| 1
Error: BOZ literal constant at (1) is neither a data-stmt-constant nor an actual argument to INT, REAL, DBLE, or CMPLX intrinsic function [see ‘-fno-allow-invalid-boz’]
Command exited with non-zero status 1

Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-3)
field_routines.f:158:52:

Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-3)
make[2]: [makefile:66: field_routines.o] Error 1 (ignored)

I don't know what is the problem of it. maybe gcc version? netcdf library? I WANT TO know have anybody have been seen before? could you give me some advices? Thank you so much.
here attches my compile.log.
 

Attachments

  • compile.log.txt
    771.5 KB · Views: 1
Top