File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,22 @@ femurl="$base/dune-fem"
44exturl=" $base /extensions"
55
66export TMPDIR=/tmp
7- python3 -m venv dune-env
7+ python3 -m venv --system-site-packages dune-env
88. dune-env/bin/activate
99pip install scikit-build requests mpi4py
1010
11+ # this script is supposed to use petsc4py - let's make sure it can be
12+ # accessed from the site-packages
13+ testScript=" \
14+ import sys ;\
15+ import petsc4py ;\
16+ petsc4py.init(sys.argv) ;\
17+ from petsc4py import PETSc ;\
18+ print(petsc4py.__version__) ;\
19+ "
20+ python -c " $testScript "
21+
22+
1123# enable pre-compiled modules
1224export DUNE_ENABLE_PYTHONMODULE_PRECOMPILE=ON
1325
@@ -19,7 +31,8 @@ dunecontrol --only=dune-fem all
1931python -m dune.fem
2032cd fem_tutorial
2133pip list
22- /usr/bin/time python concepts.py
34+ /usr/bin/time python concepts.py &
35+ /usr/bin/time python externaleSolvers.py
2336cd ..
2437
2538# install polygongrid and test that can be used within dune-fem
You can’t perform that action at this time.
0 commit comments