Building error of FV3-bundle on orion

Hi,

I’m trying to build fv3-bundle on orion with intel compilers, and am getting an error.

I loaded all the modules as mentioned in the instructions below:
https://jointcenterforsatellitedataassimilation-jedi-docs.readthedocs-hosted.com/en/latest/using/jedi_environment/modules.html#casper
https://spack-stack.readthedocs.io/en/1.5.0/PreConfiguredSites.html#msu-orion

module purge
module use /work/noaa/epic/role-epic/spack-stack/orion/modulefiles
module load python/3.9.2
module load ecflow/5.8.4
module load mysql/8.0.31

module use /work/noaa/epic/role-epic/spack-stack/orion/spack-stack-1.5.0/envs/unified-env/install/modulefiles/Core
module load stack-intel/2022.0.2
module load stack-intel-oneapi-mpi/2021.5.1
module load stack-python/3.10.8

module load jedi-fv3-env
module load ewok-env
module load soca-env

The error message is:

– [ioda] (2.7.0) [e8f9062]
– Feature TESTS enabled
– Found OpenMP_C: -qopenmp (found version “5.0”)
– Found OpenMP_CXX: -qopenmp (found version “5.0”)
– Found OpenMP: TRUE (found version “5.0”) found components: C CXX Fortran
– Found HDF5: hdf5-shared (found version “1.14.0”) found components: C HL
– Found MPI: TRUE (found version “3.1”)
– Found NetCDF: /work/noaa/epic/role-epic/spack-stack/orion/spack-stack-1.5.0/envs/unified-env/install/intel/2022.0.2/netcdf-fortran-4.6.0-i2wplrg/include (found version “4.9.2”) found components: Fortran
– FindNetCDF defines targets:
– - NetCDF::NetCDF_Fortran [/work/noaa/epic/role-epic/spack-stack/orion/spack-stack-1.5.0/envs/unified-env/install/intel/2022.0.2/netcdf-fortran-4.6.0-i2wplrg/lib/libnetcdff.so]
– Found OpenMP_CXX: -qopenmp (found version “5.0”)
– Found OpenMP: TRUE (found version “5.0”) found components: CXX

CMake Error at ioda/CMakeLists.txt:54 (find_package):
By not providing “Findudunits.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “udunits”, but
CMake did not find one.

Could not find a package configuration file provided by “udunits”
(requested version 2.2.0) with any of the following names:

udunitsConfig.cmake
udunits-config.cmake

Add the installation prefix of “udunits” to CMAKE_PREFIX_PATH or set
“udunits_DIR” to a directory containing one of the above files. If
“udunits” provides a separate development package or SDK, be sure it has
been installed.

Does anyone know why I got this error and how to solve this? Many thanks!

Also, I got another error saying that:
File or directory
/work/noaa/aoml-hafsda/danwu/jedi_new/fv3-bundle/jedicmake/CMakeModules/Modules
referenced by variable jedicmake_MODULES does not exist !

I tried to use the module unload ctrm, which didn’t work. Then I manually added this directory and avoided this issue.

PS: the building of jedi-bundle went through well, the errors only occurred when building fv3-bundle.

Looking forward to your help! Many thanks!

Best,
Dan

Hi Dan, we don’t support fv3-bundle to the public anymore. Please use the latest release of jedi-bundle for a stable version (Skylab 6.0 Release Notes · JCSDA/jedi-bundle Wiki · GitHub). If you are only after fv3-jedi, you can comment out gsw, mom6, soca, coupling before running cmake.