CABLE-LSM / CABLE

Home to the CABLE land surface model and its documentation
https://cable.readthedocs.io/en/latest/
Other
8 stars 3 forks source link

Comparison of build configurations between CABLE-POP_TRENDY and main #268

Open SeanBryan51 opened 4 months ago

SeanBryan51 commented 4 months ago

Context:

This issue thread documents the differences in build configurations between CABLE-POP_TRENDY and main.

Useful links

SeanBryan51 commented 4 months ago

Differences in build configs in CABLE-POP_TRENDY:

Differences in build configs in CABLE-POP_TRENDY (MPI):

JhanSrbinovsky commented 4 months ago

I haven't used the new build system yet. With "CABLE4" to date I have been modifying the CABLE3-like build/Makefile (albeit the one from the CABLE-POP-TRENDY side [so it is very similar to the CABLE3 build3.sh (and Makefile) version - just older]). My estimation was that upon completion the Makefile etc would look just like the CABLE3 ones you have just done. BUT the CABLE4 I "was" doing has no overlap with offline applications so will need some extra bits to build with POP offline.

WRT to all the user/machine profiles. In the beginning we tried to cater for everyone. We then went to a self writing build script to include new profiles. It just got really messy. In the end we landed on:

"We support the use of CABLE (corresponding builds etc) at NCI. We are happy to help with alternatives, but really this is on you. "

SeanBryan51 commented 4 months ago

@JhanSrbinovsky in the case for compiling on Gadi, the Makefile build in CABLE-POP_TRENDY branch differs in compiler flags for debug/release configurations as well as module versions for dependencies. We should determine the differences that should be incorporated/discarded when we do the merge of CABLE-POP_TRENDY into main.