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