Skip to content

Commit

Permalink
Fix ground state interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Hollas committed Dec 12, 2023
1 parent 276e56d commit bc648bc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions interfaces/BAGEL/r.bagel
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/bin/bash
set -u

# This script is called by ABIN as:
# $ BAGEL-SH/r.bagel-sh [timestep] 001 < state.dat
# $ BAGEL/r.bagel <timestep> <ibead>

# You should't need to modify this file.
# Specification of CAS wavefunction is in file "bagel.inp"
set -u
# This script is used for the ground state MD.
nstate=1

cd "$(dirname "$0")" || exit 1
if [[ ! -f bagel_common.sh ]];then
Expand Down Expand Up @@ -138,5 +140,4 @@ if [[ ${error:-false} = "true" ]]; then
>&2 echo "Calculation converged with looser tresholds for timestep $timestep"
fi

cat ../state.dat >> state.dat.all
rm ../state.dat "$geom"
rm "$geom"

0 comments on commit bc648bc

Please sign in to comment.