mirror of https://gitlab.com/QEF/q-e.git
If the code crash in the test-suite, also show the output of the code (Courtesy of Martin).
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12707 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
4a5d347421
commit
25e10a883d
|
@ -27,11 +27,19 @@ then
|
|||
echo "Running PW ..."
|
||||
echo "${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/pw.x ${PARA_SUFFIX} < $2 > $3 2> $4"
|
||||
${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/pw.x ${PARA_SUFFIX} < $2 > $3 2> $4
|
||||
if [[ -e CRASH ]]
|
||||
then
|
||||
cat $3
|
||||
fi
|
||||
elif [[ "$1" == "2" ]]
|
||||
then
|
||||
echo "Running PH ..."
|
||||
echo "${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/ph.x < $2 > $3 2> $4"
|
||||
${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/ph.x < $2 > $3 2> $4
|
||||
if [[ -e CRASH ]]
|
||||
then
|
||||
cat $3
|
||||
fi
|
||||
echo "Gather results in save"
|
||||
python pp.py < pp.in
|
||||
elif [[ "$1" == "3" ]]
|
||||
|
@ -39,6 +47,10 @@ then
|
|||
echo "Running EPW ..."
|
||||
echo "${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/epw.x ${PARA_SUFFIX} < $2 > $3 2> $4"
|
||||
${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/epw.x ${PARA_SUFFIX} < $2 > $3 2> $4
|
||||
if [[ -e CRASH ]]
|
||||
then
|
||||
cat $3
|
||||
fi
|
||||
fi
|
||||
|
||||
#rm -f input_tmp.in
|
||||
|
|
Loading…
Reference in New Issue