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
documentation:examples:scripts [2013/02/06 16:22] ltaulelldocumentation:examples:scripts [2013/02/07 09:03] (Version actuelle) – effacée ltaulell
Ligne 1: Ligne 1:
-===== Script de soumission tcsh ===== 
  
-<code bash batch.csh> 
-#!/bin/tcsh 
-# 
-set QUEUE="monointelbig" 
-# 
-# Attention changer l'arborescence en ce qu'il faut 
-set HDIR="/home/cicaluga/Support/FormationPSMN/SommeVecVecSeq" 
-set WORKDIR="/home/cicaluga/Support/FormationPSMN/SommeVecVecSeq" 
-# 
-/usr/local/sge/bin/lx24-amd64/qsub -V -m b -m e -e ${WORKDIR} -o ${WORKDIR} -q $QUEUE $HDIR/batchrun.csh 
- 
-</code> 
- 
-===== Script d'exécution tcsh ===== 
- 
-<code bash batchrun.csh> 
-#!/bin/tcsh 
-# 
-# Attention changer l'arborescence en ce qu'il faut 
-set EXECDIR="/home/cicaluga/Support/FormationPSMN/SommeVecVecSeq" 
-set WORKDIR="/home/cicaluga/Support/FormationPSMN/SommeVecVecSeq" 
-# 
-cd ${WORKDIR} 
- 
-#Eventuellement 
-#source /usr/local/modeles/gnu-4.6.3 
- 
-#$ -cwd 
-#$ -V 
- 
-${EXECDIR}/SommeVecVec.f90.exe 
- 
-</code> 
- 
-===== Script de soumission bash ===== 
- 
-<code bash batch.sh> 
-#!/bin/bash 
-# 
-QUEUE="monointelbig" 
-# 
-# Attention changer l'arborescence en ce qu'il faut 
-HDIR="/home/cicaluga/Support/FormationPSMN/SommeVecVecSeq" 
-WORKDIR="/home/cicaluga/Support/FormationPSMN/SommeVecVecSeq" 
-# 
-/usr/local/sge/bin/lx24-amd64/qsub -V -m b -m e -e ${WORKDIR} -o ${WORKDIR} -q $QUEUE $HDIR/batchrun.sh 
-</code> 
- 
-===== Script d'exécution bash ===== 
- 
-<code bash batchrun.sh> 
-#!/bin/bash 
-# 
-# Attention changer l'arborescence en ce qu'il faut 
-EXECDIR="/home/cicaluga/Support/FormationPSMN/SommeVecVecSeq" 
-WORKDIR="/home/cicaluga/Support/FormationPSMN/SommeVecVecSeq" 
-# 
-cd ${WORKDIR} 
-# 
-#Eventuellement 
-#/bin/tcsh /usr/local/modeles/gnu-4.6.3 
-# 
-#$ -cwd 
-#$ -V 
-# 
-${EXECDIR}/SommeVecVec.f90.exe 
- 
-</code> 
- 
-===== Script de soumission tcsh parallèle ===== 
- 
-<code bash batch.csh> 
-#!/bin/tcsh 
-# 
-set QUEUE="r410B_ib_test" 
-#QUEUE="dl165_ib_test" 
-#QUEUE="c6100_ib_test" 
-set SQUEUE="test" 
-set NPROC="2" 
-# 
-# Attention changer l'arborescence en ce qu'il faut 
-set HDIR="/home/cicaluga/Support/FormationPSMN/SommeVecVecPar" 
-set WORKDIR="/home/cicaluga/Support/FormationPSMN/SommeVecVecPar" 
-# 
-/usr/local/sge/bin/lx24-amd64/qsub -V -m b -m e -e ${WORKDIR} -o ${WORKDIR} -q $QUEUE -pe $SQUEUE $NPROC $HDIR/batchrun.csh 
-</code> 
- 
-===== Script d'exécution tcsh parallèle ===== 
- 
-<code bash batchrun.csh> 
-#!/bin/tcsh 
-# 
-# Attention changer l'arborescence en ce qu'il faut 
-set EXECDIR="/home/cicaluga/Support/FormationPSMN/SommeVecVecPar" 
-set WORKDIR="/home/cicaluga/Support/FormationPSMN/SommeVecVecPar" 
-# 
-set HOSTFILE=${TMPDIR}/machines 
-# 
-set PREFIX="/softs/openmpi-1.4.5-gcc-4.6.3" 
-set MPIRUN=${PREFIX}/bin/mpirun 
-# 
-cd ${WORKDIR} 
-# 
-#$ -cwd 
-#$ -V 
-# 
-$MPIRUN -v --prefix ${PREFIX} --hostfile ${HOSTFILE} -np ${NSLOTS} ${EXECDIR}/SommeVecVec.exe 
-</code> 
documentation/examples/scripts.1360167749.txt.gz · Dernière modification : 2020/08/25 15:58 (modification externe)