Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
getdp
cim
Commits
86f0f082
Commit
86f0f082
authored
7 years ago
by
Nicolas Marsic
Browse files
Options
Downloads
Patches
Plain Diff
explaining how getdp and cim.py communicate in README + add BLAS for getdp in dependency.sh
parent
40e5eb07
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.txt
+15
-0
15 additions, 0 deletions
README.txt
dependencies.sh
+1
-0
1 addition, 0 deletions
dependencies.sh
with
16 additions
and
0 deletions
README.txt
+
15
−
0
View file @
86f0f082
...
@@ -42,6 +42,20 @@ Please run:
...
@@ -42,6 +42,20 @@ Please run:
cim.py -h
cim.py -h
for more information.
for more information.
Driving GetDP from cim.py
-------------------------
cim.py and GetDP are exchanging the following ONELAB variables:
angularFreqRe - the real part of the frequency
angularFreqIm - the imaginary part of the frequency
x() - the solution vector of the linear system
b() - the right hand side (RHS) of the linear system
imposeRHS - flag signalling if an other RHS should be imposed
doPostpro - flag signalling if only a post-processing should be done
doApply - flag signalling if x() should be applied to the linear system
fileName - name of the post-processing file
More information can be found in bin/solver.py. Furthermore, examples are
provided in example/maxwell_sibc/ and example/maxwell_linear/.
Dependencies
Dependencies
------------
------------
cim.py is a Python 2.7 script. It relies on the following modules:
cim.py is a Python 2.7 script. It relies on the following modules:
...
@@ -72,6 +86,7 @@ features:
...
@@ -72,6 +86,7 @@ features:
In other words, PETSc should be compiled without MPI, with complex algebra and
In other words, PETSc should be compiled without MPI, with complex algebra and
with a sequential version of MUMPS. GetDP can then be compiled with the
with a sequential version of MUMPS. GetDP can then be compiled with the
following options:
following options:
ENABLE_BLAS_LAPACK: ON
ENABLE_BUILD_DYNAMIC: ON
ENABLE_BUILD_DYNAMIC: ON
ENABLE_BUILD_SHARED: ON
ENABLE_BUILD_SHARED: ON
ENABLE_KERNEL: ON
ENABLE_KERNEL: ON
...
...
This diff is collapsed.
Click to expand it.
dependencies.sh
+
1
−
0
View file @
86f0f082
...
@@ -68,6 +68,7 @@ mkdir build
...
@@ -68,6 +68,7 @@ mkdir build
cd
build
cd
build
cmake
-DDEFAULT
=
0
-DENABLE_BUILD_DYNAMIC
=
1
-DENABLE_BUILD_SHARED
=
1
\
cmake
-DDEFAULT
=
0
-DENABLE_BUILD_DYNAMIC
=
1
-DENABLE_BUILD_SHARED
=
1
\
-DENABLE_KERNEL
=
1
-DENABLE_PETSC
=
1
-DENABLE_WRAP_PYTHON
=
1
\
-DENABLE_KERNEL
=
1
-DENABLE_PETSC
=
1
-DENABLE_WRAP_PYTHON
=
1
\
-DENABLE_BLAS_LAPACK
=
1
-DBLAS_LAPACK_LIBRARIES
=
$BLAS
/libopenblas.so
\
-DPython_ADDITIONAL_VERSIONS
=
"2.7"
..
-DPython_ADDITIONAL_VERSIONS
=
"2.7"
..
echo
"Compiling GetDP"
echo
"Compiling GetDP"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment