Closed kuanchihwang closed 6 months ago
Almost certainly I'm doing something wrong, but when I create a new case with
./cime/scripts/create_newcase --case /glade/derecho/scratch/duda/fhs94 --project NMMM0013 --compset FHS94 --run-unsupported --pecount 36x1 --res mpasa240_mpasa240
I get an error in the build log and no successful compilation:
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lmusica
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -ljsonfortran
My build log is here in case that helps: /glade/derecho/scratch/duda/fhs94/bld/cesm.bldlog.240110-171130 .
I'm using the default modules on Derecho:
Currently Loaded Modules:
1) ncarenv/23.06 (S) 3) intel/2023.0.0 5) cray-mpich/8.1.25 7) netcdf/4.9.2
2) craype/2.7.20 4) ncarcompilers/1.0.0 6) hdf5/1.12.2
Is there a step that I'm missing related to MUSICA or jsonfortran?
@mgduda Sorry! I told Kuan-Chich but forgot to tell you that there is temporarily an extra step you have to do in order to get the model to build. Can you try the following in your case directory:
./xmlchange CAM_LINKED_LIBS=""
./case.build --clean-all
./case.build
And let me know if that works? Hopefully this extra step will go away once issue #237 has been fixed.
@nusbaume That did it -- thanks!
This PR introduces stub interface for MPAS dynamical core. This stub interface currently does nothing (i.e., can compile; cannot run), but it provides a fresh start from scratch for actual functionalities to be incrementally implemented later.