Commit 9b980cb4 authored by Christos Georgiadis's avatar Christos Georgiadis
Browse files

fix

parent 09aba448
Pipeline #9851 passed with stages
in 50 minutes and 6 seconds
......@@ -28,7 +28,7 @@ import ctypes
import os
petscpath = os.environ["PETSC_DIR"]+"/"+os.environ["PETSC_ARCH"]+"/lib"
os.environ["LD_LIBRARY_PATH"] += ":"+petscpath
os.environ["LD_LIBRARY_PATH"] = os.environ.get("LD_LIBRARY_PATH","")+":"+petscpath
try:
lib = np.ctypeslib.load_library("libpetsc",petscpath)
except:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment