mirror of https://gitlab.com/QEF/q-e.git
Image parallelization testing
Following the QE dev meeting, addition of 1 test for the image parallelization in ph.x
This commit is contained in:
parent
057ba43373
commit
ddb2f68620
|
@ -71,7 +71,7 @@ inputs_args = ('scf-dos-1.in' ,'1'), ('scf-dos-2.in' ,'2')
|
|||
|
||||
[ph_base/]
|
||||
program = PH
|
||||
inputs_args = ('c.scf.in', '1'), ('c.phG.in', '2'), ('ni.scf.in', '1'), ('ni.phX.in', '2'), ('si.scf.in', '1'), ('si.phG.in', '2'), ('si.phX.in', '2'), ('nipaw.scf.in', '1'), ('nipaw.phX.in', '2')
|
||||
inputs_args = ('c.scf.in', '1'), ('c.phG.in', '2'), ('ni.scf.in', '1'), ('ni.phX.in', '2'), ('si.scf.in', '1'), ('si.phG.in', '2'), ('si.phX.in', '2'), ('si.ph.in', '8'), ('nipaw.scf.in', '1'), ('nipaw.phX.in', '2')
|
||||
|
||||
[ph_metal/]
|
||||
program = PH
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,13 @@
|
|||
phonons of Si
|
||||
&inputph
|
||||
tr2_ph=1.0d-16,
|
||||
prefix='silicon',
|
||||
epsil=.true.,
|
||||
ldisp=.true.,
|
||||
amass(1)=28.08,
|
||||
fildyn='si.dyn.xml',
|
||||
fildvscf='dvscf',
|
||||
nq1=2,
|
||||
nq2=2,
|
||||
nq3=2
|
||||
/
|
|
@ -10,18 +10,18 @@
|
|||
|
||||
if [[ $QE_USE_MPI == 1 ]]; then
|
||||
export PARA_PREFIX="mpirun -np ${TESTCODE_NPROCS}"
|
||||
export PARA_SUFFIX=" "
|
||||
export PARA_SUFFIX_image=" -nimage 2"
|
||||
else
|
||||
unset PARA_PREFIX
|
||||
unset PARA_SUFFIX
|
||||
unset PARA_SUFFIX_image
|
||||
fi
|
||||
|
||||
# echo $0" "$@
|
||||
if [[ "$1" == "1" ]]
|
||||
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
|
||||
# echo "${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/pw.x < $2 > $3 2> $4"
|
||||
${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/pw.x < $2 > $3 2> $4
|
||||
if [[ -e CRASH ]]
|
||||
then
|
||||
cat $3
|
||||
|
@ -29,8 +29,8 @@ then
|
|||
elif [[ "$1" == "2" ]]
|
||||
then
|
||||
echo "Running PH ..."
|
||||
# echo "${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/ph.x ${PARA_SUFFIX} < $2 > $3 2> $4"
|
||||
${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/ph.x ${PARA_SUFFIX} < $2 > $3 2> $4
|
||||
# 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
|
||||
|
@ -80,5 +80,14 @@ then
|
|||
then
|
||||
cat $3
|
||||
fi
|
||||
elif [[ "$1" == "8" ]]
|
||||
then
|
||||
echo "Running PH ..."
|
||||
# echo "${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/ph.x ${PARA_SUFFIX_image} < $2 > $3 2> $4"
|
||||
${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/ph.x ${PARA_SUFFIX_image} < $2 > $3 2> $4
|
||||
if [[ -e CRASH ]]
|
||||
then
|
||||
cat $3
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue