Thanks, Ajay.  Although I initially felt the Windows choice was making things easier, it seems that I don't get warning or error messages when using dyn.load() WHEN I SHOULD.  Also, eventually, I need to learn to do this in a Linux system anyway.  Thanks for the recommendations, which I may return to if I can't resolve Linux in a couple more weeks.

John Joseph




-----Original Message-----
From: Ajay Ohri [mailto:ohri2007@gmail.com]
Sent: Mon 11/29/2010 10:57 PM
To: John Joseph
Cc: r-sig-hpc@r-project.org
Subject: Re: [R-sig-hpc] trouble installing Rmpi

good choice with windows. the how-tos and help is friendlier.

did you try SNOW or any of the DOSNOW packages

Ajay

Websites-
http://decisionstats.com






On Mon, Nov 22, 2010 at 10:53 PM, John Joseph <John.Joseph@utsa.edu> wrote:

> Thanks, Dirk.
>
> I built Open MPI BEFORE I got your advice.  I followed your advice
> immediately upon recieving it.
>
> Working safely from the Synaptic Package Manager that comes with Ubuntu
> 10.04,  I uninstalled all the local packages (I'm only using one computer,
> with 8 processors) of Lam MPI and Open MPI (which also forced the
> unistallation of Rmpi), but still get the same errors.
>
> Well, I discovered MPICH2 can be used to run Rmpi in Windows.  So I
> switched back to Windows and now have Rmpi running fine in Windows, and so
> I'll probably stay with Windows for my present project to avoid further
> delays.
>
> But, again, thanks for your help.
>
> John Joseph
>
>
>
> ________________________________
>
> From: Dirk Eddelbuettel [mailto:edd@debian.org]
> Sent: Fri 11/19/2010 7:42 AM
> To: John Joseph
> Cc: Dirk Eddelbuettel; r-sig-hpc@r-project.org
> Subject: RE: [R-sig-hpc] trouble installing Rmpi
>
>
>
>
> On 19 November 2010 at 07:07, John Joseph wrote:
> |
> | Thanks, Dirk.
> |
> | I appreciate this advice.  I didn't even know R packages could be loaded
> that
> | way,
> | so that's a good lesson for me.  I'm such a newbie.  Anyway, when I tried
> it,
>
> Maybe you should do a little more reading rather than random compiling.
> We are here (and on r-sig-debian) to help.  There are list archives. There
> are HOWTO. There are even (excellent) manuals for R (though they do not
> cover
> dpkg and apt-get).
>
> | Rmpi seemed to get installed propoerly (no warnings or error messages).
>  But,
> | then
> | when I went into R, and typed library(Rmpi), this is what I get:
> |
> | > library(Rmpi)
> | Error in dyn.load(file, DLLpath = DLLpath, ...) :
> |   unable to load shared library
> '/home/john/R/i486-pc-linux-gnu-library/2.11/
> | Rmpi/libs/Rmpi.so':
> |   liblam.so.4: cannot open shared object file: No such file or directory
> | Error in library(Rmpi) : .First.lib failed for 'Rmpi'
>
> Your local Rmpi shadows and hides the one I suggested.
>
> In short, *I* would uninstall all the local packages and do (as per my last
> email)
>
>        sudo apt-get install r-cran-rmpi
>
> | > q()
> | Save workspace image? [y/n/c]: n
> | Warning message:
> | .Last.lib failed in detach() for 'Rmpi', details:
> |   call: dyn.unload(file.path(libpath, "libs", paste("Rmpi",
> | .Platform$dynlib.ext,
> |   error: dynamic/shared library
> '/home/john/R/i486-pc-linux-gnu-library/2.11/
> | Rmpi/libs/Rmpi.so' was not loaded
> | john@john-desktop:~$
> |
> |
> | Prior to that I had tried several other times without success.  I learned
> that
> | I probably shouldn't have
> | installed openMPI 1.4.3 over the earlier version, 1.4.2, that came with
> my
> | Ubuntu 10.04.  So, after some
>
> For Pete's sake, why do you think you need to *build* Open MPI?
>
> I suggested to install a pre-built, tested, working binary.
>
> | research, I think I correctly uninstalled it with "make uninstall"
> command at
> | the build tree.  Didn't seem to
> | help.  I tried a few other things with no luck.  Do you think there's
> some
> | simple solution?  Thanks for your help.
>
> There is a simple solution.  Use the *package* via the *package management
> system* of your *Linux distribution*.
>
> You don't have to use those. If and when you know better you can always
> replace those, but currently I believe you are better served with the
> prebuilt ones.
>
> Hope this helps,  Dirk
>
>
> |
> | John Joseph
> |
> | -----Original Message-----
> | From: Dirk Eddelbuettel [mailto:edd@debian.org]
> | Sent: Thu 11/18/2010 3:09 PM
> | To: John Joseph
> | Cc: r-sig-hpc@r-project.org
> | Subject: Re: [R-sig-hpc] trouble installing Rmpi
> |
> |
> | On 18 November 2010 at 14:48, John Joseph wrote:
> | | I am new to Linux and parallel processing, and am having trouble
> installing
> | Rmpi.
> | [...]
> | | I am using Ubuntu 10.04.
> | |
> | | I would greatly appreciate any help you can give.
> |
> | Try
> |
> |         sudo apt-get install r-cran-rmpi
> |
> | which should also install Open MPI. LAM is deprecated in favour of Open
> MPI.
> |
> | Dirk
> |
> | --
> | Dirk Eddelbuettel | edd@debian.org | http://dirk.eddelbuettel.com <
> http://dirk.eddelbuettel.com/>
> |
> |
> |
>
> --
> Dirk Eddelbuettel | edd@debian.org | http://dirk.eddelbuettel.com <
> http://dirk.eddelbuettel.com/>
>
>
>
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-hpc mailing list
> R-sig-hpc@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-hpc
>
>
>




	[[alternative HTML version deleted]]

