mpi install from source, tar files

33 Views Asked by At

I am installing mpi4py (following instructions here https://mpi4py.readthedocs.io/en/stable/install.html) and because of restrictions in my environment I have to build MPI from sources (following instructions here https://mpi4py.readthedocs.io/en/stable/appendix.html#building-mpi).

Since I am quite new to this, where should the openmpi .tar file sit when I run these instructions and in what directory in command line should I be in when I run them?:

$ tar -zxf openmpi-X.X.X tar.gz
$ cd openmpi-X.X.X
$ ./configure --prefix=/usr/local/openmpi
$ make all
$ make install

Does it matter where the .tar files are at all or does it matter where I run the tar command? I think I have encountered problems before based on where things were located so I just wanted to know exactly where to run this.

0

There are 0 best solutions below