esmf information in the environment file
Yuke1996 opened this issue · comments
Your name
Yuding (student)
Your affiliation
wuhan unversity
Please provide a clear and concise description of your question or discussion topic.
Hi all, I followed the tutorial (hhttps://geos-chem.readthedocs.io/en/latest/geos-chem-shared-docs/supplemental-guides/spack-guide.html) to configure the environment using the spack, do I still need to set the “export ESMF_INSTALL_PREFIX=${ESMF_DIR}/INSTALL_gfortran10_openmpi4”, this setting seems to be for the scenario without using the spack. Do I need to set the installation path of esmf to use the spack configuration environment? Also in the environment file, “export CC=gcc, export CXX=g++, export FC=gfortran, export F77=gfortran” need to point to the gcc, g++, gfortran installed by the spack (such as export CC=/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/gcc-10.2.0-mx7yemtfrt3ep3h3cbkfilm7s3yohbut/bin/gcc) or not? Thank you all.
I followed the installation history of the spack (look for the spack-build-out.txt file for each library) and readjusted the environment file (GCHP.txt in the attachment). Also, I additionally installed blas, cblas in the system (I didn't find them in the environment of the spack installation). Based on the adjusted environment file, I successfully installed GCHP-14.0.0 (the latest version of the installation reported an error, and the spack is also the old version 0.21.2, the latest spack which also report errors)
GCHP.txt