MITgcm on gadi
In general follow the instructions for installation on the main MITgcm website but use this option file. Copy it to your build location and specify with the -optfile option.
Something like this
./../../MITgcm/tools/genmake2 -mpi -rootdir=../../../MITgcm -mods=../code/ -optfile=linux_amd64_ifort_gadi -ds
make depend
make -j 16
Note that the command above use a parallel build (-j option), but specified only 16 simultaneous build commands. Using the default (48) can lead to issues with exceeding the maximum number of processes.