rsnt_translations
57,772
edits
No edit summary |
No edit summary |
||
Line 46: | Line 46: | ||
<!--T:9--> | <!--T:9--> | ||
<b>Note:</b> If you had a virtual environment activated, it is important to deactivate it first, then load the module, before reactivating your virtual environment. | |||
<!--T:10--> | <!--T:10--> | ||
Line 61: | Line 61: | ||
and is accessible for your currently loaded python module: | and is accessible for your currently loaded python module: | ||
{{Command|python -c 'import mpi4py'}} | {{Command|python -c 'import mpi4py'}} | ||
If no errors are raised, then everything is | If no errors are raised, then everything is OK! | ||
<!--T:12--> | <!--T:12--> | ||
Line 73: | Line 73: | ||
== CPU == <!--T:14--> | == CPU == <!--T:14--> | ||
1. Write your python code, for instance broadcasting a numpy array: | 1. Write your python code, for instance, broadcasting a numpy array: | ||
{{File | {{File | ||
|name="mpi4py-np-bc.py" | |name="mpi4py-np-bc.py" |