** Warning **

Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle dbname=MITgcm at /usr/local/share/lxr/lib/LXR/Common.pm line 1224.

Last-Modified: Sun, 18 May 2024 05:11:33 GMT Content-Type: text/html; charset=utf-8 MITgcm/MITgcm/jobs/run_mitgcm_eaps.csh
Back to home page

MITgcm

 
 

    


Warning, /jobs/run_mitgcm_eaps.csh is written in an unsupported language. File is not indexed.

view on githubraw file Latest commit c00939f0 on 2003-11-06 21:59:59 UTC
c00939f069 Patr*0001 #!/bin/csh
                0002 # Example PBS script to run a job on the myrinet-3 cluster.
                0003 # The lines beginning #PBS set various queuing parameters.
                0004 #
                0005 # o -N Job Name
                0006 #PBS -N global2x2
                0007 #
                0008 # o -l resource lists that control where job goes
                0009 #      here we ask for 3 nodes, each with the attribute "p4".
                0010 #PBS -l nodes=6:p4
                0011 #
                0012 # o Where to write output
                0013 #PBS -e stderr
                0014 #PBS -o stdout
                0015 #
                0016 # o Export all my environment variables to the job
                0017 #PBS -V
                0018 #
                0019 #
                0020 echo $PBS_NODEFILE
                0021 cat  $PBS_NODEFILE
                0022 #
                0023 cd /s07/heimbach/ecco-branch/exe
                0024 rm -f proc_list *.00?.00?.*
                0025 cp ~heimbach/ecco/ecco-branch/exe/mitgcmuv .
                0026 #
                0027 cat $PBS_NODEFILE >! proc_list
                0028 set ncpus = ( `wc -l proc_list | awk '{print $1}'` )
                0029 echo 'ncpus = ' $ncpus
                0030 set listvar = `cat proc_list`
                0031 #
                0032 foreach lv ($listvar)
                0033 echo 'creating /s/local/1/ecco-exe on ' $lv
                0034 rsh -n $lv rm -rf /s/local/1/ecco-exe
                0035 rsh -n $lv mkdir /s/local/1/ecco-exe
                0036 end
                0037 #
                0038 /usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/g77/bin/mpirun.ch_gm -machinefile proc_list --gm-kill 7 -v -np $ncpus ./mitgcmuv
                0039 #
                0040 set out=$?
                0041 echo 'end with status' $out
                0042