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 | ||
technical:recipes:mpi4py-in-virtualenv [2024-03-07 14:38] – [DARWIN] anita | technical:recipes:mpi4py-in-virtualenv [2024-03-07 15:06] – [DARWIN] anita | ||
---|---|---|---|
Line 15: | Line 15: | ||
<WRAP center round info 60%> | <WRAP center round info 60%> | ||
- | On Caviness and DARWIN we would likely choose the Intel Python | + | On Caviness and DARWIN we would likely choose the Intel distribution |
As of November 2020, the majority of packages populating the Intel channel require baseline operating system libraries (like '' | As of November 2020, the majority of packages populating the Intel channel require baseline operating system libraries (like '' | ||
Line 296: | Line 296: | ||
===== DARWIN ===== | ===== DARWIN ===== | ||
- | The steps for completing this work on DARWIN are similar to those presented for Caviness and of course following the first part of the directory structure setup presented for Farber. We will instead use the Intel OneAPI | + | The steps for completing this work on DARWIN are similar to those presented for Caviness and of course following the first part to create |
<code bash> | <code bash> | ||
- | $ vpkg_require | + | $ vpkg_require intel-oneapi/ |
- | Adding package `openmpi/ | + | |
Adding dependency `gcc/ | Adding dependency `gcc/ | ||
+ | Adding package `intel-oneapi/ | ||
</ | </ | ||
Line 309: | Line 309: | ||
<code bash> | <code bash> | ||
- | $ conda create --prefix ${HOME}/ | + | $ conda create --prefix ${HOME}/ |
Collecting package metadata (current_repodata.json): | Collecting package metadata (current_repodata.json): | ||
Solving environment: | Solving environment: | ||
Line 318: | Line 318: | ||
# To activate this environment, | # To activate this environment, | ||
# | # | ||
- | # $ conda activate / | + | # $ conda activate / |
# | # | ||
# To deactivate an active environment, | # To deactivate an active environment, | ||
Line 329: | Line 329: | ||
<code bash> | <code bash> | ||
- | $ conda activate / | + | $ conda activate / |
- | (/ | + | (/ |
</ | </ | ||
Line 338: | Line 338: | ||
<code base> | <code base> | ||
- | (/ | + | (/ |
Collecting mpi4py | Collecting mpi4py | ||
Downloading mpi4py-3.1.5.tar.gz (2.5 MB) | Downloading mpi4py-3.1.5.tar.gz (2.5 MB) | ||
Line 354: | Line 354: | ||
</ | </ | ||
- | The '' | + | The '' |
<code bash> | <code bash> | ||
- | (/home/1001/ | + | (/home/1006/ |
mpi4py | mpi4py | ||
</ | </ | ||
Line 388: | Line 388: | ||
success: 0 | success: 0 | ||
versions: | versions: | ||
- | "20240305": | + | "20240307": |
- | description: | + | description: |
dependencies: | dependencies: | ||
- | | + | - intel-oneapi/2024 |
- | | + | |
</ | </ | ||
Line 406: | Line 405: | ||
[/ | [/ | ||
my-sci-app | my-sci-app | ||
- | * 20240305 | + | * 20240307 |
</ | </ | ||
Line 412: | Line 411: | ||
<code bash> | <code bash> | ||
- | $ vpkg_require my-sci-app/20240305 | + | $ vpkg_require my-sci-app/20240307 |
- | Adding dependency `openmpi/4.1.2` to your environment | + | Adding dependency `gcc/12.2.0` to your environment |
- | Adding dependency `intel-python/2022.1.0` to your environment | + | Adding dependency `intel-oneapi/2024.0.1.46` to your environment |
- | Adding package `my-sci-app/ | + | Adding package `my-sci-app/ |
- | (/ | + | (/ |
~/ | ~/ | ||
(/ | (/ | ||
mpi4py | mpi4py | ||
(/ | (/ | ||
- | / | + | / |
</ | </ | ||