Hi members,
Hope everyone is doing great. I have been stuck for more than two weeks, please help me!
I was trying to follow the ARW online tutorial on how to compile em_real. I selected 32 at ./configure and chose 0. em_real can be compiled successfully. I can run simulations successfully.
However, when I selected 32 at ./configure and chose 1 (basics), I got an error message saying that Fatal Error: cannot open module file 'module_io.mod' for reading at (1) no such files or directory. I have attached the log.compile for your reference. I could not choose 34 either, as when I tried which CC, my bash does not return anything, though I have set export CC='gcc' correctly.
I have successfully installed all the libraries in needed, and stored them at correct locations:
# Path Settings
export WRF_EM_CORE=1
export DIR=/home/Build_WRF/LIBRARIES
export CC=gcc
export CXX=g++
export FC=gfortran
export FCFLAGS=-m64
export F77=gfortran
export FFLAGS=-m64
export JASPERLIB=$DIR/grib2/lib
export JASPERINC=$DIR/grib2/include
# Unactivate this to install NetCDF-Fortrand
#export LDFLAGS=-L$DIR/grib2/lib
#export CPPFLAGS=-I$DIR/grib2/include
## NetCDF
export PATH=$DIR/netcdf/bin:$PATH
export NETCDF=$DIR/netcdf
export LIBS="-lnetcdf -lz"
# Activate this to install NetCDF-Fortrand
export LDFLAGS=-L$DIR/netcdf/lib
export CPPFLAGS="-I$DIR/netcdf/include -fcommon"
export FFLAGS=-fallow-argument-mismatch
export FCFLAGS=-fallow-argument-mismatch
# netcdf library
export NETCDF=/home/Build_WRF/LIBRARIES/netcdf
# WPS ungrib
export LD_LIBRARY_PATH=/home/Build_WRF/LIBRARIES/grib2/lib:$LD_LIBRARY_PATH
# Post Processing set-up
export LD_PRELOAD=/home/miniconda3/lib/libstdc++.so.6
I would greatly appreciate if anyone can help me with this!!
Best regards,
ZHW
Hope everyone is doing great. I have been stuck for more than two weeks, please help me!
I was trying to follow the ARW online tutorial on how to compile em_real. I selected 32 at ./configure and chose 0. em_real can be compiled successfully. I can run simulations successfully.
However, when I selected 32 at ./configure and chose 1 (basics), I got an error message saying that Fatal Error: cannot open module file 'module_io.mod' for reading at (1) no such files or directory. I have attached the log.compile for your reference. I could not choose 34 either, as when I tried which CC, my bash does not return anything, though I have set export CC='gcc' correctly.
I have successfully installed all the libraries in needed, and stored them at correct locations:
# Path Settings
export WRF_EM_CORE=1
export DIR=/home/Build_WRF/LIBRARIES
export CC=gcc
export CXX=g++
export FC=gfortran
export FCFLAGS=-m64
export F77=gfortran
export FFLAGS=-m64
export JASPERLIB=$DIR/grib2/lib
export JASPERINC=$DIR/grib2/include
# Unactivate this to install NetCDF-Fortrand
#export LDFLAGS=-L$DIR/grib2/lib
#export CPPFLAGS=-I$DIR/grib2/include
## NetCDF
export PATH=$DIR/netcdf/bin:$PATH
export NETCDF=$DIR/netcdf
export LIBS="-lnetcdf -lz"
# Activate this to install NetCDF-Fortrand
export LDFLAGS=-L$DIR/netcdf/lib
export CPPFLAGS="-I$DIR/netcdf/include -fcommon"
export FFLAGS=-fallow-argument-mismatch
export FCFLAGS=-fallow-argument-mismatch
# netcdf library
export NETCDF=/home/Build_WRF/LIBRARIES/netcdf
# WPS ungrib
export LD_LIBRARY_PATH=/home/Build_WRF/LIBRARIES/grib2/lib:$LD_LIBRARY_PATH
# Post Processing set-up
export LD_PRELOAD=/home/miniconda3/lib/libstdc++.so.6
I would greatly appreciate if anyone can help me with this!!
Best regards,
ZHW
Attachments
Last edited: