redirect stderr

This commit is contained in:
edoapra 2023-06-23 19:02:33 -07:00
parent 3b3e0c26ff
commit be5bc69a88
No known key found for this signature in database
GPG key ID: 48E12DA1EDE9E1B0

View file

@ -357,15 +357,15 @@ sync
if [ -z $USE_SLEEPLOOP ]; then
${MPIRUN} ${NWCHEM} ${INPUTFILE} 2> ${ERRORFILE} 1> ${OUTPUTFILE}
else
${NWCHEM_TOP}/QA/sleep_loopqa.sh $MPIRUN $NPOPT $NPROC $NWCHEM $INPUTFILE $OUTPUTFILE
${NWCHEM_TOP}/QA/sleep_loopqa.sh $MPIRUN $NPOPT $NPROC $NWCHEM $INPUTFILE 2> $ERRORFILE 1> $OUTPUTFILE
fi
runstatus=$?
else
$MPIRUN $NPOPT $NPROC $NWCHEM $INPUTFILE >& $OUTPUTFILE
$MPIRUN $NPOPT $NPROC $NWCHEM $INPUTFILE 2> $ERRORFILE 1> $OUTPUTFILE
runstatus=$?
fi
else
$NWCHEM $INPUTFILE >& $OUTPUTFILE
$NWCHEM $INPUTFILE 2> $ERRORFILE 1> $OUTPUTFILE
runstatus=$?
fi
[ -f $OUTPUTFILE ] && cp $OUTPUTFILE $TESTOUTPUTS/$OUTPUTFILE