Difference between revisions of "Grid5000"

From HCL
Jump to: navigation, search
Line 6: Line 6:
 
** '''oarstat''' - queue status
 
** '''oarstat''' - queue status
 
** '''oarsub''' - job submission
 
** '''oarsub''' - job submission
*** interactive job
 
 
<source lang="bash">$ oarsub -I</source>
 
 
 
*** batch job <source lang="bash">$ oarsub path_to_batch_file</source>
 
 
** '''oardel''' - job removal
 
** '''oardel''' - job removal
 +
Interactive job on deployed images:
 +
<source lang="bash">
 +
$ oarsub -I -t deploy -l [/cluster=N/]nodes=N,walltime=HH[:MM[:SS]] [-p 'PROPERTY="VALUE"']
 +
</source>
 +
Batch job on installed images:
 +
<source lang="bash">
 +
$ oarsub BATCH_FILE -t allow_classic_ssh -l [/cluster=N/]nodes=N,walltime=HH[:MM[:SS]] [-p 'PROPERTY="VALUE"']
 +
</source>
 
* Each site has a separate NFS, therefore, to run an application on several sites at once, you need to copy it: scp, sftp, rsync.
 
* Each site has a separate NFS, therefore, to run an application on several sites at once, you need to copy it: scp, sftp, rsync.
 
* There is no access to Internet from computing nodes (external IPs should be registered on proxy), therefore, download/update your stuff at the access nodes.
 
* There is no access to Internet from computing nodes (external IPs should be registered on proxy), therefore, download/update your stuff at the access nodes.

Revision as of 08:32, 21 April 2010

https://www.grid5000.fr/mediawiki/index.php/Grid5000:Home

Tips and Tricks

  • Access is provided via access nodes: access.SITE.grid5000.fr. As soon as you are on one of the sites, you can directly ssh frontend node of any other site: frontend.SITE2.
  • Jobs are run from the frondend nodes, using a PBS-like system OAR. Basic commands:
    • oarstat - queue status
    • oarsub - job submission
    • oardel - job removal

Interactive job on deployed images:

$ oarsub -I -t deploy -l [/cluster=N/]nodes=N,walltime=HH[:MM[:SS]] [-p 'PROPERTY="VALUE"']

Batch job on installed images:

$ oarsub BATCH_FILE -t allow_classic_ssh -l [/cluster=N/]nodes=N,walltime=HH[:MM[:SS]] [-p 'PROPERTY="VALUE"']
  • Each site has a separate NFS, therefore, to run an application on several sites at once, you need to copy it: scp, sftp, rsync.
  • There is no access to Internet from computing nodes (external IPs should be registered on proxy), therefore, download/update your stuff at the access nodes.