Must mpif90 be used to compile parallel version of code?

2007-01-09 Thread Matthew Knepley
MPI is a library. mpif90 just adds the correct flags. Underneath it is calling whatever compiler you configured with. Matt On 1/9/07, Ben Tay wrote: > Hi, > > I'm new to mpi. If I'm coding my code to use PETSC to solve my linear > eqn in parallel, must I compile in mpif90 (for fortran) or can

Using library from another linux system

2007-01-09 Thread Satish Balay
On Wed, 10 Jan 2007, Ben Tay wrote: > Hi, > > I've some problems compiling PETSC on one of my school's server. send us configure.log at petsc-maint at mcs.anl.gov and we take a look at the problem. Its probably easier to get this working than trying the alternatives below.. > I've already comp

Solve a system with two processors

2007-01-09 Thread Isabel Gil
Hello PETSc's users! I have a problem with my parallel program. If I run it with only one processor (mpirun -np 1...), everything is all right but if I use 2 processors (mpi -np 2...), the problem appears. When I want to solve my matricial system through a solver, after having created my matric

Solve a system with two processors

2007-01-09 Thread Barry Smith
Isa, The PETSc solvers are all deadlock free, this means that if used with a proper MPI implementation it will never deadlock inside the solvers. The easiest way (and best and the one you should use) to determine what is causing the problem is to use the additional option -start_in_debugger