Skip to content

Commit

Permalink
Fixed bug in script to run test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermath committed Oct 1, 2023
1 parent 20f62ea commit 46a26f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyscf_ipu/electron_repulsion/popcint/libcint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
clear
rm libcint.so

cc _libcint.c -shared -fpic -o libcint.so -lpoplar -lpoputil -fpermissive
g++ libcint.c -shared -fpic -o libcint.so -lpoplar -lpoputil -fpermissive
echo "Done compiling. Calling C code from python. "

XLA_IPU_PLATFORM_DEVICE_COUNT=1 TF_POPLAR_FLAGS=--show_progress_bar=true python libcint.py
XLA_IPU_PLATFORM_DEVICE_COUNT=1 TF_POPLAR_FLAGS=--show_progress_bar=true python libcint.py $@

0 comments on commit 46a26f7

Please sign in to comment.