petscvariables: hardwired build dir instead of install dir

2008-03-25 Thread Matthew Knepley
On Mon, Mar 24, 2008 at 10:53 PM, Barry Smith bsmith at mcs.anl.gov wrote: On Mar 24, 2008, at 10:42 PM, Matthew Knepley wrote: On Mon, Mar 24, 2008 at 10:38 PM, Barry Smith bsmith at mcs.anl.gov wrote: On Mar 24, 2008, at 10:25 PM, Matthew Knepley wrote: On Mon, Mar 24, 2008 at

petscvariables: hardwired build dir instead of install dir

2008-03-25 Thread Barry Smith
On Mar 24, 2008, at 11:26 PM, Matthew Knepley wrote: On Mon, Mar 24, 2008 at 10:53 PM, Barry Smith bsmith at mcs.anl.gov wrote: On Mar 24, 2008, at 10:42 PM, Matthew Knepley wrote: On Mon, Mar 24, 2008 at 10:38 PM, Barry Smith bsmith at mcs.anl.gov wrote: On Mar 24, 2008, at 10:25 PM,

ML with OpenMPI

2008-03-25 Thread Jed Brown
... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20080325/525e21f4/attachment.pgp

ML with OpenMPI

2008-03-25 Thread Lisandro Dalcin
However, I still do not understand why I never had this problem. Jed, you built ML yourself, or were you letting PETSc to automatically download and build it? Or perhaps I did not noticed the problem because of MPICH2? On 3/25/08, Barry Smith bsmith at mcs.anl.gov wrote: I have pushed this

ML with OpenMPI

2008-03-25 Thread Lisandro Dalcin
Well, then that would mean that I was using ML through PETSc in PARALLEL runs with no MPI support !!! Do you believe that scenario is possible? Looking at ML configure script and generated makefiles, in them there is a line saying DEFS = -DHAVE_CONFIG_H Do you have that line? Next, this $(DEFS)

ML with OpenMPI

2008-03-25 Thread Jed Brown
: not available URL: http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20080325/6e972319/attachment.pgp

ML with OpenMPI

2008-03-25 Thread Lisandro Dalcin
OK. Now all is clear to me. Sorry about my confusion. So I have to conclude that ML machinery for including headers is a bit broken, I think. Many thanks for your explanation. On 3/25/08, Jed Brown jed at 59a2.org wrote: No, ML was built correctly. The build output has -DHAVE_CONFIG_H on

ML with OpenMPI

2008-03-25 Thread Satish Balay
I think our usage of ML is broken. We use #include ml_config.h in ml.c. However looks like ml requires HAVE_CONFIG_H defined for other things aswell. So the correct fix is to change the above line to: #define HAVE_CONFIG_H Satish On Tue, 25 Mar 2008, Lisandro Dalcin wrote: OK. Now all is