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

Compiling Error WRFV4.5

DiegoS

New member
Dear WRF community,

I am trying to compile WRFV4.5, but I'm getting an unexpected error when compiling Thompson microphysics and I do not know how to solve it (see below). I am using the same configure options I was using to compile WRFV4.2, which I successfully compiled it. Attached you will find the configure.wrf and log.compile files to have more information.

Thanks in advance,

Best Regards,
Diego

Code:
rm -f ../phys/module_mp_thompson.o
sed -e "s/^\!.*'.*//" -e "s/^ *\!.*'.*//" ../phys/module_mp_thompson.F > ../phys/module_mp_thompson.G
/lib/cpp -P -nostdinc -I/home/dcc364/WRFV4.5/inc -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DDA_CORE=0 -DWRFPLUS=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC  -DWRF_USE_CLM -DUSE_NETCDF4_FEATURES -DWRFIO_NCD_LARGE_FILE_SUPPORT  -DDM_PARALLEL -DNETCDF -DLANDREAD_STUB=1 -DUSE_ALLOCATABLES -Dwrfmodel -DGRIB1 -DINTIO -DKEEP_INT_AROUND -DLIMIT_ARGS -DBUILD_RRTMG_FAST=0 -DBUILD_RRTMK=0 -DBUILD_SBM_FAST=1 -DSHOW_ALL_VARS_USED=0 -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0  -I. -traditional-cpp -DUSE_NETCDF4_FEATURES -DWRFIO_NCD_LARGE_FILE_SUPPORT   ../phys/module_mp_thompson.G  > ../phys/module_mp_thompson.bb
/home/dcc364/WRFV4.5/tools/standard.exe ../phys/module_mp_thompson.bb | /lib/cpp -P -nostdinc -traditional-cpp -DUSE_NETCDF4_FEATURES -DWRFIO_NCD_LARGE_FILE_SUPPORT > ../phys/module_mp_thompson.f90
rm -f ../phys/module_mp_thompson.G ../phys/module_mp_thompson.bb
time mpif90 -f90=ifort -o ../phys/module_mp_thompson.o -c -O3 -ip -fp-model precise -w -ftz -align all -fno-alias -FR -convert big_endian    -I../dyn_em  -I/home/dcc364/WRFV4.5/external/esmf_time_f90  -I/home/dcc364/WRFV4.5/main -I/home/dcc364/WRFV4.5/external/io_netcdf -I/home/dcc364/WRFV4.5/external/io_int -I/home/dcc364/WRFV4.5/frame -I/home/dcc364/WRFV4.5/share -I/home/dcc364/WRFV4.5/phys -I/home/dcc364/WRFV4.5/wrftladj -I/home/dcc364/WRFV4.5/chem -I/home/dcc364/WRFV4.5/inc -I/opt/netcdf-4.3.0/include  -real-size `expr 8 \* 4` -i4  ../phys/module_mp_thompson.f90
../phys/module_mp_thompson.f90(6007): error #6377: FUNCTION must be present on the end-function-stmt of an internal or module function
      end
^
../phys/module_mp_thompson.f90(6030): error #6377: FUNCTION must be present on the end-function-stmt of an internal or module function
      end
^
../phys/module_mp_thompson.f90(6052): error #6377: FUNCTION must be present on the end-function-stmt of an internal or module function
      end
^
../phys/module_mp_thompson.f90(6090): error #6377: FUNCTION must be present on the end-function-stmt of an internal or module function
      end
^
../phys/module_mp_thompson.f90(6132): error #6377: FUNCTION must be present on the end-function-stmt of an internal or module function
      end
^
compilation aborted for ../phys/module_mp_thompson.f90 (code 1)

real    0m0.320s
user    0m0.110s
sys     0m0.110s
make[3]: [../phys/module_mp_thompson.o] Error 1 (ignored)
 

Attachments

  • wrf_compilation.zip
    54.6 KB · Views: 3
Hello DiegoS,

Please post this in the WRF discussion (not WRFDA discussion), you will likely get a much quicker response there as others have likely run into this issue in that chat.

Thanks,
JeremyB
 
Top