Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fluidparticles
MigFlow
Commits
9b980cb4
Commit
9b980cb4
authored
Oct 14, 2021
by
Christos Georgiadis
Browse files
fix
parent
09aba448
Pipeline
#9851
passed with stages
in 50 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
python/petsclsys.py
View file @
9b980cb4
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment