Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docs.it4i.cz
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCS
docs.it4i.cz
Merge requests
!161
Gajdusek cleaning
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Gajdusek cleaning
gajdusek_clean
into
master
Overview
0
Commits
37
Pipelines
0
Changes
1
Merged
Pavel Gajdušek
requested to merge
gajdusek_clean
into
master
7 years ago
Overview
0
Commits
37
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
2f2b76e7
Prev
Next
Show latest version
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
2f2b76e7
mdlint
· 2f2b76e7
Pavel Gajdušek
authored
7 years ago
docs.it4i/salomon/software/mpi/mpi4py-mpi-for-python.md
+
2
−
2
Options
@@ -40,8 +40,8 @@ OpenMPI/1.8.6-GNU-5.1.0-2.25 OpenMPI/1.8.8-GNU-5.1.0-2.25 OpenMPI/1.10.1-GN
You need to import MPI to your python program. Include the following line to the python script:
```
console
from mpi4py import MPI
```
python
from
mpi4py
import
MPI
```
The MPI4Py enabled python programs
[
execute as any other OpenMPI
](
Running_OpenMPI/
)
code.The simpliest way is to run
Loading