Trouble installing mpi4py
Donghan Wang
donghanw at cs.cmu.edu
Thu Aug 8 13:48:10 EDT 2019
Hi George,
I have good experience using Conda to handle dependencies. In this case,
you can do:
. /opt/miniconda3/etc/profile.d/conda.s # enable conda
conda create --name mpi4py python=3.6 # create a new env, namely mpi4py
conda activate mpi4py
conda install mpi4py
pip install tensorflow # or pip install tensorflow-gpu
git clone https://github.com/openai/baselines.git
cd baselines
pip install -e .
# optionally test the installation
pip install pytest pandas matplotlib gym[atari]
pytest
Hope it helps.
Thanks,
Jarod
On Thu, Aug 8, 2019 at 1:32 PM Predrag Punosevac <predragp at andrew.cmu.edu>
wrote:
> I just had a quick look. Software appears to be untested by upstream
> on Red Hat derivatives which we use in the lab. I would firstly try to
> install the software on a spear laptop of a desktop running one of
> tested OSs (Ubunut or OS X). It that works and if software looks
> useful you should add yourself to one of the developer mailing list
> and we could try to install it on a Red Hat.
>
> Nuclear option is that we use singularity
>
> https://sylabs.io/docs/
>
> to run Ubuntu kernel in Red Hat userland if that is the only way to
> install things.
>
> Note that most large government labs in U.S. use Red Hat just like we
> do so upstream should get their act together.
>
> Predrag
>
> On Thu, Aug 8, 2019 at 1:06 PM George Stoica <gis at andrew.cmu.edu> wrote:
> >
> > Hi All,
> >
> > I hope everything is well.
> >
> > Apologies if this is not the correct place to ask this question, this is
> my first time posting.
> >
> > I am trying to work with the openai baselines repository and need to
> install the mpi4py dependency for it. Unfortunately, I'm having a lot of
> trouble installing it, and none of the solutions I could find online appear
> to be working. I was wondering if anyone has faced this issue/how you were
> able to resolve it?
> >
> > Thanks very much for your help!
> > George
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.srv.cs.cmu.edu/pipermail/autonlab-users/attachments/20190808/40642f85/attachment-0001.html>
More information about the Autonlab-users
mailing list