Conversation
c1ab829 to
1fdf6ff
Compare
1fdf6ff to
51f67bf
Compare
|
Testing is documented here: ACCESS-NRI/access-spack-packages#238 (comment) This is now ready for review @harshula, @micaeljtoliveira |
Actually, probably best to hold off a little sorry. Requirements have evolved slightly. |
acfb05c to
fcb3b49
Compare
|
Okay, this is ready for review @harshula, @micaeljtoliveira I've tested the most recent changes pretty extensively using Spack - results are reported here |
|
I assume this was to get the
Doesn't worry me. I assume if one of the optimisation team want to do this they can pass the appropriate flags through from the
Deploy through FRE-NCtools is better. Edit: very comprehensive PR, exceptionally well documented. Thanks. Made it a lot easier to understand. |
It's actually to make sure that the mkmf build works with new versions of the GNU compilers without using Spack (I have no idea why anyone would want this, but no harm I suppose)
Ta. We'll need to do a proper deployment of FRE-NCtools then (we currently only have a prerelease deployed through the ACCESS-OM3 deployment repo). |
No, that was not the reason. It was because the MOM5 SPR had |
|
I've added @aidanheerdegen as a reviewer and removed myself. |
I thought these were added in the SPR to allow compilation with newer version of GNU compilers? |
micaeljtoliveira
left a comment
There was a problem hiding this comment.
Just a couple of questions, but nothing blocking.
|
Build failing though .. it is one of those pesky spack version things. Why would it fail now though? Is it worth just re-running in case it is an intermittent problem? |
|
I think this is because the CI uses the latest tag of spack-packages and there are changes in this PR that are incompatible with that version of spack-packages. We could merge/tag ACCESS-NRI/access-spack-packages#238 first to be sure? UPDATE: actually I'm not sure I've thought that through. Let me look deeper... |
|
What I said above is wrong. I'm guessing the build failure is because the CI is trying to install I can recreate by trying to install: which fails with the same error. However: succeeds. |
|
I think the CI used to work because the depends on logic in the mom5 SPR used to be: and so a numerical Spack version would satisfy the first However, with this recent change we moved to only allowing versions |
|
Hi @dougiesquire , Ideally, CI should build a set of 'versions' that we consider important. |
If yes to both, @aidanheerdegen are you okay for me to merge with the failing check? I've tested these changes pretty extensively as part of the related mom5 SPR update - see here |
|
I don't know enough about why or why not, so I trust it's ok and am happy for you to merge. |
|
Hi @dougiesquire, yes to both. I'd merge it - this shouldn't be a problem in the second iteration of |
…e.ubuntu These were added by Harshula Jayasuriya in the MOM5 spack package but not propagated back
…c tracer WOMBAT This is supported properly through the CMake build system
e0b8d3d to
df8ec00
Compare
This PR overhauls the existing CMake build system to allow it to be used to build ACCESS models.
Closes #38
Changes
ACCESS-OM,ACCESS-OM-BGC,ACCESS-ESM,ACCESS-CM. These use external FMS and generic tracers.CM2M,EBM,ESM2M,ICCMMOM_solo,MOM_SIS. These use internal FMS and generic tracers.REPRObuild flags. These are now always set. These were set by default in the mom5 SPR.-DCOSIMA_VERSION.It is now always set.UPDATE: It is now always unset.-DUNIT_TESTING. It is now always unset. We can add the option later if we find it is needed.A few other small changes are included in this PR to ensure that:
ACCESS-OM-BGCbuild type can still be used (214fe0c)bin/mkmf.template.ubuntu(a4b3ae3)Dependencies (ticked if merged)
This PR requires the following changes:
Changes to allow using gtracers in another CMake project GFDL-generic-tracers#28THIS WAS MERGED INTO: Add CMake build system and Pkgconf pc file GFDL-generic-tracers#17Update libaccessom2.pc.in libaccessom2#15SUPERSEDED BY: Allow libaccessom2 to be used in other CMake projects using find_package libaccessom2#17Corresponding changes to the mom5 Spack package are here:
Questions
FPPFLAGS. Should I? I can reproduce old answers without them.mppnccombineas part of the MOM5 build using outdated code included in the MOM5 repo. Do we want to continue to support this, or should we deploymppnccombinethrough FRE-NCtools.