Y yfang Yilin Fang Member May 1, 2023 #21 It looks like pio library is needed to build ESMF. Can you share with me what other options need to be set to build ESMF correctly?
It looks like pio library is needed to build ESMF. Can you share with me what other options need to be set to build ESMF correctly?
J jedwards CSEG and Liaisons Staff member May 1, 2023 #22 I think that the error on perlmuter is because esmf was not built with io support. That's not the same error.
I think that the error on perlmuter is because esmf was not built with io support. That's not the same error.
Y yfang Yilin Fang Member May 1, 2023 #23 I didn't build esmf with io support either on compy. @oleson @jedwards Can you share the options you used to build esmf? Thanks!
I didn't build esmf with io support either on compy. @oleson @jedwards Can you share the options you used to build esmf? Thanks!
J jedwards CSEG and Liaisons Staff member May 1, 2023 #24 Here is an example from gust: # !!! ----- User set ESMF_ environment variables ----- !!! # # -------------------------------------------------------------- # * User set ESMF environment variables * # ESMF_BOPT=O # ESMF_C=/opt/cray/pe/mpich/8.1.25/ofi/intel/19.0/bin/mpicc # ESMF_COMM=mpi # ESMF_COMPILER=intel # ESMF_CXX=/opt/cray/pe/mpich/8.1.25/ofi/intel/19.0/bin/mpicxx # ESMF_CXXCOMPILEOPTS= # ESMF_DIR=/glade/gust/scratch/csgteam/temp/spack/gust/23.04/builds/spack-stage-esmf-8.4.1-5oivxt5ucoi3trclzx6mtw6ax43khsrf/spack-src # ESMF_F90=/opt/cray/pe/mpich/8.1.25/ofi/intel/19.0/bin/mpif90 # ESMF_F90COMPILEOPTS= # ESMF_INSTALL_BINDIR=bin # ESMF_INSTALL_LIBDIR=lib # ESMF_INSTALL_MODDIR=include # ESMF_INSTALL_PREFIX=/glade/u/apps/gust/23.04/spack/opt/spack/esmf/8.4.1/cray-mpich/8.1.25/oneapi/2023.0.0 # ESMF_LAPACK=system # ESMF_LAPACK_LIBS=-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl # ESMF_NETCDF=nc-config # ESMF_NFCONFIG=nf-config # ESMF_OS=Unicos # ESMF_PIO=external # ESMF_PIO_INCLUDE=/glade/u/apps/gust/23.04/spack/opt/spack/parallelio/2.5.10/cray-mpich/8.1.25/oneapi/2023.0.0/include # ESMF_PIO_LIBPATH=/glade/u/apps/gust/23.04/spack/opt/spack/parallelio/2.5.10/cray-mpich/8.1.25/oneapi/2023.0.0/lib # ESMF_PNETCDF=pnetcdf-config # # --------------------------------------------------------------
Here is an example from gust: # !!! ----- User set ESMF_ environment variables ----- !!! # # -------------------------------------------------------------- # * User set ESMF environment variables * # ESMF_BOPT=O # ESMF_C=/opt/cray/pe/mpich/8.1.25/ofi/intel/19.0/bin/mpicc # ESMF_COMM=mpi # ESMF_COMPILER=intel # ESMF_CXX=/opt/cray/pe/mpich/8.1.25/ofi/intel/19.0/bin/mpicxx # ESMF_CXXCOMPILEOPTS= # ESMF_DIR=/glade/gust/scratch/csgteam/temp/spack/gust/23.04/builds/spack-stage-esmf-8.4.1-5oivxt5ucoi3trclzx6mtw6ax43khsrf/spack-src # ESMF_F90=/opt/cray/pe/mpich/8.1.25/ofi/intel/19.0/bin/mpif90 # ESMF_F90COMPILEOPTS= # ESMF_INSTALL_BINDIR=bin # ESMF_INSTALL_LIBDIR=lib # ESMF_INSTALL_MODDIR=include # ESMF_INSTALL_PREFIX=/glade/u/apps/gust/23.04/spack/opt/spack/esmf/8.4.1/cray-mpich/8.1.25/oneapi/2023.0.0 # ESMF_LAPACK=system # ESMF_LAPACK_LIBS=-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl # ESMF_NETCDF=nc-config # ESMF_NFCONFIG=nf-config # ESMF_OS=Unicos # ESMF_PIO=external # ESMF_PIO_INCLUDE=/glade/u/apps/gust/23.04/spack/opt/spack/parallelio/2.5.10/cray-mpich/8.1.25/oneapi/2023.0.0/include # ESMF_PIO_LIBPATH=/glade/u/apps/gust/23.04/spack/opt/spack/parallelio/2.5.10/cray-mpich/8.1.25/oneapi/2023.0.0/lib # ESMF_PNETCDF=pnetcdf-config # # --------------------------------------------------------------