Building ufs-weather-model prototype-8c fails on frontera #273
Closed
benjamin-cash
started this conversation in
Good to know
Replies: 1 comment 2 replies
-
I think we got past all these errors by now, correct? If so, can you post the correct instructions here? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the spirit of not having things in emails (I sent this to Dom earlier), I wanted to put this information down here. Using the spack-stack installation @climbfuji created on frontera, I am attempting to build the Prototype-8c tag of the ufs-weather-model. I am doing the following:
module purge
module use /work2/06146/tg854455/frontera/spack-stack/modulefiles
module load miniconda/3.9.12
module load ecflow/5.8.4
ulimit -s unlimited
module use /work2/06146/tg854455/frontera/spack-stack/spack-stack-v1/envs/skylab-1.0.0-gnu-9.1.0/install/modulefiles/Core
module load stack-gcc/9.1.0
module load stack-mvapich2/2.3
module load stack-python/3.9.12
module load ufs-weather-model-env
CMAKE_FLAGS="-DAPP=S2SWA" CCPP_SUITES="FV3_GFS_v17_coupled_p8" ./build.sh
When I do so, I hit the following errors:
CMake Error at CMakeLists.txt:120 (add_library):
add_library cannot create ALIAS target "fms" because another target with
the same name already exists.
CMake Error at /work2/06146/tg854455/frontera/spack-stack/spack-stack-v1/envs/skylab-1.0.0-gnu-9.1.0/install/gcc/9.1.0/cmake-3.22.1-mppepwa/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find PIO (missing: C Fortran)
Call Stack (most recent call first):
/work2/06146/tg854455/frontera/spack-stack/spack-stack-v1/envs/skylab-1.0.0-gnu-9.1.0/install/gcc/9.1.0/cmake-3.22.1-mppepwa/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
CMakeModules/Modules/FindPIO.cmake:184 (find_package_handle_standard_args)
CMakeLists.txt:124 (find_package)
The modules loaded at this point are:
login2.frontera(503)$ module list
Currently Loaded Modules:
Explicitly loading fms/2022.01 does not solve the problem.
Beta Was this translation helpful? Give feedback.
All reactions