Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
software:mpi4py:caviness [2020-04-23 12:45] – anita | software:mpi4py:caviness [2020-11-02 12:03] – [Recipes] anita | ||
---|---|---|---|
Line 82: | Line 82: | ||
</ | </ | ||
- | and modify it for your application. There are several ways to communicate the number and layout of worker processes. In this example, we will modify the job script to specify a single node and 4 cores using ''# | + | and modify it for your application. There are several ways to communicate the number and layout of worker processes. In this example, we will modify the job script to specify a single node and 4 cores using ''# |
<code bash> | <code bash> | ||
Line 147: | Line 147: | ||
[3] [ 0. 2. 4. 6. 8. 10. 12. 14. 16. 18. 20. 22. 24. 26. 28. 30.] | [3] [ 0. 2. 4. 6. 8. 10. 12. 14. 16. 18. 20. 22. 24. 26. 28. 30.] | ||
</ | </ | ||
+ | |||
+ | ===== Recipes ===== | ||
+ | If you need to build a Python virtualenv based on a collection of Python modules including mpi4py, then you will need to follow this recipe to get a properly-integrated mpi4py module. | ||
+ | |||
+ | * [[technical: |