mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-21 06:25:21 -04:00
trying to guess NWCHEM_TOP
This commit is contained in:
parent
c7c90b6e78
commit
0cd2aea437
2 changed files with 10 additions and 0 deletions
|
|
@ -30,6 +30,11 @@
|
|||
# A subdirectory of the current directory named scratchdir is deleted
|
||||
# and remade for each calculation, and deleted at job end.
|
||||
|
||||
if [[ -z "${NWCHEM_TOP}" ]]; then
|
||||
DIRQA=`dirname "$0"`
|
||||
MYPWD=`pwd`
|
||||
NWCHEM_TOP=`echo ${MYPWD}/${DIRQA} | sed -e 's/\/QA.*//' `
|
||||
fi
|
||||
# A subdirectory of the current directory name testoutputs is made
|
||||
# if necessary and all outputs are routed there. Existing outputs
|
||||
# are overwritten. The name of the output file is formed by replacing
|
||||
|
|
|
|||
|
|
@ -35,6 +35,11 @@
|
|||
# are overwritten. The name of the output file is formed by replacing
|
||||
# the trailing .nw with .out. In this directory is also put the
|
||||
# output of nwparse for the verified and the test outputs.
|
||||
if [[ -z "${NWCHEM_TOP}" ]]; then
|
||||
DIRQA=`dirname "$0"`
|
||||
MYPWD=`pwd`
|
||||
NWCHEM_TOP=`echo ${MYPWD}/${DIRQA} | sed -e 's/\/QA.*//' `
|
||||
fi
|
||||
|
||||
|
||||
if ($#argv == 0) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue