Skip to content

Commit

Permalink
[fix] remove constrains on mpi size with vasp again
Browse files Browse the repository at this point in the history
  • Loading branch information
the-hampel committed Apr 30, 2024
1 parent 48efe10 commit 3d50d12
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions bin/vasp_dmft.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Usage: vasp_dmft [-n <number of cores>] -i <number of iterations> -j <number of
<dmft_script.py> must provide an importable function 'dmft_cycle()'
which is invoked once per DFT+DMFT iteration. If the script name is
omitted the default name 'csc_dmft.py' is used.
"
}

Expand Down Expand Up @@ -119,9 +119,8 @@ echo " VASP version: $VASP_VERSION"
echo " Script name: $DMFT_SCRIPT"

rm -f vasp.lock STOPCAR
# run in serial and use OMP_NUM_THREADS here for vasp >=6.2
# otherwise set to -np $NPROC
stdbuf -o 0 $MPIRUN_CMD -np 1 "$VASP_DIR" &
# run in serial and use OMP_NUM_THREADS here for vasp >=6.2 in case there are problems
stdbuf -o 0 $MPIRUN_CMD -np $NPROC "$VASP_DIR" &


$MPIRUN_CMD -np $NPROC @TRIQS_PYTHON_EXECUTABLE@ -m triqs_dft_tools.converters.plovasp.sc_dmft $(jobs -p) $NITER $NDFTITER $DMFT_SCRIPT 'plo.cfg' $VASP_VERSION || kill %1
Expand Down

0 comments on commit 3d50d12

Please sign in to comment.