Skip to content

Commit

Permalink
change python to python3 in tests for te
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yoshimi committed Feb 1, 2024
1 parent 8540c5a commit 33dd743
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/te_hubbard_chain_interall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

mkdir -p te_hubbard_chain_interall/
cd te_hubbard_chain_interall
python "$1/test/testTECalc.py" -p "../../src/HPhi" -mpi "${MPIRUN}"
python3 "$1/test/testTECalc.py" -p "../../src/HPhi" -mpi "${MPIRUN}"

# Check value: flct
cat > reference.dat <<EOF
Expand Down
2 changes: 1 addition & 1 deletion test/te_hubbard_chain_interall_diagonal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

mkdir -p te_hubbard_chain_interall_diagonal/
cd te_hubbard_chain_interall_diagonal
python "$1/test/testTECalc.py" -p "../../src/HPhi" -mpi "${MPIRUN}" -t "Diagonal"
python3 "$1/test/testTECalc.py" -p "../../src/HPhi" -mpi "${MPIRUN}" -t "Diagonal"

# Check value: flct
cat > reference.dat <<EOF
Expand Down
2 changes: 1 addition & 1 deletion test/te_kondo_chain_interall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

mkdir -p te_kondo_chain_interall/
cd te_kondo_chain_interall
python "$1/test/testTECalc.py" -p "../../src/HPhi" -mpi "${MPIRUN}" -m "Kondo"
python3 "$1/test/testTECalc.py" -p "../../src/HPhi" -mpi "${MPIRUN}" -m "Kondo"

# Check value: flct
cat > reference.dat <<EOF
Expand Down
2 changes: 1 addition & 1 deletion test/te_spin_chain_interall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

mkdir -p te_spin_chain_interall/
cd te_spin_chain_interall
python "$1/test/testTECalc.py" -p "../../src/HPhi" -mpi "${MPIRUN}" -m "Spin"
python3 "$1/test/testTECalc.py" -p "../../src/HPhi" -mpi "${MPIRUN}" -m "Spin"

# Check value: SS
cat > reference.dat <<EOF
Expand Down

0 comments on commit 33dd743

Please sign in to comment.