From cfa46cbe87ca25a074e2275830c15b4d5e802c7a Mon Sep 17 00:00:00 2001 From: Qiming Sun Date: Wed, 27 Sep 2023 22:21:26 -0700 Subject: [PATCH] Update tests --- testsuite/test_int2c2e.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/testsuite/test_int2c2e.py b/testsuite/test_int2c2e.py index 18124a47..ba93f13e 100644 --- a/testsuite/test_int2c2e.py +++ b/testsuite/test_int2c2e.py @@ -3,8 +3,7 @@ import ctypes import numpy -_cint = ctypes.CDLL(os.path.abspath(os.path.join(__file__, '../../build/libcint.so')), - mode=os.RTLD_GLOBAL|os.RTLD_NOW) +_cint = ctypes.CDLL(os.path.abspath(os.path.join(__file__, '../../build/libcint.so'))) from pyscf import gto, lib @@ -59,7 +58,7 @@ def run(intor, comp=1, suffix='_sph', thr=1e-7): intor3 = 'c%s%s'%(intor,suffix) intor2 = 'c%s%s'%(intor,suffix) print(intor) - fn1 = getattr(_cint, intor) + fn1 = getattr(_cint, intor3) #fn2 = getattr(_cint, intor4) #cintopt = make_cintopt(mol._atm, mol._bas, mol._env, intor) cintopt = lib.c_null_ptr()