LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Brian Barrett (brbarret_at_[hidden])
Date: 2006-02-09 23:33:46


On Feb 9, 2006, at 6:36 PM, Ross Boylan wrote:

> On Wed, 2006-02-08 at 21:16 -0500, Brian Barrett wrote:
>> On Feb 3, 2006, at 7:25 PM, Ross Boylan wrote:
>>
>>> After this I can type stuff in as if cat is operating. But when
>>> I hit
>>> ctl-D, I just see "^D" on the terminal. ctl-C does make everything
>>> abort. The file foo is empty, though perhaps if I typed enough I
>>> could
>>> get a buffer to flush.
>>>
>>> I noticed an earlier post
>>> (http://www.lam-mpi.org/MailArchives/lam/2005/02/9803.php)
>>> referred to
>>> some problems with the handling of stdin in 7.1.1, the version I'm
>>> running (on an Apple Darwin cluster, OS X Panther). Is that the
>>> cause,
>>> or something else?
>>
>> If you are using LAM 7.1.1, standard input is going to be a bit more
>> broken than it should be. Could you try upgrading to LAM/MPI
>> 7.1.2b31 from the URL below and see if it helps? I'm pretty sure it
>> will, but if not we'll have to do some more digging. The URL for the
>> beta is:
>>
>> http://www.lam-mpi.org/beta/
> Wonderful! That fixed the problem.
>
> There was a warning about mixing versions. I had done a lamboot under
> the old version. It was easy to shut it down and restart.
>
> But---do I need to rebuild everything that uses lam? In particular, R
> uses MPI via a dynamically loaded library. Does that library need
> to be
> rebuilt, and if so will other users on the old lam find it doesn't
> work
> for them?

If LAM/MPI was built as static libraries, yes you will either need to
install the new version of LAM into a new location or recompile every
application that linked in the LAM libraries. If the R module linked
in the static libraries, then yes, it would have to be recompiled.
This is one of those places where shared libraries has some benefit -
LAM's public API has been pretty stable for a while, so generally
upgrades can happen without recompiling applications. Of course, it
does introduce the whole LD_LIBRARY_PATH issue ;).

Brian

-- 
   Brian Barrett
   LAM/MPI developer and all around nice guy
   Have a LAM/MPI day: http://www.lam-mpi.org/