Submitting Grid Job at TeraGrid

Creating Grid Proxy


grid-proxy-init

$ grid-proxy-init
Your identity: [your cert info]
Enter GRID pass phrase for this identity:
Creating proxy .................................................................................................. Done
Your proxy is valid until: Wed Apr  7 04:10:14 2010

grid-proxy-info

$ grid-proxy-info
subject  : [subject info]
issuer   : [issuer info]
identity : [identity info]
type     : Proxy draft (pre-RFC) compliant impersonation proxy
strength : 512 bits
path     : /tmp/x509up_u699
timeleft : 17:55:43

How to submit a job for 2D, 3D Solver (CFD)


An example for 2D solver

Creating a RSL file (script for job)
$ cat 2d_comp.gt2.rsl
&
(directory=[Home directory]/JOB/test040710)
(executable=[Home directory]/2D_Comp-2.0/2D_Comp-2.0)
(arguments= -mesh eAIRS_naca15.msh -param endowed.inp )
(stdout=2D_Comp-2.0.out)
(stderr=2D_Comp-2.0.err)

The directory specified in the above script is where the input files can be found and where the output files will be created. So, for script to run, you will need to create a directory called JOB and test040710 and put the files eAIRS_naca15.msh and endowed.inp into the test040710 directory since those are the files we specified as arguments for the CFD code.

$ cat 2d_incomp.gt2.rsl
&
(directory=[Home directory]/JOB/test_2d_incomp)
(executable=[Home directory]/2D_Incomp-2.0/2D_Incomp-2.0)
(arguments= -mesh eAIRS_naca15.msh -param endowed.inp )
(stdout=2D_Incomp-2.0.out)
(stderr=2D_Incomp-2.0.err)
Submitting the job
$ globusrun -r ranger.tacc.teragrid.org -f 2d_comp.gt2.rsl
$ globusrun -r ranger.tacc.teragrid.org -f 2d_incomp.gt2.rsl

\[Not working\]
An example for 3D Solver (MPI code) with Globus Toolkit

Creating a RSL file (script for job)
Submitting the job
globusrun-ws  -submit  -b  -F ranger.tacc.teragrid.org -Ft SGE -f 3d.rsl.xml

An example for 3D Solver (MPI code) with SGE (qsub) at Ranger

Creating a Job Script
Submitting the job
$ qsub jong_mpi.qsub