[petsc-dev] configure tetgen error

Satish Balay balay at mcs.anl.gov
Tue Jan 13 21:35:24 CST 2015


Ah - I forgot to pull ctetgen repo [to check new changes].

However ctetgen.py (in next) is not updated to use this new stuff. It will need the following fix.

Will push to barry/namespace-install [and merge to master/next]

Satish

-------
$ git diff |cat
diff --git a/config/BuildSystem/config/packages/ctetgen.py b/config/BuildSystem/config/packages/ctetgen.py
index 3f1c759..f3fd0ff 100644
--- a/config/BuildSystem/config/packages/ctetgen.py
+++ b/config/BuildSystem/config/packages/ctetgen.py
@@ -4,9 +4,9 @@ import os
 class Configure(config.package.GNUPackage):
   def __init__(self, framework):
     config.package.GNUPackage.__init__(self, framework)
-    self.gitcommit         = '622d9a06ef18638e7521f2a870d62f5c28f182e1'
+    self.gitcommit         = '0616e704bcc37b1df8705f614c63bf8e9e51ee80'
     self.giturls           = ['https://bitbucket.org/petsc/ctetgen.git']
-    self.download          = ['http://ftp.mcs.anl.gov/pub/petsc/externalpackages/ctetgen-0.2.tar.gz']
+    self.download          = ['http://ftp.mcs.anl.gov/pub/petsc/externalpackages/ctetgen-0.3.tar.gz']
     self.functions         = []
     self.includes          = []
     return


On Tue, 13 Jan 2015, Barry Smith wrote:

> 
>   I made those changes. Did I forget to push them and then deleted the directory?
> 
>   Barry
> 
> > On Jan 13, 2015, at 9:12 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> > 
> > looks like ctetgen requires the following change [to be in sync with
> > 'conf' -> 'petsc-conf' change on the petsc makefile side]
> > 
> > Satish
> > 
> > -----------
> > balay at asterix /home/balay/git-repo/ctetgen (master *=)
> > $ git diff |cat
> > diff --git a/makefile b/makefile
> > index 7e97840..f4d6a20 100644
> > --- a/makefile
> > +++ b/makefile
> > @@ -10,13 +10,13 @@ DIRS     =
> > MANSEC   =
> > LOCDIR   =
> > 
> > -include ${PETSC_DIR}/conf/variables
> > +include ${PETSC_DIR}/lib/petsc-conf/variables
> > 
> > LIBBASE    = libctetgen
> > LIBNAME    = ${LIBBASE}.${AR_LIB_SUFFIX}
> > CLEANFILES = ${LIBNAME}
> > 
> > -include ${PETSC_DIR}/conf/rules
> > +include ${PETSC_DIR}/lib/petsc-conf/rules
> > 
> > install-ctetgen:
> >        ${MKDIR} ${DESTDIR}/include
> > balay at asterix /home/balay/git-repo/ctetgen (master *=)
> > $ 
> > 
> > On Tue, 13 Jan 2015, Adrian Croucher wrote:
> > 
> >> hi
> >> 
> >> Just pulled next branch and tried to reconfigure, but it chokes when trying to
> >> compile tetgen (I use the --download-ctetgen option):
> >> 
> >> -------------------------------------------------------------------------------
> >> Error running make on Ctetgen: Could not execute "cd
> >> /home/acro018/software/PETSc/code/linux-gnu-c-opt/externalpackages/ctetgen &&
> >> /usr/bin/make PET
> >> SC_DIR=/home/acro018/software/PETSc/code clean lib":
> >> makefile:13: /home/acro018/software/PETSc/code/conf/variables: No such file or
> >> directory
> >> makefile:19: /home/acro018/software/PETSc/code/conf/rules: No such file or
> >> directory
> >> make: *** No rule to make target
> >> `/home/acro018/software/PETSc/code/conf/rules'.  Stop.
> >> 
> >> Is this a casualty of recent changes to paths- or have I messed something up?
> >> 
> >> Cheers, Adrian
> >> 
> >> 
> > 
> 
> 




More information about the petsc-dev mailing list