Skip to content

CableUserGuide_CBL3_Offline_Building_mpi

Paul Leopardi edited this page Oct 8, 2024 · 7 revisions

Building parallel CABLE

Both the serial and parallel executable for CABLE offline are built in the offline/ directory by executing build3.sh. To build parrallel model execute:

.//build3.sh mpi

build3.sh loads modules for Fortran compilers and NETCDF packages, sets compiler flags, then compiles using both Makefile and Makefile_mpi. Makefile compiles CABLE code that is common to serial and parallel CABLE. This includes all of the science/, util/, and params/ code.
Makefile_mpi is then called which compiles the parallel drivers and links everything together to produce an executable cable-mpi.

Building serial CABLE |. Back to Building Offline CABLE

Clone this wiki locally