[petsc-dev] what the hey is FFC

Barry Smith bsmith at mcs.anl.gov
Wed Aug 27 17:11:26 CDT 2014


===============================================================================                                                                                                     Trying to download http://www.fenics.org/pub/software/ffc/v0.3/ffc-0.3.3.tar.gz for FFC                                                                                 ===============================================================================                                                                                                                                                                                                                                                                             *******************************************************************************
         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
-------------------------------------------------------------------------------
file could not be opened successfully
Downloaded package FFC from: http://www.fenics.org/pub/software/ffc/v0.3/ffc-0.3.3.tar.gz is not a tarball.
[or installed python cannot process compressed files]

fenics.org doesn’t seem around any more. And what is the business of having a tar ball but needing no install? Surely it must at least need to be put some where?

  Can FFC.py be removed?


class Configure(PETSc.package.NewPackage):
  def __init__(self, framework):
    PETSc.package.NewPackage.__init__(self, framework)
    self.download = ['http://www.fenics.org/pub/software/ffc/v0.3/ffc-0.3.3.tar.gz']
    return

  def setupDependencies(self, framework):
    PETSc.package.NewPackage.setupDependencies(self, framework)
    self.fiat = self.framework.require('config.packages.fiat', self)
    self.deps = [self.fiat]
    return

  def Install(self):
    import sys
    ffcDir = self.getDir()
    # We could make a check of the md5 of the current configure framework
    self.logPrintBox('FFC needs no installation')
    self.framework.actions.addArgument('FFC', 'Install', 'Installed FFC into '+ffcDir)
    return ffcDir





More information about the petsc-dev mailing list