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

error compiling wrf module_surface driver

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.

fipoucat

Member
Hi there,


I am having long lasting issue compiling wrf using gfortran and gcc, all module are compiled except module_surface_driver. This is casing error generating exe files. Hope help from the list solve the problem shown below:

/Users/sarr/work/WRF03u/tools/standard.exe module_surface_driver.bb | cpp -P -nostdinc -xassembler-with-cpp -traditional-cpp > module_surface_driver.f90
rm -f module_surface_driver.G module_surface_driver.bb
time mpif90 -o module_surface_driver.o -c -O2 -ftree-vectorize -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I../dyn_em -I../dyn_nmm -I/Users/sarr/work/WRF03u/external/esmf_time_f90 -I/Users/sarr/work/WRF03u/main -I/Users/sarr/work/WRF03u/external/io_netcdf -I/Users/sarr/work/WRF03u/external/io_int -I/Users/sarr/work/WRF03u/frame -I/Users/sarr/work/WRF03u/share -I/Users/sarr/work/WRF03u/phys -I/Users/sarr/work/WRF03u/wrftladj -I/Users/sarr/work/WRF03u/chem -I/Users/sarr/work/WRF03u/inc -I/Users/sarr/work/Build_WRF/LIBS/netcdf/include module_surface_driver.f90
module_surface_driver.f90:2429:28:

,RS,XLAIDYN)
1
Error: Type mismatch in argument 'ua_phys' at (1); passed REAL(4) to LOGICAL(4)
module_surface_driver.f90:2527:27:

th_phy,rho,p_phy,ust, &
1
Error: Dummy argument 'p_phy' with INTENT(IN) in variable definition context (actual argument to INTENT = OUT/INOUT) at (1)
0.74 real 0.61 user 0.10 sys
make[3]: [../configure.wrf:348: module_surface_driver.o] Error 1 (ignored)
rm -f module_fr_fire_driver.o
sed -e "s/^\!.*'.*//" -e "s/^ *\!.*'.*/

kind regards
 
Top