Re: [Pympi-users] pyMPI interactively
Status: Alpha
Brought to you by:
patmiller
|
From: Pat M. <pat...@ll...> - 2005-09-26 21:56:10
|
> I was able to compile pyMPI once I took out the offending lines, as you suggested below.
>
> I actually had something that worked between two particular machines for a short while, but I broke it again. I'm in the middle of upgrading the entire cluster, so I'll make sure that I have everything the same on all machines.
>
> There are so many places that can cause havoc: selinux, iptables, rsh, lam, mpirun, python... Does anyone have a step-by-step check list for getting up and running, especially on a Fedora Core 4 machine? I'll help write it, if I ever get it working...
Doug,
did you change
int isatty(int filedes) __THROW {
return (filedes == 0 || filedes == 1 || filedes == 2);
}
to
int isatty(int filedes) {
return (filedes == 0 || filedes == 1 || filedes == 2);
}
I should likely change it to something safer (if less readable) like:
int isatty(int filedes)
#ifdef __THROW
__THROW
#endif
{
return (filedes == 0 || filedes == 1 || filedes == 2);
}
The test suite (from make check which is more extensive than PyMPITest.py
doesn't do a good job of testing interactive (and indeed, I diddn't build
a version --with-isatty when I did the release test!). I'm not sure how
to do that automatically.
Pat
--
Pat Miller | (925) 423-0309 | http://www.llnl.gov/CASC/people/pmiller
I have discovered that all human evil comes from this, man's being unable to
sit still in a room. -- Blaise Pascal, philosopher & mathematician (1623-1662)
|