1) SGI Chipset: MIPS OS: Irix 6.5 Compiler: MIPSPro version 7.3.1.2 or higher Libraries: Message Passing Toolkit (MPT) version 1.5.1.0 or higher. netCDF version 3.4 or higher (64-bit version) 2) Linux: Chipset: AMD OS: GNU/Linux Compiler: Intel Fortran Compiler Version 7.1-030 Libraries: MPI-1 (e.g MPICH-1.2.5) netCDF version 3.4 or higher (64-bit version)
Back to top |
2.1 Where to find documentation
2.2 Overview of the finite difference core 2.3 Overview of the spectral core 2.4 The dynamical core interface 2.5 Shared components |
Back to top |
3.1 How to acquire CVS source code
3.2 What is CVS? 3.3 What is GForge? 3.4 CVS details |
cvs -z3 -d:pserver:cvs@fms.gfdl.noaa.gov:/cvsroot/atm-dycores login cvs -z3 -d:pserver:cvs@fms.gfdl.noaa.gov:/cvsroot/atm-dycores co -r jakarta atm_dycores |
Back to top |
4.1 The mkmf utility
4.2 Creating the makefile 4.3 Example: Compiling the source code 4.4 Compiling without MPI |
mkmf [-a abspath][-c cppdefs][-d][-f][-m makefile][-p program] \
[-t template][-v][-x][args] |
attaches the absolute path to the front of all relative paths to source files | -a abspath |
list of cpp #defines to be passed to the source files | -c cppdefs |
debug flag | -d |
formatting flag | -f |
name of makefile written | -m makefile |
final target name | -p program |
file containing a list of make macros or commands | -t template |
verbosity flag | -v |
executes the makefile immediately | -x |
list of directories and files to be searched for targets and dependencies | args |
compiler for FORTRAN files | FC |
executable for the loader step | LD |
cpp options that do not change between compilations | CPPFLAGS |
flags to the compiler FC | FFLAGS |
flags to the loader step | LDFLAGS |
FC = f90 LD = f90 LDFLAGS = -64 -mips4 -lexc -lscs -lmpi -L/usr/local/lib -lnetcdf CPPFLAGS = -macro_expand -Dsgi_mipspro -Duse_netCDF -I/usr/local/include FFLAGS = -OPT:Olimit=0 -O2 -r8 -d8 -i4 -64 -mips4 -expand_source -I/usr/local/include |
Back to top |
5.1 The runscript
5.2 The diagnostic table 5.3 The field table 5.4 Namelist options 5.5 Initial conditions and restart files 5.6 mppnccombine |
"Model results from the Held-Suarez benchmark" 0 0 0 0 0 0 #output files "atmos_daily", 24, "hours", 1, "days", "time", "atmos_average", -1, "hours", 1, "days", "time", #diagnostic field entries "dynamics", "ps", "ps", "atmos_daily", "all", .false., "none", 2, "dynamics", "bk", "bk", "atmos_average", "all", .false., "none", 2, "dynamics", "pk", "pk", "atmos_average", "all", .false., "none", 2, "dynamics", "zsurf", "zsurf", "atmos_average", "all", .false., "none", 2, "dynamics", "ps", "ps", "atmos_average", "all", .true., "none", 2, "dynamics", "ucomp", "ucomp", "atmos_average", "all", .true., "none", 2, "dynamics", "vcomp", "vcomp", "atmos_average", "all", .true., "none", 2, "dynamics", "temp", "temp", "atmos_average", "all", .true., "none", 2, "dynamics", "omega", "omega", "atmos_average", "all", .true., "none", 2, "dynamics", "tracer1", "tracer1", "atmos_average", "all", .true., "none", 2, "dynamics", "tracer2", "tracer2", "atmos_average", "all", .true., "none", 2, #"hs_forcing", "teq", "teq", "atmos_average", "all", .true., "none", 2, |
"TRACER", "atmos_mod", "gunk" "longname", "really bad stuff" "units", "kg/kg" "advec_vert", "finite_volume_parabolic" "diff_horiz", "linear", "coeff=.30" / |
cd RESTART /bin/ls *.res* | cpio -ov > OutputRestart.cpio |
rm INPUT/*.res* mv RESTART/*.res* INPUT mpirun -np 1 fms.exe # rerun the model |
mppnccombine [-v] [-a] [-r] output.nc [input ...] |
print some progress information | -v |
append to an existing netCDF file | -a |
remove the '.####' decomposed files after a successful run | -r |
Back to top |
6.1 Model output
6.2 Displaying the output 6.3 ncview |
Back to top |
Model | Resolution | Run length (days) | # pe | Time (sec) |
bgrid | N45 (144 x 90 x 20) | 200 | 30 | 3995 |
spectral | T42 (128 x 64 x 20) | 200 | 16 | 1760 |
barotropic | T85 (256 x 128) | 30 | 16 | 50 |
shallow | T85 (256 x 128) | 30 | 16 | 50 |
Back to top |