Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem occurred when building GSI on HERA #16

Closed
emilyhcliu opened this issue Jun 13, 2020 · 3 comments
Closed

Problem occurred when building GSI on HERA #16

emilyhcliu opened this issue Jun 13, 2020 · 3 comments

Comments

@emilyhcliu
Copy link
Contributor

Issue found while building GSI from the forked NOAA-EMC:master

I followed Kate's e-mail regarding the model update for python and cmake, and updated modules accordingly in GSI/modulefiles/modulefiles.ProdGSI.hera:

# python
module use -a /contrib/anaconda/modulefiles
module load anaconda/2.3.0

module use -a /contrib/cmake/modulefiles
module load cmake/3.9.0

During the build process, I ran into the following error message:

Configuring utility in adderrspec.fd
Configuring utility in adjustps.fd
Configuring utility in calc_increment_ens.fd
Configuring utility in calc_increment_serial.fd
Configuring utility in getnstensmeanp.fd
Configuring utility in getsfcensmeanp.fd
Configuring utility in getsfcnstensupdp.fd
Configuring utility in getsigensmeanp_smooth.fd
Configuring utility in getsigensstatp.fd
 hey, incl dirs are /apps/intel/compilers_and_libraries_2018/linux/mpi/intel64/include/gfortran;/apps/intel/compilers_and_libraries_2018/linux/mpi/intel64/include 
Configuring utility in gribmean.fd
Configuring utility in recenternemsiop_hybgain.fd
Configuring utility in recentersigp.fd
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FRAMEMODULE
    linked by target "global_gsi.x" in directory /scratch1/NCEPDEV/da/Emily.Liu/JEDI-GSI/GSI/src/gsi
FRAMEPACK
    linked by target "global_gsi.x" in directory /scratch1/NCEPDEV/da/Emily.Liu/JEDI-GSI/GSI/src/gsi
IOINT_LIB
    linked by target "global_gsi.x" in directory /scratch1/NCEPDEV/da/Emily.Liu/JEDI-GSI/GSI/src/gsi
WRFNETCDF_LIB
    linked by target "global_gsi.x" in directory /scratch1/NCEPDEV/da/Emily.Liu/JEDI-GSI/GSI/src/gsi

-- Configuring incomplete, errors occurred!

I also checked out GSI master from gerrit:ProdGSI and modified the modulefiles as described above. The GSI build process completed successfully on HERA.

I am wondering if I missed something when I tried to build the GSI master checked out from GitHub?

@RussTreadon-NOAA
Copy link
Contributor

Did you clone via "git clone https://github.com/NOAA-EMC/GSI.git ."?

fix and libsrc point to submodules. Please include "--recursive" to clone the submodules. That is, execute "git clone --recursive https://github.com/NOAA-EMC/GSI.git ."

Try executing the following in /scratch1/NCEPDEV/da/Emily.Liu/JEDI-GSI/GSI
"git submodule update --init --recursive"

After this "cd ush" and execute "./build_all_cmake.sh"

Following the above steps in my copy of /scratch1/NCEPDEV/da/Emily.Liu/JEDI-GSI/GSI yielded a complete build on Hera.

@emilyhcliu
Copy link
Contributor Author

@RussTreadon-NOAA Thanks a lot. The build works for me now.

@RussTreadon-NOAA
Copy link
Contributor

Build works. Issued closed.

lbi2018 pushed a commit to lbi2018/GSI that referenced this issue Mar 4, 2022
…nsda_fix1

A fix for the logics ,in the enkf_fv3reg, when q_ind > 0 while pseudo_rh=.true. and. ps_ind <0 in the ensemble meaning and recentering to avoid undefined qsat used for q.
A fix for the index upbound set in mod_fv3_lolgrid.f90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants