Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change python to python3 in tests for te #155

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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