[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

need help with makefile





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)  : $(SOBJS)
	$(F90) $(FLAGS) -o $(EXENAME) $(SOBJS)

where SOBJ is a list of all of my object files.

I was hoping to be able to make a petsc object file and include it in this list. Is this possible? Is there a tutorial on how to get petsc setup inside of your existing code?

Thanks,

-Aaron



P. Aaron Lott
Ph.D. Candidate
4239 Computer and Space Sciences Building
University of Maryland
College Park, MD 20742-4015

palott@xxxxxxxxxxxx
http://www.lcv.umd.edu/~palott
Office: 301.405.4894
Fax:      301.314.0827