Hello,
Due to some troubles trying to use old wrfout* (WRF 3.6.1) with WRF/WPS 4.2.1 via ndown.exe (see this thread), I'm willing to run the whole process using WRF/WPS 3.6.1.
I successfully compiled WRF (or, at least, executables have been created, not 0 sized) :
However, it didn't go as smoothly with WPS : I can't get ungrib.exe (and also g2print.exe is missing). I checked other threads on that matter but couldn't find similar errors. In my compile log, all "Errors" are followed by " (ignored) " and I'm sorry to tell that I don't get much of what I'm reading above those lines ; and hence can't spot the origin of the problem.
Please see configure.wps and compile.log attached. The file configure.wps.backup.txt is a copy of the original configure.wps prepared by ./configure.
I also attached a .basrc extract to show the environment variables I'm using by default.
IMPORTANT NOTE : I used a copy of the configure.wps file that has been used to compile WPS 4.2.1 (which ran successfully).
Also I did all the tests from Compiling WRF STEP 1 and only the csh test fails, though I can't tell if it's part of the problem.
Thank you.
Here are the diff between configure.wps.backup.txt created from ./configure ; and the configure.wps I used
Due to some troubles trying to use old wrfout* (WRF 3.6.1) with WRF/WPS 4.2.1 via ndown.exe (see this thread), I'm willing to run the whole process using WRF/WPS 3.6.1.
I successfully compiled WRF (or, at least, executables have been created, not 0 sized) :
── [ 148 Mar 4 23:08] ./exe_uncoupled
│ ├── [ 37M Mar 4 23:07] ./exe_uncoupled/ndown.exe
│ ├── [ 36M Mar 4 23:07] ./exe_uncoupled/nup.exe
│ ├── [ 37M Mar 4 23:07] ./exe_uncoupled/real.exe
│ ├── [ 36M Mar 4 23:07] ./exe_uncoupled/tc.exe
│ └── [ 43M Mar 4 23:07] ./exe_uncoupled/wrf.exe
However, it didn't go as smoothly with WPS : I can't get ungrib.exe (and also g2print.exe is missing). I checked other threads on that matter but couldn't find similar errors. In my compile log, all "Errors" are followed by " (ignored) " and I'm sorry to tell that I don't get much of what I'm reading above those lines ; and hence can't spot the origin of the problem.
Please see configure.wps and compile.log attached. The file configure.wps.backup.txt is a copy of the original configure.wps prepared by ./configure.
I also attached a .basrc extract to show the environment variables I'm using by default.
IMPORTANT NOTE : I used a copy of the configure.wps file that has been used to compile WPS 4.2.1 (which ran successfully).
Also I did all the tests from Compiling WRF STEP 1 and only the csh test fails, though I can't tell if it's part of the problem.
:~/WPS/WPSV3/TESTS> gfortran TEST_1_fortran_only_fixed.f
:~/WPS/WPSV3/TESTS> ./a.out
SUCCESS test 1 fortran only fixed format
:~/WPS/WPSV3/TESTS> gfortran TEST_2_fortran_only_free.f90
:~/WPS/WPSV3/TESTS> ./a.out
Assume Fortran 2003: has FLUSH, ALLOCATABLE derived type, and ISO C Binding
SUCCESS test 2 fortran only free format
:~/WPS/WPSV3/TESTS> gcc TEST_3_c_only.c
:~/WPS/WPSV3/TESTS> ./a.out
SUCCESS test 3 C only
:~/WPS/WPSV3/TESTS> gcc -c -m64 TEST_4_fortran+c_c.c
:~/WPS/WPSV3/TESTS> gfortran -c -m64 TEST_4_fortran+c_f.f90
:~/WPS/WPSV3/TESTS> gfortran -m64 TEST_4_fortran+c_f.o TEST_4_fortran+c_c.o
:~/WPS/WPSV3/TESTS> ./a.out
C function called by Fortran
Values are xx = 2.00 and ii = 1
SUCCESS test 4 fortran calling c
:~/WPS/WPSV3/TESTS> ./TEST_csh.csh
:~/WPS/WPSV3/TESTS> ./TEST_perl.pl
SUCCESS perl test
:~/WPS/WPSV3/TESTS> ./TEST_sh.sh
SUCCESS sh test
:~/WPS/WPSV3/TESTS> ./a.out
SUCCESS test 1 fortran only fixed format
:~/WPS/WPSV3/TESTS> gfortran TEST_2_fortran_only_free.f90
:~/WPS/WPSV3/TESTS> ./a.out
Assume Fortran 2003: has FLUSH, ALLOCATABLE derived type, and ISO C Binding
SUCCESS test 2 fortran only free format
:~/WPS/WPSV3/TESTS> gcc TEST_3_c_only.c
:~/WPS/WPSV3/TESTS> ./a.out
SUCCESS test 3 C only
:~/WPS/WPSV3/TESTS> gcc -c -m64 TEST_4_fortran+c_c.c
:~/WPS/WPSV3/TESTS> gfortran -c -m64 TEST_4_fortran+c_f.f90
:~/WPS/WPSV3/TESTS> gfortran -m64 TEST_4_fortran+c_f.o TEST_4_fortran+c_c.o
:~/WPS/WPSV3/TESTS> ./a.out
C function called by Fortran
Values are xx = 2.00 and ii = 1
SUCCESS test 4 fortran calling c
:~/WPS/WPSV3/TESTS> ./TEST_csh.csh
:~/WPS/WPSV3/TESTS> ./TEST_perl.pl
SUCCESS perl test
:~/WPS/WPSV3/TESTS> ./TEST_sh.sh
SUCCESS sh test
Thank you.
Here are the diff between configure.wps.backup.txt created from ./configure ; and the configure.wps I used
diff configure.wps.backup configure.wps
19c19,20
< -L/usr/X11R6/lib -lX11
---
> -lX11 -lXext -lpng -lz -lcairo -lfontconfig -lpixman-1 \
> -lfreetype -lexpat -lpthread -lbz2 -lXrender -lgfortran -lgcc
34c35
< WRF_DIR = /home3/datahome/pmauger/WRF/WRFV3
---
> WRF_DIR = /home3/datahome/pmauger/WRF/WRFV3
41c42
< -I$(NETCDF)/include
---
> -I/home/datawork-wave/NETCDF2019/INTEL/include -I/home/datawork-wave/NETCDF2019/INTEL/include
47c48
< -L$(NETCDF)/lib -lnetcdf
---
> -L/home/datawork-wave/NETCDF2019/INTEL/lib -lnetcdff -L/home/datawork-wave/NETCDF2019/INTEL/lib -lnetcdf -lnetcdf -lm -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5 -ldl -lm -lz -ludunits2
73c74
< LDFLAGS = -L$(MPI_ROOT)/lib -lmpi
---
> LDFLAGS =
19c19,20
< -L/usr/X11R6/lib -lX11
---
> -lX11 -lXext -lpng -lz -lcairo -lfontconfig -lpixman-1 \
> -lfreetype -lexpat -lpthread -lbz2 -lXrender -lgfortran -lgcc
34c35
< WRF_DIR = /home3/datahome/pmauger/WRF/WRFV3
---
> WRF_DIR = /home3/datahome/pmauger/WRF/WRFV3
41c42
< -I$(NETCDF)/include
---
> -I/home/datawork-wave/NETCDF2019/INTEL/include -I/home/datawork-wave/NETCDF2019/INTEL/include
47c48
< -L$(NETCDF)/lib -lnetcdf
---
> -L/home/datawork-wave/NETCDF2019/INTEL/lib -lnetcdff -L/home/datawork-wave/NETCDF2019/INTEL/lib -lnetcdf -lnetcdf -lm -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5 -ldl -lm -lz -ludunits2
73c74
< LDFLAGS = -L$(MPI_ROOT)/lib -lmpi
---
> LDFLAGS =
Attachments
Last edited: