Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Dernière révisionLes deux révisions suivantes
en:documentation:tools:sge [2018/09/04 11:59] – [GridEngine : Submitting jobs] cpetiten:documentation:tools:sge [2020/08/25 15:58] – modification externe 127.0.0.1
Ligne 34: Ligne 34:
 ===== GridEngine : Submitting jobs ===== ===== GridEngine : Submitting jobs =====
  
-The normal way to submit jobs to the cluster is using the ''qsub'' command. For example: +<code> 
- +qsub programme <input >output
-<code bash+
-qsub myscript.sh+
 </code> </code>
  
-The many options to the ''qsub'' command are described in the manpage, ''man qsub'' 
- 
-For example a more complex submission: 
 <code bash> <code bash>
-qsub -V -m b -m e -e /path/to/workdir/ -o /path/to/workdir/ -q $QUEUE script+qsub -V -e /path/to/workdir/ -o /path/to/workdir/ -q $QUEUE script
  
 -V : export environment variables -V : export environment variables
--m b : mail @begin 
--m e : mail @end 
 -e : where to put error files -e : where to put error files
 -o : where to put output files -o : where to put output files
Ligne 54: Ligne 47:
 </code> </code>
  
-** Nevertheless, it is easier to directly submit to GridEngine a script containing the desired options**. You can follow the documentation on [[en:documentation:tutorials:submit|how to submit a job (full documentation)]]. Moreover take a look at [[documentation:clusters:batch&#les_files_d_attente|the list of available queues for submission]].+**It is simpler to submit a script to GridEngine, which will contain more options**.  
 + 
 +<note important>Some options don't work directly in CLI, you have to use a script (example: send mails beginning and end).</note> 
 + 
 +Voir [[documentation:tutorials:submit:accueil|complete documentation to submit a job]], as well as [[documentation:clusters:batch&#les_files_d_attente|the queue list]].
  
 ==== How to choose the adapted queues for my needs? ==== ==== How to choose the adapted queues for my needs? ====
Ligne 80: Ligne 77:
  
 <code>qstat -g c </code> <code>qstat -g c </code>
 +
 +  * display nodes status in a given queue: 
 +
 +<code>qstat -q <queue_name> -f </code>
  
     * display the running jobs of all users:      * display the running jobs of all users: