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
faq:chimie:gaussian [2020/11/10 10:27] – [Submission script Gaussian 16] tjiangfaq:chimie:gaussian [2022/03/03 16:29] (Version actuelle) – [Submission script Gaussian 16] tjiang
Ligne 47: Ligne 47:
 hostname hostname
  
-HOME="${SGE_O_WORKDIR}"+HOMEDIR="${SGE_O_WORKDIR}"
 # Replace 'home' by 'scratch', from SGE_O_WORKDIR, store to SCRATCHDIR # Replace 'home' by 'scratch', from SGE_O_WORKDIR, store to SCRATCHDIR
 # check if scratch exist, create or complain # check if scratch exist, create or complain
Ligne 63: Ligne 63:
     mkdir -p "${SCRATCHDIR}"     mkdir -p "${SCRATCHDIR}"
 else else
-    echo "/scratch not found, cannot create ${SCRATCHDIR}, fall back to current directory+    echo "/scratch not found, cannot create ${SCRATCHDIR}" 
-    SCRATCHDIR="${SGE_O_WORKDIR}/scratch/"+    exit 1
 fi fi
  
 CalcDir="${SCRATCHDIR}" CalcDir="${SCRATCHDIR}"
 +echo "Creating scratch for this job: ${SCRATCHDIR}"
 mkdir -p "${CalcDir}" mkdir -p "${CalcDir}"
  
Ligne 111: Ligne 112:
 ls -al ls -al
  
-echo "time ${Gaussian} < ${job}.${ExtIn} > ${HOMEDIR}/${job}.${ExtOut}"+#echo "time ${Gaussian} < ${job}.${ExtIn} > ${HOMEDIR}/${job}.${ExtOut}"
  
 #/usr/bin/time ${Gaussian} < ${job}.${ExtIn} > ${HOMEDIR}/${job}.${ExtOut} #/usr/bin/time ${Gaussian} < ${job}.${ExtIn} > ${HOMEDIR}/${job}.${ExtOut}
Ligne 125: Ligne 126:
 #copy back everything including the huge rwf files, normally we don't need it #copy back everything including the huge rwf files, normally we don't need it
 #cp -- * "${HOMEDIR}/" #cp -- * "${HOMEDIR}/"
 +cp -- outputfiles_only "${HOMEDIR}/"
  
 # final cleanup (commented during debug) # final cleanup (commented during debug)
faq/chimie/gaussian.1605004079.txt.gz · Dernière modification : 2020/11/10 10:27 de tjiang