[petsc-maint #38919] Re: stupid, stupid, stupid MPI.py

2009-12-14 Thread Barry Smith
This is the help message that has always been there help.addArgument('MPI', '-with-mpi- shared=bool', nargs.ArgBool(None, None, 'Try to use shared MPI libraries')) Note the word TRY! How can you TRY to use shared MPI libraries if you don't build

[petsc-maint #38919] Re: stupid, stupid, stupid MPI.py

2009-12-14 Thread Barry Smith
On Dec 14, 2009, at 8:16 AM, Matthew Knepley wrote: I strongly disagree with this change. I would like to back it out until we discuss it. The correct thing to do is use --with-shared FOR ALL shared library build requests. Why should MPI be different? There is absolutely no need to

[petsc-maint #38919] Re: stupid, stupid, stupid MPI.py

2009-12-14 Thread Barry Smith
On Dec 14, 2009, at 8:23 AM, Matthew Knepley wrote: On Mon, Dec 14, 2009 at 8:21 AM, Barry Smith bsmith at mcs.anl.gov wrote: On Dec 14, 2009, at 8:16 AM, Matthew Knepley wrote: I strongly disagree with this change. I would like to back it out until we discuss it. The correct thing

[petsc-maint #38919] Re: stupid, stupid, stupid MPI.py

2009-12-14 Thread Matthew Knepley
On Mon, Dec 14, 2009 at 8:28 AM, Barry Smith bsmith at mcs.anl.gov wrote: On Dec 14, 2009, at 8:23 AM, Matthew Knepley wrote: On Mon, Dec 14, 2009 at 8:21 AM, Barry Smith bsmith at mcs.anl.gov wrote: On Dec 14, 2009, at 8:16 AM, Matthew Knepley wrote: I strongly disagree with this

[petsc-maint #38919] Re: stupid, stupid, stupid MPI.py

2009-12-14 Thread Lisandro Dalcín
On Mon, Dec 14, 2009 at 11:23 AM, Matthew Knepley petsc-maint at mcs.anl.gov wrote: On Mon, Dec 14, 2009 at 8:21 AM, Barry Smith bsmith at mcs.anl.gov wrote: On Dec 14, 2009, at 8:16 AM, Matthew Knepley wrote: I strongly disagree with this change. I would like to back it out until we discuss

[petsc-maint #38919] Re: stupid, stupid, stupid MPI.py

2009-12-14 Thread Lisandro Dalcín
On Mon, Dec 14, 2009 at 11:34 AM, Matthew Knepley knepley at gmail.com wrote: If we are using shared libraries, and the MPI shared library was broken, the configure failed. This option was added to allow the user to turn off that check. What does 'broken' means? How can the lib be broken for

[petsc-maint #38919] Re: stupid, stupid, stupid MPI.py

2009-12-14 Thread Matthew Knepley
On Mon, Dec 14, 2009 at 10:28 AM, Lisandro Dalc?n dalcinl at gmail.com wrote: On Mon, Dec 14, 2009 at 11:34 AM, Matthew Knepley knepley at gmail.com wrote: If we are using shared libraries, and the MPI shared library was broken, the configure failed. This option was added to allow the

[petsc-maint #38919] Re: stupid, stupid, stupid MPI.py

2009-12-14 Thread Lisandro Dalcín
On Mon, Dec 14, 2009 at 1:33 PM, Matthew Knepley knepley at gmail.com wrote: On Mon, Dec 14, 2009 at 10:28 AM, Lisandro Dalc?n dalcinl at gmail.com wrote: On Mon, Dec 14, 2009 at 11:34 AM, Matthew Knepley knepley at gmail.com wrote: If we are using shared libraries, and the MPI shared

[petsc-maint #38919] Re: stupid, stupid, stupid MPI.py

2009-12-14 Thread Matthew Knepley
On Mon, Dec 14, 2009 at 10:39 AM, Lisandro Dalc?n dalcinl at gmail.com wrote: On Mon, Dec 14, 2009 at 1:33 PM, Matthew Knepley knepley at gmail.com wrote: On Mon, Dec 14, 2009 at 10:28 AM, Lisandro Dalc?n dalcinl at gmail.com wrote: On Mon, Dec 14, 2009 at 11:34 AM, Matthew Knepley

stupid, stupid, stupid MPI.py

2009-12-13 Thread Barry Smith
So if I pass --with-mpi-shared into MPI.py it TESTS if the MPI libraries are shared. Fine. But if it is download-mpich IT DOES NOT try to make shared libraries for MPICH. It only tries to make shared libraries for MPI if --with-shared is passed. WTF? So I change it so that it tries

stupid, stupid, stupid MPI.py

2009-12-13 Thread Matthew Knepley
On Sun, Dec 13, 2009 at 9:36 PM, Barry Smith bsmith at mcs.anl.gov wrote: So if I pass --with-mpi-shared into MPI.py it TESTS if the MPI libraries are shared. Fine. But if it is download-mpich IT DOES NOT try to make shared libraries for MPICH. It only tries to make shared libraries for MPI