petsc port issues

Mark Moll mmoll at macports.org
Thu Sep 30 14:55:27 PDT 2010


On Sep 30, 2010, at 4:25 PM, John-Michael Fischer wrote:

> Hi recently saw 3.1-p4 came through and I have a small build problem now.
> 
> My petsc programs stopped building due to a makefile error.  It
> appears the file /opt/local/lib/petsc/conf/base does now not exist (it
> used to).  I had this included in at the end of my make files via the
> line
> include ${PETSC_DIR}/conf/base
> Is there something I should've replaced that include line with instead
> of that? (it was phased out?)
> 
> I can get things moving along slightly by changing (unintelligently) to
> include ${PETSC_DIR}/conf/variables
> but then my build fails since apparently the
> PCFactorSetShiftPd and PCFactorSetShiftNonzero
> objects are unknown to the compiler (they should be from (used to be
> from) petscksp.h?)


Does adding the following two lines to your makefile fix it?:

include ${PETSC_DIR}/conf/variables
include ${PETSC_DIR}/conf/rules

What is the exact error message you get?

-- 
Mark Moll





More information about the macports-dev mailing list