Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPAS framework updates don't rebuild cleanly. #6956

Open
rljacob opened this issue Jan 29, 2025 · 1 comment
Open

MPAS framework updates don't rebuild cleanly. #6956

rljacob opened this issue Jan 29, 2025 · 1 comment

Comments

@rljacob
Copy link
Member

rljacob commented Jan 29, 2025

Situation: I have a fully coupled case I've already created on a local clone of master. Then I update master which includes some changes to mpas-framework. Doing "case.build" results in an error. Hear's an example when I did an update that included #6883

/lcrc/group/e3sm/jacob/scratch/chrys/Wne4latest/bld/cmake-bld/framework/mpas_io.f90(246): error #6404: This name does not have a type, and must have an explicit type.   [MPAS_IO_ADIOSC]
          ioformat /= MPAS_IO_ADIOSC) then
----------------------^
compilation aborted for /lcrc/group/e3sm/jacob/scratch/chrys/Wne4latest/bld/cmake-bld/framework/mpas_io.f90 (code 1)

Some part of the MPAS build is not correctly recognizing what all needs to be rebuilt based on which files changed. Easiest solution is to blow away the mpas build dirs in $EXEROOT .

Reproducer:
Do a hard reset of a clone to master 69546dc
./create_newcase --case CASEDIR --res ne4pg2_oQU480 --compset WCYCL1850NS; cd CASEDIR; ./case.setup; ./case.build
(Reset SRCROOT to latest master; update submodules) (cd back to CASEDIR)
./case.build

@jonbob
Copy link
Contributor

jonbob commented Jan 29, 2025

@rljacob -- there are other mpas files where changes also don't get picked up correctly, most especially the component mct drivers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants