Re: [OMPI devel] OpenMPI and R

2012-04-06 Thread Benedict Holland
Oh this actually does make a lot of sense. The kicker is that Rmpi doesn't like to use OMPI and really loves to use LAM so I have to use R in batch mode by running mpirun -np 12 and specify the host file. I have a bad feeling that this is loading the library 12 times, once for each R namespace.

Re: [OMPI devel] OpenMPI and R

2012-04-06 Thread Jeffrey Squyres
On Apr 5, 2012, at 9:07 PM, Benedict Holland wrote: > Oh how interesting and I hope this helps someone. Following another link, I > had to use: > > ./configure --prefix /usr --enable-shared --enable-static This makes sense. You were falling victim to the fact that R dlopens libmpi as a

Re: [OMPI devel] OpenMPI and R

2012-04-06 Thread TERRY DONTJE
Have you tried to compile and run a simple MPI program with your installed Open MPI? If that works then you need to figure out what is being done by the Makefile when it is "testing if installed package can be loaded" and try and reproduce the issue manually. BTW, I normally configure my

Re: [OMPI devel] OpenMPI and R

2012-04-05 Thread Benedict Holland
Oh how interesting and I hope this helps someone. Following another link, I had to use: ./configure --prefix /usr --enable-shared --enable-static when compiling this for Rmpi. Just curious, why isn't --enable-static a default option? ~Ben On Thu, Apr 5, 2012 at 7:59 PM, Benedict Holland <

Re: [OMPI devel] OpenMPI and R

2012-04-05 Thread Benedict Holland
So I am now back on this full time as I need this to work. OpenMPI 1.4.3 is deadlocking with Rmpi and I need the latest code. I still get the exact same problem. I configured it with a --prefix=/usr to get it to install everything in default directories and added /usr/lib/openmpi to my ldconfig. I

[OMPI devel] OpenMPI and R

2012-04-02 Thread Benedict Holland
Hi All, I am on ubuntu 11.10 and the only package that they have for OpenMPI is 1.4.3 and I noticed the latest was 1.5.5 and I decided to try to use it to get the Rmpi R package compiled against it. I failed. My R version is 2.15, the OpenMPI is 1.5.5. I compiled it and installed it but when I