need help with makefile

2007-03-01 Thread P. Aaron Lott
Hi, I have a fortran90 code and I would like to use petsc's preconditioners inside of it. I'm having trouble setting up a makefile that will allow me include a petsc. It seems the problem is from the use of the c-preprocessor. My old makefile looked something like this: $(CMD) :

need help with makefile

2007-03-01 Thread Satish Balay
The idea is to use a PETSc example makefile - and modify it appropriately. And with fortran codes - we require preprocessing [i.e source files that call PETSc routines should be .F] A minimal PETSc makefile is as follows: CFLAGS =

Non-uniform 2D mesh questions

2007-03-01 Thread Barry Smith
Yaron, We don't really have tools to help do this efficiently (especially in parallel). The DA, IS and AO are not related to this. It is all doable and not terribly difficult (I think) but we just don't have the pieces to 1) get the local to global index map (you need to do this based