[petsc-users] configure problems

2010-07-22 Thread Dominik Szczerba
I assume you mean in addition --with-mpi=0, else I am expecting an error message. Configure did not bring up any errors: Compilers: C Compiler: /cygdrive/c/Users/Dominik/Programs/petsc-3.1-p3/bin/win32fe/win32fe cl -MT -wd4996 Linkers: Static linker: /usr/bin/ar cr BLAS/LAPACK:

[petsc-users] configure problems

2010-07-22 Thread Dominik Szczerba
for producing build files. Jed -- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100722/3b3c1253/attachment-0001.htm

[petsc-users] Is it possible to use global variables in Petsc code?

2010-07-22 Thread Li, Zhisong (lizs)
Hi, Petsc Team, I wonder if we can utilize a global variable when using PETSc, such as a declaration and definition in the main function: extern PetscScalar x, y, z; x = 1.0; This should be a regular usage in ANSI C and will help a lot when we have user-defined functions. If it can work,

[petsc-users] TSDefaultComputeJacobian

2010-07-22 Thread Jed Brown
On Wed, 21 Jul 2010 19:52:23 -0400, Xuan YU xxy113 at psu.edu wrote: Hi, In SNES, Petsc can compute Jacobian by: ierr = SNESSetJacobian (snes,J,J,SNESDefaultComputeJacobian,PETSC_NULL);CHKERRQ(ierr); How about TS? I don't want to provide Jacobian function by myself, but I didn't

[petsc-users] TSDefaultComputeJacobian

2010-07-22 Thread Matthew Knepley
attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100722/3d77429a/attachment-0001.htm

[petsc-users] TSDefaultComputeJacobian

2010-07-22 Thread Matthew Knepley
... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100722/46efb0f0/attachment.htm

[petsc-users] configure problems

2010-07-22 Thread Farshid Mossaiby
I doubt 'cl' can interpret Cygwin paths: cl : Command line warning D9002 : ignoring unknown option '/cygdrive/c/Program Files/MPICH2/lib/amd64/msmpi.lib' Shouldn't win32fe convert this path first? Hope this helps. --- On Wed, 7/21/10, Dominik Szczerba dominik at itis.ethz.ch wrote: From:

[petsc-users] configure problems

2010-07-22 Thread Dominik Szczerba
part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100722/f910956e/attachment.htm

[petsc-users] configure problems

2010-07-22 Thread Satish Balay
sh: Warning: win32fe: File Not Found: /cygdrive/c/Program Files/MPICH2/lib/amd64/msmpi.lib Looks like - if win32fe doesn't find the file - it doesn't try to convert the path. This is not the cause of his configure failure. The primary issue is: [which is much ahead in configure.log] sh:

[petsc-users] configure problems

2010-07-22 Thread Dominik Szczerba
). That doesn't mean it isn't useful for producing build files. Jed -- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100722/d54457dc/attachment-0001.htm

[petsc-users] configure problems

2010-07-22 Thread Satish Balay
On Thu, 22 Jul 2010, Dominik Szczerba wrote: Many thanks for your precious feedback. My MPICH install is 64 bit but it seems that for some reason 32 bit VC compiler is invoked (I have both 32 and 64 installed). As mentioned - whichever compiler is first in the PATH is used cl I am

[petsc-users] Missing symbols in libpetscts.h

2010-07-22 Thread Filippo Spiga
Dear all, I'm trying to compile PETSc 3.0.0-p12 and PETSc 3.1-p3. The compilation ends without visible problems. However when I compile my software these error appears ../../../myApp/src/timeDepSolver.cpp:13: warning: deprecated conversion from string constant to 'char*'

[petsc-users] Missing symbols in libpetscts.h

2010-07-22 Thread Satish Balay
TSSetIFunction() doesn't exist in petsc-3.0.0. The same code will not work with both versions of petsc. You should stick with one version [i.e the latest ..] Satish On Thu, 22 Jul 2010, Filippo Spiga wrote: Dear all, I'm trying to compile PETSc 3.0.0-p12 and PETSc 3.1-p3. The

[petsc-users] configure problems

2010-07-22 Thread Dominik Szczerba
-- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100722/409db869/attachment.htm

[petsc-users] configure problems

2010-07-22 Thread Satish Balay
Try running manually. MPICH2 install by default insists on passwd - and this process isn't handled by petsc scripts properly. [or use '--with-mpiexec=mpiexec --localonly'] Satish On Thu, 22 Jul 2010, Dominik Szczerba wrote: Dear all, The problem was apparently that I was trying to

[petsc-users] configure problems

2010-07-22 Thread Satish Balay
Should have said: cd src/ksp/ksp/examples/tutorials make ex2 mpiexec -n 2 ./ex2.exe mpiexec -localonly -n 2 ./ex2.exe Satish On Thu, 22 Jul 2010, Satish Balay wrote: Try running manually. MPICH2 install by default insists on passwd - and this process isn't handled by petsc scripts properly.

[petsc-users] configure problems

2010-07-22 Thread Dominik Szczerba
-- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100722/7cecfa12/attachment.htm

[petsc-users] configure problems

2010-07-22 Thread Satish Balay
Sorry - you need PETSC_ARCH and PETSC_DIR with make. [normally these are set as env variables] make PETSC_DIR=/cygdrive/c/Users/Dominik/Programs/petsc-3.1-p3 PETSC_ARCH=win64-msvc-release ex2 Satish On Thu, 22 Jul 2010, Dominik Szczerba wrote: Hmmm I get the following errors: $ cd

[petsc-users] configure problems

2010-07-22 Thread Dominik Szczerba
/attachments/20100722/0201eebf/attachment.htm

[petsc-users] configure problems

2010-07-22 Thread Satish Balay
On Thu, 22 Jul 2010, Dominik Szczerba wrote: Thanks a lot. But now there is no meaningful output... What do you mean? Have you run the examples manually? You just show the 'compile' step - which looks successful. mpiexec -n 2 ./ex2.exe mpiexec -localonly -n 2 ./ex2.exe Satish

[petsc-users] configure problems

2010-07-22 Thread Dominik Szczerba
/attachments/20100722/285d0b74/attachment-0001.htm

[petsc-users] configure problems

2010-07-22 Thread Dominik Szczerba
: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100722/d9236091/attachment-0001.htm

[petsc-users] configure problems

2010-07-22 Thread Satish Balay
I see the follwing following with mpiexec/MPICH2 [default install/configuration]. If it doesn't work this way for you then check with MPICH2 developers - on the correct way to use the MPICH2 version you've installed. Satish -- sbalay at ps3 ~/junk $ /cygdrive/c/Program\