WRF | Error - Size of put argument of random_seed intrinsic at (1) too small
Issue
While compiling WRFv3.8.1,
1 |
|
Solution
Ref: - WRFV3.9 compilation error on Ubuntu 18.04 LTS with gfortran-7.4 - WRFV3.8 problem building executables - WRFv381 with GNU8.x
This code has been corrected beginning with V4.0. I'm attaching the modified file so that you can see how we changed it. Unfortunately we didn't have a git repo when we released V3.8.1, but we can add the problems to our known problems page.
The file is > WRF/phys/module_cu_g3.F
on https://github.com/wrf-model/WRF/blob/v4.0/phys/module_cu_g3.F
1 |
|
But
Fatal Error: Can't open module file 'module_initialize_real.mod' for reading at (1): No such file or directory
Solution
Then it should end successfully when running the command a second time (do not understand why but it works...)
- $ ./compile -j 8 em_real 2>&1 | tee compile.log
- Fatal Error: Can't open module file 'module_initialize_real.mod' ...
- $ ./compile -j 8 em_real 2>&1 | tee compile.log
- Then, it works !!
ref: https://valcap74.blogspot.com/2017/10/how-to-compile-wrf-model-on-ecmwf-cray.html