Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-09-22 Thread Gilles Gouaillardet
Great it is finally working ! nvml and opencl are only used by hwloc, and i do not think Open MPI is using these features, so i suggest you go ahead, reconfigure and rebuild Open MPI and see how things go Cheers, Gilles On 9/22/2017 4:59 PM, Tim Jim wrote: Hi Gilles, Yes, you're rig

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-09-22 Thread Tim Jim
Hi Gilles, Yes, you're right. I wanted to double check the compile but didn't notice I was pointing to the exec I compiled from a previous Make. mpicc now seems to work, running mpirun hello_c gives: Hello, world, I am 0 of 4, (Open MPI v3.0.0, package: Open MPI tjim@DESKTOP-TA3P0PS Distribution

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-09-22 Thread Gilles Gouaillardet
Was there an error in the copy/paste ? The mpicc command should be mpicc /opt/openmpi/openmpi-3.0.0_src/examples/hello_c.c Cheers, Gilles On Fri, Sep 22, 2017 at 3:33 PM, Tim Jim wrote: > Thanks for the thoughts and comments. Here is the setup information: > OpenMPI Ver. 3.0.0. Please see at

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-09-21 Thread Sylvain Jeaugey
The issue is related to openCL, not NVML. So the correct export would be "export enable_opencl=no" (you may want to "export enable_nvml=no" as well). On 09/21/2017 12:32 AM, Tim Jim wrote: Hi, I tried as you suggested: export nvml_enable=no, then reconfigured and ran make all install again,

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-09-21 Thread Jeff Squyres (jsquyres)
A few things: 0. Rather than go a few more rounds of "how was Open MPI configured", can you send all the information listed here: https://www.open-mpi.org/community/help/ That will tell us a lot about exactly how your Open MPI was configured, installed, etc. 1. Your mpirun error is becaus

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-09-21 Thread Tim Jim
Hi, I tried as you suggested: export nvml_enable=no, then reconfigured and ran make all install again, but mpicc is still producing the same error. What should I try next? Many thanks, Tim On 21 September 2017 at 16:12, Gilles Gouaillardet wrote: > Tim, > > > do that in your shell, right befor

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-09-21 Thread Gilles Gouaillardet
Tim, do that in your shell, right before invoking configure. export nvml_enable=no ./configure ... make && make install you can keep the --without-cuda flag (i think this is unrelated though) Cheers, Gilles On 9/21/2017 3:54 PM, Tim Jim wrote: Dear Gilles, Thanks for the mail - where

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-09-21 Thread Tim Jim
Dear Gilles, Thanks for the mail - where should I set export nvml_enable=no? Should I reconfigure with default cuda support or keep the --without-cuda flag? Kind regards, Tim On 21 September 2017 at 15:22, Gilles Gouaillardet wrote: > Tim, > > > i am not familiar with CUDA, but that might help

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-09-20 Thread Gilles Gouaillardet
Tim, i am not familiar with CUDA, but that might help can you please export nvml_enable=no and then re-configure and rebuild Open MPI ? i hope this will help you Cheers, Gilles On 9/21/2017 3:04 PM, Tim Jim wrote: Hello, Apologies to bring up this old thread - I finally had a chance

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-09-20 Thread Tim Jim
Hello, Apologies to bring up this old thread - I finally had a chance to try again with openmpi but I am still have trouble getting it to run. I downloaded version 3.0.0 hoping it would solve some of the problems but on running mpicc for the previous test case, I am still getting an undefined refe

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-05-23 Thread Gilles Gouaillardet
Tim, On 5/18/2017 2:44 PM, Tim Jim wrote: In summary, I have attempted to install OpenMPI on Ubuntu 16.04 to the following prefix: /opt/openmpi-openmpi-2.1.0. I have also manually added the following to my .bashrc: export PATH="/opt/openmpi/openmpi-2.1.0/bin:$PATH" MPI_DIR=/opt/openmpi/open

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-05-23 Thread Tim Jim
Thanks for the thoughts, I'll give it a go. For reference, I have installed it in the opt directory, as that is where I have kept my installs currently. Will this be a problem when calling mpi from other packages? Thanks, Tim On 24 May 2017 06:30, "Reuti" wrote: > Hi, > > Am 23.05.2017 um 05:03

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-05-23 Thread Reuti
Hi, Am 23.05.2017 um 05:03 schrieb Tim Jim: > Dear Reuti, > > Thanks for the reply. What options do I have to test whether it has > successfully built? LIke before: can you compile and run mpihello.c this time – all as ordinary user in case you installed the Open MPI into something like $HOM

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-05-22 Thread Tim Jim
Dear Reuti, Thanks for the reply. What options do I have to test whether it has successfully built? Thanks and kind regards. Tim On 22 May 2017 at 19:39, Reuti wrote: > Hi, > > > Am 22.05.2017 um 07:22 schrieb Tim Jim : > > > > Hello, > > > > Thanks for your message. I'm trying to get this to

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-05-22 Thread Reuti
Hi, > Am 22.05.2017 um 07:22 schrieb Tim Jim : > > Hello, > > Thanks for your message. I'm trying to get this to work on a single > machine. Ok. > How might you suggest getting OpenMPIworking without python and > CUDA? It looks like it's detected automatically. It should be possible to disab

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-05-21 Thread Tim Jim
Hello, Thanks for your message. I'm trying to get this to work on a single machine. How might you suggest getting OpenMPIworking without python and CUDA? I don't recall setting anything for either, as the only command I had run was "./configure --prefix=/opt/openmpi/openmpi-2.1.0" - did it possibl

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-05-21 Thread Reuti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Am 18.05.2017 um 07:44 schrieb Tim Jim: > Hello, > > I have been having some issues with trying to get OpenMPI working with > mpi4py. I've tried to break down my troubleshooting into a few chunks below, > and I believe that there are a few, di

[OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-05-17 Thread Tim Jim
Hello, I have been having some issues with trying to get OpenMPI working with mpi4py. I've tried to break down my troubleshooting into a few chunks below, and I believe that there are a few, distinct issues that need solving. Following some troubleshooting in the following link: https://bitbucket