-
Notifications
You must be signed in to change notification settings - Fork 0
CableUserGuide_CBL3_Offline_Building
=
In the offline/
directory a bash script build3.sh
can be used as a template to build CABLE. In build3.sh
there is a
function host_gadi
which is the appropriate configuration to build on gadi. The main section of this script
(at the bottom) then directs the build through the function host_gadi
. You should be able to follow this to
implement building CABLE on another Linux/HPC system.
Building serial CABLE | Building parallel CABLE | Back to CABLE Offline |
Common across both serial and parallel applications, build3.sh
gathers the files necessary and creates a hidden
directory called .tmp (if there isn’t one already). This is for technical reasons only and you should never need to go
into the .tmp directory. One of the features of the build process is that only source files which are
modified are re-built, followed by their dependents. This is possible because the .tmp directory is
overwritten by build3.sh, preserving timestamps of the source files from their original location.
Moreover, if you change the files in .tmp directly, those changes will not be picked up by the next build
and perhaps worse still, they will be overwritten and lost.