Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
technical:recipes:mpi4py-in-virtualenv [2024-03-07 16:51] – [DARWIN] anitatechnical:recipes:mpi4py-in-virtualenv [2024-03-07 17:04] (current) – [Building mpi4py] anita
Line 356: Line 356:
 </code> </code>
  
-The ''--no-binary :all:'' flag prohibits the installation of any packages that include binary components, effectively forcing a rebuild of mpi4py from source.  The ''--compile'' flag pre-processes all Python scripts in the mpi4py package (versus allowing them to be processed and cached later).  The environment now includes support for mpi4py linked against the ''Intel oneAPI mpi'' library on DARWIN:+The ''--no-binary :all:'' flag prohibits the installation of any packages that include binary components, effectively forcing a rebuild of mpi4py from source.  The ''--compile'' flag pre-processes all Python scripts in the mpi4py package (versus allowing them to be processed and cached later).  The environment now includes support for mpi4py linked against the ''''openmpi/5.0.2:intel-oneapi-2024'''' library on DARWIN:
  
 <code bash> <code bash>
Line 393: Line 393:
               description: environment built Mar 7, 2024               description: environment built Mar 7, 2024
               dependencies:               dependencies:
 +                  - openmpi/5.0.2:intel-oneapi-2024
                   - intel-oneapi/2024                   - intel-oneapi/2024
 </code> </code>
Line 416: Line 417:
 Adding dependency `gcc/12.2.0` to your environment Adding dependency `gcc/12.2.0` to your environment
 Adding dependency `intel-oneapi/2024.0.1.46` to your environment Adding dependency `intel-oneapi/2024.0.1.46` to your environment
 +Adding dependency `ucx/1.13.1` to your environment
 +Adding dependency `openmpi/5.0.2:intel-oneapi-2024` to your environment
 Adding package `my-sci-app/20240307` to your environment Adding package `my-sci-app/20240307` to your environment
 (/home/1006/conda-envs/my-sci-app/20240307)$ which python3 (/home/1006/conda-envs/my-sci-app/20240307)$ which python3
Line 422: Line 425:
 mpi4py             3.1.5 mpi4py             3.1.5
 (/home/1006/conda-envs/my-sci-app/20240305)$ which mpirun (/home/1006/conda-envs/my-sci-app/20240305)$ which mpirun
-/opt/shared/intel-oneapi/2024.0.1.46/mpi/2021.11/bin/mpirun+/opt/shared/openmpi/5.0.2-intel-oneapi-2024/bin/mpirun
 </code> </code>
  
  • technical/recipes/mpi4py-in-virtualenv.1709848303.txt.gz
  • Last modified: 2024-03-07 16:51
  • by anita