CMake Error for CRTM and JEDI (Fuzzy instructions)

Hi, I am trying to build a JEDI bundle (FV-3 in particular) in NCAR’s Casper HPC using the following instructions:

  1. Loading the spark-stack module in Casper using 3. Pre-configured sites — spack-stack documentation
  2. Not sure what to do after this. Went ahead with building it using Building and compiling JEDI — JEDI Documentation 5.0.0 documentation till Step 3 (run ecbuild)

I get the following error:

– [crtm] (2.3.0) [46e3292]
– Feature TESTS enabled
CMake Error at /glade/work/chayan/jedi/build/jedicmake/jedicmake-config.cmake:19 (message):
File or directory
/glade/work/chayan/jedi/src/fv3-bundle/jedicmake/CMakeModules/Modules
referenced by variable jedicmake_MODULES does not exist !
Call Stack (most recent call first):
/glade/work/chayan/jedi/build/jedicmake/jedicmake-config.cmake:36 (set_and_check)
crtm/CMakeLists.txt:20 (find_package)

– Configuring incomplete, errors occurred!
See also “/glade/work/chayan/jedi/build/CMakeFiles/CMakeOutput.log”.

Any help would be great. The instructions in the documentation are still unclear, different versions have different directories they point to. I am not still not sure what’s the best way to run it in HPC.

Thanks

Can you let us know how you’re cloning the jedi package? It looks like an old version.

You can after loading spack-stack modules you can load jedi environment by following instruction here:
https://jointcenterforsatellitedataassimilation-jedi-docs.readthedocs-hosted.com/en/latest/using/jedi_environment/modules.html#casper

If you are using jedi-bundle tag 5.0.0 after loading all the modules and jedi environment and before running ecbuild, you need to run:
module unload crtm