Closed zhanglikate closed 3 months ago
Hi Sam,
I am using the following build script . there is not issue.
set -eux
cd ./prepchem_NC.fd/process-obs/FV3/gbbepx2netcdf/
echo " Building ... prepchem to convert binary to NetCDF"
sh mk-hera.sh cp mkncgbbepx.exe ../../../../../exec/mkncgbbepx
This is the mk-hera.sh
set -ue module load intel/2023.2.0 netcdf szip hdf5 set -x
fflags=$( nf-config --fflags ) flibs=$( nf-config --flibs )
ifort $fflags -I. -c -o mkncgbbepx.o mkncgbbepx.f90 -g -traceback ifort $fflags -o mkncgbbepx.exe mkncgbbepx.o -g -traceback $flibs
Sam,
If you are testing it in your terminal , you have to use
module load gnu intel/2023.2.0 netcdf szip hdf5
I still get the error with that script.
Please try purging your modules first:
module purge
Updated. Can you help to check and approve it? Thanks.
Thanks very much.
Update compile script with module load intel/2023.2.0 for Rocky OS