Fortran could not successfully link C++ objects problem

2007-06-07 Thread Ben Tay
/mpi/mpich/ --with-batch=1 --with-shared May I know what's wrong? Thank you. -- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20070607/ea625b76/attachment.htm

Fortran could not successfully link C++ objects problem

2007-06-07 Thread Satish Balay
Please send such issues [with the corresponding configure.log file] to petsc-maint at mcs.anl.gov Satish On Thu, 7 Jun 2007, Ben Tay wrote: Hi, I got this error during configure: Fortran could not successfully link C++ objects My command is : ./config/configure.py

PCShellSetContext fortran interface

2007-06-07 Thread Stephan Kramer
Hi, I don't know if this is the expected behaviour but calling PCShellSetContext from fortran, the thing that is stored is not the integer value of context, but the pointer to this integer. Thus problems arise when supplying an integer variable that goes out of scope (e.g. on the stack)

PCShellSetContext fortran interface

2007-06-07 Thread Barry Smith
Stephan, Even from Fortran the context is treated as a memory address, not an integer value. You could use a common block (yuck) or some array that is alloacated higher in the stack as the context, but as you note you cannot use a local variable. Barry You could argue that we should