Skip to content

Commit

Permalink
Merge pull request #155 from issp-center-dev/use_python3_for_test_te
Browse files Browse the repository at this point in the history
change python to python3 in tests for te
  • Loading branch information
k-ido committed Feb 1, 2024
2 parents 58f0476 + 33dd743 commit 4a9ea29
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
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
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
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
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 4a9ea29

Please sign in to comment.