Skip to content

Commit 9910d32

Browse files
committed
NWChem+Chimbuko Docker image now calls mpirun with --oversubscribe to allow running on <5 cores
1 parent e7eabd9 commit 9910d32

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docker/ubuntu18.04/openmpi4.0.4/Dockerfile.chimbuko.nwchem

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y gdb emacs-nox vim
2323

2424
WORKDIR /
2525

26-
RUN echo "INVALIDATE_6" > /dev/null
26+
RUN echo "INVALIDATE_7" > /dev/null
2727
COPY run_nwchem_chimbuko.sh /
2828
COPY sos_filter.txt /
2929
COPY chimbuko_config.templ /

docker/ubuntu18.04/openmpi4.0.4/run_nwchem_chimbuko.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,16 @@ fi
9797
if [[ "$ADIOS_MODE" == "SST" || "$ADIOS_MODE" == "BP4" ]]
9898
then
9999
echo "Launch Application with anomaly detectors"
100-
eval "mpirun --allow-run-as-root -n ${NMPIS} ${ad_cmd} &"
100+
eval "mpirun --oversubscribe --allow-run-as-root -n ${NMPIS} ${ad_cmd} &"
101101
sleep 5
102102

103-
mpirun --allow-run-as-root -n $NMPIS ${TAU_EXEC} nwchem ethanol_md.nw 2>&1 | tee chimbuko/logs/nwchem.log
103+
mpirun --oversubscribe --allow-run-as-root -n $NMPIS ${TAU_EXEC} nwchem ethanol_md.nw 2>&1 | tee chimbuko/logs/nwchem.log
104104
else
105105
echo "Use BP mode"
106106
if ! $HAS_BPFILE
107107
then
108108
echo "Run NWChem"
109-
mpirun --allow-run-as-root -n $NMPIS ${TAU_EXEC} nwchem ethanol_md.nw 2>&1 | tee logs/nwchem.log
109+
mpirun --oversubscribe --allow-run-as-root -n $NMPIS ${TAU_EXEC} nwchem ethanol_md.nw 2>&1 | tee logs/nwchem.log
110110
fi
111111
echo "Run anomaly detectors"
112112
eval "mpirun --allow-run-as-root -n ${NMPIS} ${ad_cmd} &"

0 commit comments

Comments
 (0)