Runtime error on MacOSx with nlohmann::json, out_of_range exception: key 'NUOPC' not found #311
Replies: 6 comments 11 replies
-
Hi @natalie-perlin
I think the issue may have to do with the libc++abi library and namespaces. If there are any |
Beta Was this translation helpful? Give feedback.
-
@danrosen25 @billsacks SDKROOT set, No any warnings were issued. All PET files were identical to:
|
Beta Was this translation helpful? Give feedback.
-
Thanks @natalie-perlin Then we can also try adding the following to the CMakeLists.txt for UFS. Probably best before the project call. |
Beta Was this translation helpful? Give feedback.
-
@natalie-perlin |
Beta Was this translation helpful? Give feedback.
-
I'm seeing a different error in this log.
The develop branch of the nuopc-app-prototypes isn't guaranteed to work with older versions of ESMF. You may need to download the specific version that matches your ESMF release: https://github.com/esmf-org/nuopc-app-prototypes/releases/tag/v8.6.0 |
Beta Was this translation helpful? Give feedback.
-
@billsacks @danrosen25 @SamuelTrahanNOAA What seemed to help to build ufs_model and to run it SUCCESSFULLY(!) was to set LINKER_LANGUAGE to CXX instead of Fortran in CMakeLists.txt, i.e.: The only one concern is the need to set linker to CXX for the code that is nearly entirely in Fortran (and a little C), just because of a library (even a few libraries) in CXX... Please correct me if I'm wrong! Thank you for your help! |
Beta Was this translation helpful? Give feedback.
-
Requirements
Affiliation(s)
NOAA EPIC
ESMF Version
v8.6.0
Issue
ESMF v8.6.0 is built on MacOS as a part of a software stack for the ufs_weather model; it is
built with clang/clang++ v14.0.0, gfortran v12.3, openmpi/1.4.6.
All the exhaustive multi-processor unit and system tests (14K+) pass successfully.
Runtime error is as follows:
There is another GitHub discussion on the issues with running ufs_weather_model on MacOS, which boil down to the same error:
ufs-community/ufs-weather-model#2371
Any further leads on how to diagnose the exact issue and solve the problem is extremely valuable!.. This appears to be stuck for few months.
Autotag
@danrosen25
Beta Was this translation helpful? Give feedback.
All reactions