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/17 14:39] – [Submission script Gaussian 16] tjiangfaq:chimie:gaussian [2022/03/03 16:29] (Version actuelle) – [Submission script Gaussian 16] tjiang
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 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.1605623956.txt.gz · Dernière modification : 2020/11/17 14:39 de tjiang