You should specify the MPI4py program file at the mpirun command. Since you
don't have a hostfile yet, you don't need to specify it in the command.
Kostas
I guess we made some progress,however I think I still have a syntax
problem.
Right now I am still configuring the master node ,so I do not have a
hostfile made yet.so I am using the following command which returns a
python message from an unknown python program.
mpirun --allow-run-as-root -np 4 hostname
python2helloworld.py
python2helloworld.py
python2helloworld.py
python2helloworld.py
this tells me that the program ran 4 times, 1 oer core.
this is good.
however I do not know where this program file is located. I also do not
know how this python 2 file gets invoked .
my question is :how can I modifly this command line to specifly the proper
python program?
thanks neil
*Subject:* Re: [OMPI users] need help installing mpi4py on openmpi
Here are some instructions I have put together.
I am using Python 2 and Open MPI 2.1.2 so I changed the commands to work
for Python 3 and I tested them.
Hope it helps.
Regards,
Kostas
thanks, to all on this list for getting me this far.
my next step is to install mpi4py on the cluster master node.
I am looking for a suggested list of commands to do this.
notes
running openmpi 3.1.0
raspberry pi 3 b +
raspian stretch
thanks neil
--------------------------------------------------
Sent: Tuesday, May 29, 2018 8:03 PM
Subject: Re: [OMPI users] need help finding mpi for Raspberry pi Raspian
Streach
If your Linux distro does not have an Open MPI package readily available,
Post by Jeff Squyres (jsquyres)you can build Open MPI from source for an RPi fairly easily. Something
wget https://download.open-mpi.org/release/open-mpi/v3.1/openmpi-
3.1.0.tar.bz2
tar xf openmpi-3.1.0.tar.bz2
cd openmpi-3.1.0
./configure |& tee config.out
make -j |& tee make.out
sudo make install |& tee install.out
This will download, configure, build, and install Open MPI into the /usr/local tree.
./configure --prefix=/path/to/where/you/want/it/to/install |& tee config.out
Then do the make/sudo make again.
Post by Neil k8itI am starting to build a Raspberry pi cluster with MPI and I want to
use the latest Raspian Streach Lite version from the raspberrypi.org
website. After a lot of trials of watching youtubes on how to do this, I
have found that the new version of Raspian Streach LITE is not compatible .
I am looking for details instructions on how to install MPIwith this latest
version of Raspian Streach Lite. I am using the newset hardware,RPI 3 B+
which requires this OS to use the features on the -new chipset
Thanks
Neil
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
--
Jeff Squyres
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
------------------------------
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users