TIEGCM
Background
Link | Code Version | Machine | Date |
---|---|---|---|
HAO website | 1.94 | Bluefire | February 2012 |
Building PDT
./configure --xlC -arch=ibm64 make make install
Building TAU
./configure -arch=ibm64 -cc=xlc_r -c++=xlC_r -fortran=ibm64 -pdt=<path to pdtoolkit-3.17> -mpi make install
After TAU is built setup your environment for TAU by doing:
export TAU_MAKEFILE=/glade/home/sbiersdo/tau-2.21.1/ibm64/lib/Makefile.tau-mpi-pdt export TAU_OPTIONS='-optKeepFiles -optVerbose -optCPPReset="-WF,-DAIX,-DMPI"'
Building TIEGCM
You will need a version of gmake to compile TIEGCM, so make sure the 'make' command will use gmake:
make -v GNU Make ...
copy over the scripts you will need:
cd src ; cp ../scripts/Make.bluefire .
modify the Makefile to include these variables: {{{ OS := $(shell uname -s) VPATH := $(subst $(space),:,$(DIRS)) INC_DIRS := $(foreach dir,$(DIRS),-I$(dir)) -I. -I$(INC_NETCDF) SOURCES := $(shell cat Srcfiles) SOURCES := $(addsuffix .f, $(basename $(SOURCES))) OBJS := $(addsuffix .o, $(basename $(SOURCES))) DIRS := `pwd` LIBS += -L$(LIB_NETCDF) -lnetcdf COUPLING := NO EXECNAME := tiegcm.x MPI := TRUE }}}