/[MITgcm]/MITgcm_contrib/ESMF/global_ocean.128x60x15/run_mitgcm_cluster.sh
ViewVC logotype

Contents of /MITgcm_contrib/ESMF/global_ocean.128x60x15/run_mitgcm_cluster.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Thu May 12 02:25:49 2005 UTC (20 years, 2 months ago) by cnh
Branch: MAIN
CVS Tags: HEAD
File MIME type: application/x-sh
Added extra exports to ocean

1 #!/bin/csh -fv
2 #
3 # Example of a job script that runs a stand-alone configuration of ESMF compliant MITgcm
4 # on the MITgcm cluster compute nodes.
5 # This script uses Lahey compiler (version 6.2) builds of
6 # ESMF (version 1_0_4), with mpich-gm (version 1.2.5..10) and mitgcm (version checkpoint52l)
7 # on a RedHat 7.2 system with the libstdc++-2.96-98 GCC Standard C++ Library.
8 #
9
10 #
11 # Test script to run stand alone example
12 #
13
14 # Make sure that dynamic library search path includes needed libraries.
15 setenv LD_LIBRARY_PATH /usr/local/pkg/ESMF/ESMF_1_0_4/mpich-1.2.5..10/lahey/lib/libO/Linux.lahey.32.default:/usr/local/pkg/lahey/current/lib
16
17 # Setup testrun directory
18 mkdir testrun
19 cd testrun
20
21 # Setup subdirectories for each sub-component (there is only one for stand-alone)
22 mkdir ocn.1
23 cd ocn.1
24 ln -s ../../input/* .
25 cd ..
26
27 # Setup needed MPI files
28 hostname > mf
29 hostname >> mf
30
31 # Execute the application
32 /usr/local/pkg/mpi/mpich-1.2.5..10/lahey/bin/mpirun -np 2 -machinefile mf ../app/exe/2pe/ocn_only_app.exe
33
34

  ViewVC Help
Powered by ViewVC 1.1.22