Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

'shr_pio_getindex :: compid out of allowed range'

yfang

Yilin Fang
Member
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?
 

jedwards

CSEG and Liaisons
Staff member
I think that the error on perlmuter is because esmf was not built with io support. That's not the same error.
 

jedwards

CSEG and Liaisons
Staff member
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
#
# --------------------------------------------------------------
 
Top