Ceci est une ancienne révision du document !


Script de soumission tcsh

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

Script d'exécution tcsh

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

Script de soumission 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

Script d'exécution 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

Script de soumission tcsh parallèle

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
documentation/examples/scripts.1360167584.txt.gz · Dernière modification : 2020/08/25 15:58 (modification externe)