Okay,Thank you very much for your answer.
I previously attempted to install version 4.4 or higher of WRF, but was prompted to upgrade the gcc version (the Linux system is version 4.8.5). When I installed gcc 11.2.0 in my own directory, I encountered the following issue.
When compiling mpich-4.0.2, this error always occurs. configure: error: Unable to configure with Fortran support because configure could not determine the size of a Fortran INTEGER. Consider setting CROSS_F77_SIZEOF_INTEGER to the length in bytes of a Fortran INTEGER
May I ask if you have ever encountered the above errors? Also, what compiler and version did you use when upgrading to 4.5.2?
Hello
I did not compile the software, the IT people from an HPC did it for me
Below some pieces of the configuration file:
NETCDF4_IO_OPTS = -DUSE_NETCDF4_FEATURES -DWRFIO_NCD_LARGE_FILE_SUPPORT
GPFS =
CURL = -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/cURL/7.64.0/lib -lcurl
HDF5 = -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/HDF5/1.10.4/lib -lhdf5_hl -lhdf5
ZLIB = -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/zlib/1.2.11/lib -lz
DEP_LIB_PATH = -L/home/lmod/software/netCDF/4.7.3-intel-2019b-hdf1.10.4/lib64 -lnetcdf -L/home/lmod/software/netCDF-Fortran/4.5.2-intel-2019b-hdf1.10.4/lib -lnetcdff -lpthread -liomp5
NETCDF4_DEP_LIB = $(DEP_LIB_PATH) $(HDF5) $(ZLIB) $(GPFS) $(CURL)
LIBWRFLIB = libwrflib.a
LIB_BUNDLED = \
$(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5/libfftpack.a \
$(WRF_SRC_ROOT_DIR)/external/io_grib1/libio_grib1.a \
$(WRF_SRC_ROOT_DIR)/external/io_grib_share/libio_grib_share.a \
$(WRF_SRC_ROOT_DIR)/external/io_int/libwrfio_int.a \
$(ESMF_IO_LIB) \
$(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a \
$(WRF_SRC_ROOT_DIR)/frame/module_internal_header_util.o \
$(WRF_SRC_ROOT_DIR)/frame/pack_utils.o
LIB_EXTERNAL = \
-L$(WRF_SRC_ROOT_DIR)/external/io_netcdf -lwrfio_nf -L/home/lmod/software/netCDF/4.7.3-intel-2019b-hdf1.10.4/lib -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/HDF5/1.10.4/lib -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5 -lm -lz
#### Architecture specific settings ####
# Settings for Linux x86_64 ppc64le i486 i586 i686, Xeon (SNB with AVX mods) ifort compiler with icc (dmpar)
#
DESCRIPTION = INTEL ($SFC/$SCC): Xeon (SNB with AVX mods)
DMPARALLEL = 1
OMPCPP = # -D_OPENMP
OMP = # -qopenmp -fpp -auto
OMPCC = # -qopenmp
SFC = ifort -L/home/lmod/software/netCDF/4.7.3-intel-2019b-hdf1.10.4/lib64 -lnetcdf -L/home/lmod/software/netCDF-Fortran/4.5.2-intel-2019b-hdf1.10.4/lib -lnetcdff -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/HDF5/1.10.4/lib -lhdf5_hl -lhdf5 -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/zlib/1.2.11/lib -lz -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/Szip/2.1.1/lib -lsz -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/imkl/2019.2.187/compilers_and_libraries_2019.2.187/linux/compiler/lib/ia32_lin -liomp5 -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/JasPer/1.900.1/lib -ljasper
SCC = icc -L/home/lmod/software/netCDF/4.7.3-intel-2019b-hdf1.10.4/lib64 -lnetcdf -L/home/lmod/software/netCDF-Fortran/4.5.2-intel-2019b-hdf1.10.4/lib -lnetcdff -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/HDF5/1.10.4/lib -lhdf5_hl -lhdf5 -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/zlib/1.2.11/lib -lz -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/Szip/2.1.1/lib -lsz -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/imkl/2019.2.187/compilers_and_libraries_2019.2.187/linux/compiler/lib/ia32_lin -liomp5 -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/JasPer/1.900.1/lib -ljasper
@@@
May be some of this may help you,
Regards