Professional Documents
Culture Documents
Export GFS
Export GFS
export GFS_DIR=/moes/model/GFS
BACIO
2)
ESMF
3)
SIGIO
4)
W3
5)
SP
Installation of bacio
1. cd $GFS_DIR/nwprod/lib/sorc/bacio
2. ./makebacio.sh 2>&1 | tee bacio_compile.log
3. libbacio_4.a libbacio_8.a will be generated at $GFS_DIR/nwprod/lib
Installation of SIGIO
1. cd $GFS_DIR/nwprod/lib/sorc/sigio
2. ./makefile.sh 2>&1 | tee sigio_compile.log
3. libsigio_4.a is created at $GFS_DIR/nwprod/lib
4. mod files are created at incmod/sigio_4
1. cd $GFS_DIR/nwprod/lib/sorc/w3emc
2. ./makelibw3.sh 2>&1 | tee w3emc_compile.log
3. libw3emc_4.a , libw3emc_8.a and libw3emc_d.a are generated at
$GFS_DIR/nwprod/lib/
4.
Corresponding mod files w3emc_4 , w3emc_8 and w3emc_d are
generated at $GFS_DIR/nwprod/lib/incmod
5.
cd $GFS_DIR/nwprod/lib/sorc/w3nco
6.
7.
libw3nco_4.a , libw3nco_8.a and libw3nco_d.a are generated at
$GFS_DIR/nwprod/lib/
Installation of SP
1.
cd $GFS_DIR/nwprod/lib/sorc/sp
2.
3.
Installation of ESMF
export ESMF_DIR=$GFS_DIR/nwprod/lib/sorc/esmf
export ESMF_BOPT=g
export ESMF_MPIRUN=mpirun
export ESMF_COMM=intelmpi
export ESMF_COMPILER=intel
export ESMF_ABI=64
export ESMF_OS=Linux
export ESMF_INSTALL_PREFIX=$GFS_DIR/nwprod/lib/sorc/esmf/installesmf
export ESMF_MACHINE=x86_64
2) Type 'gmake' (the GNU make program) to build the ESMF library.
3) Optionally test the ESMF library build using any of the following targets:
a) 'gmake unit_tests' to build and run the unit tests
b) 'gmake system_tests' to build and run the system tests
c) 'gmake check' to build and run the unit and system tests.
d) 'gmake examples' to build and run the examples
e) 'gmake demos' to build and run the demos
f) 'gmake all_tests' to build and run all available tests and demos
Please consult the "Platform Specific Notes Related to Executing Test
Targets" below before attempting to use any of these targets.
global_fcst.fd
cd $GFS_DIR/nwprod/sorc/global_fcst.fd
vim Makefile
LIBS = Set paths appropriately
make -f Makefile
Executable global_fcst will be generated
global_sighdr.fd
cd $GFS_DIR/nwprod/sorc/global_sighdr.fd
make
Executable global_sighdr will be generated