This procedure can improve model performance by as much as 20%,
varying with the number of processors and nodes used.
See also
Processor Binding and
64-KB Paging in the
CISL Bluefire Quickstart Guide
mpirun.lsf $execdir/$model < $namelist >&! $output || \with these two lines:
setenv TARGET_CPU_LIST "-1" mpirun.lsf /usr/local/bin/launch $execdir/$model < $namelist >&! $output || \Be sure to include the backslash at the end of the second line.
LDFLAGS += -bloadmap:loadmap -q64with these two lines:
LDFLAGS += -bloadmap:loadmap -q64 $(OPTIM) LDFLAGS += -bdatapsize:64K -bstackpsize:64K -btextpsize:64K
The following files at both HAO and CISL have been modified for processor
binding (models tiegcm1.9 and timegcm1-2dev7):
$TGCMROOT/tiegcm1.9/scripts/tiegcm-ibm.job $TGCMROOT/tiegcm1.9/scripts/Makefile.job
$TGCMROOT/timegcm1-2dev7/scripts/timegcm-ibm.job $TGCMROOT/timegcm1-2dev7/scripts/Makefile.jobIf your tiegcm1.9 or timegcm1-2dev7 job script allows the default $utildir (i.e., "set utildir" is commented), then the job script, when submitted, will use the corresponding Makefile above, so you will not have to change your Makefile.
If you change a Makefile in your *aix exec directory (i.e., one that was already made by tgcm_config), you should rename it Makefile.new, and add "-f Makefile.new" to the gmake command in your job script.