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édentes Révision précédente
Prochaine révision
Révision précédente
zebulon [2013/09/30 12:03] – [Batch mode with SGE] adminzebulon [2013/11/21 14:06] (Version actuelle) – [Sequential Execution] admin
Ligne 6: Ligne 6:
 <code bash> <code bash>
  
-$ module avail Z+$ module avail Zebulon
  
  
-Z/8.5+Zebulon/8.5
  
 </code> </code>
Ligne 21: Ligne 21:
  
   - Connect to the interactive node i.e **mesoshared.univ-fcomte.fr**   - Connect to the interactive node i.e **mesoshared.univ-fcomte.fr**
-  - Open a Terminal and the load the software using the module command:<code bash>$ module load  Z/8.5</code>+  - Open a Terminal and the load the software using the module command:<code bash>$ module load  Zebulon/8.5</code>
   - At this point you can access to all Zebelon's programs and scripts, for example:   - At this point you can access to all Zebelon's programs and scripts, for example:
 <code bash>$ Zrun -h <code bash>$ Zrun -h
Ligne 45: Ligne 45:
 ===== Batch mode with SGE===== ===== Batch mode with SGE=====
  
-<note tip>Conenct and submit job from: **mesoseq.univ-fcomte.fr**</note>+==== Sequential Execution ==== 
 + 
 +<note tip>Connect and submit job from: **mesologin1.univ-fcomte.fr**</note> 
 + 
 +<file bash zebelon.sge> 
 + 
 +#!/bin/bash -l 
 + 
 +#$ -V  ## export ENV 
 + 
 +#$ -N test_zebulon  ## Script Name 
 + 
 +#$ -cwd   ## go to Wroking directory 
 + 
 +#$ -o $JOB_NAME.$JOB_ID.out  ## Default sdtout 
 + 
 +#$ -lh_vmem=2G    ## Use 2G/core      
 + 
 +module load Zebulon/8.5 
 + 
 +Zrun berkovich.inp 
 + 
 + 
 +</file> 
 + 
 +Submit to SGE: 
 + 
 +<code bash> 
 +qsub zebulon.sge 
 + 
 +</code> 
 + 
 + 
 +==== Parallel Execution (SMP) ==== 
 + 
 + 
 + 
 +<file bash zebelon.sge> 
 + 
 +#!/bin/bash -l 
 +#$ -V 
 +#$ -N test_zebulon 
 +#$ -cwd 
 +#$ -o $JOB_NAME.$JOB_ID.out 
 + 
 + 
 +#$ -pe openmp 8 ## request 8 cores    
 +#$  -l l_vmem=2G  ##request 1G/core  
 + 
 +module load Zebulon/8.5 
 + 
 +Zrun -smp $NSLOTS berkovich.inp 
 + 
 + 
 +</file> 
 + 
 +Submit to SGE: 
 + 
 +<code bash> 
 +qsub zebulon.sge 
 + 
 +</code>
  
 ====== Links ====== ====== Links ======
  • zebulon.1380542592.txt.gz
  • Dernière modification : 2015/02/25 08:45
  • (modification externe)