From 46a26f755054d1c9ef4bf45652a4e576997d9aba Mon Sep 17 00:00:00 2001 From: alexandermath Date: Sun, 1 Oct 2023 09:14:10 +0000 Subject: [PATCH] Fixed bug in script to run test cases. --- pyscf_ipu/electron_repulsion/popcint/libcint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyscf_ipu/electron_repulsion/popcint/libcint.sh b/pyscf_ipu/electron_repulsion/popcint/libcint.sh index 32ee3b9..e0cd425 100755 --- a/pyscf_ipu/electron_repulsion/popcint/libcint.sh +++ b/pyscf_ipu/electron_repulsion/popcint/libcint.sh @@ -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 $@ \ No newline at end of file