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

some problems when compiling wrf(planetwrf)

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.

julian-lau

New member
Hello, everyone.
I'm new in WRF and I was trying to use the planetWRF which is based on WRF module. I use the planetWRF instead of WRF because I want to use it on Mars.
I configure and compile like this:
Code:
./configure mars
and
Code:
 ./compile em_global_mars >& log.compile

I checked the log file and here is the first error:

Code:
module_stoch.f90:216:28:

  216 |        call random_seed(put=iseed(1:18))
      |                            1
Error: Size of ‘put’ argument of ‘random_seed’ intrinsic at (1) too small (18/33)
make[2]: [../configure.wrf:319: module_stoch.o] Error 1 (ignored)

I guess the problem come from here but I don't know how to solve it.

Some of my information:
OS Information: Debian 5.4.19-1 (2020-02-13)
gcc: 9.3.0
gfortran: 9.3.0
netcdf : 4.6.0
openmpi: 2.1.0


attachment is my compile log and configure file. I hope someone can help me.
Thanks.
 

Attachments

  • log.compile.txt
    666.1 KB · Views: 41
  • configure.wrf.txt
    20.3 KB · Views: 49
In your log file, the error message is related to cpp, i.e.,
sh: /lib/cpp: not found
Typically, the "cpp" is available along with the compiler. Is there a reason why a standard utility would likely not be available?
 
Top