I notice the bundle is trying to build jedi-cmake. Why? This should not happen, because loading the spack-stack modules below should provide a module and that gets detected by jedi-bundle.
Following two months of announcements on JCSDA-internal, in the JEDI bi-weekly meetings with all external partners, and on Slack, we enabled mandatory two-factor-authentication for the JCSDA-internal and JCSDA repositories. This automatically removed all Github users without 2FA. Please enable 2FA for your Github account and ask Cory or Daryl to request you being added back in. Thanks.
That’s a good question for which I unfortunately don’t have a better answer then “use jedi-bundle”, it’s the same. You can comment out the mom6/soca/coupling components in CMakeLists.txt before you run cmake if you don’t need them.
I was having a similar error where the build error I was getting was the jedicmake_MODULES does not exist.
I was able to go into the jedicmake directory and see that nothing was actually built there. By modifying fv3-bundle/CMakeList.txt slightly I was able to get it to build correctly.
Modifying these two lines:
Update line 20, on the CMakeList.txt file that is located within the fv3-bundle directory. Add RECURSIVE in all caps to the end of the line:
Addition after line 55, on the CMakeList.txt file that is located within the fv3-bundle directory. Add vader bundle to the ecbuild
ecbuild_bundle( PROJECT vader GIT "https://github.com/jcsda/vader.git" BRANCH develop UPDATE )
After completing these two steps I saw it build correctly – be sure to first remove all files or directories made by your initial build or it will not recursively go into these directories and update the modules since it see them as already created. This was from JCSDA and NOT JCSDA-internal.
Is this a fix needed on the fv3-bundle to build correctly? Should a PR be opened on the JCSDA’s repo?