[petsc-dev] what the hey is FFC

Jed Brown jed at jedbrown.org
Wed Aug 27 17:22:51 CDT 2014


Barry Smith <bsmith at mcs.anl.gov> writes:

> ===============================================================================                                                                                                     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. 

It was renamed to fenicsproject.org many years ago.

> 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?

It is a Python code-generation package.  With Sieve gone, I'm pretty sure it can be deleted.

>   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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140827/50fb1794/attachment.sig>


More information about the petsc-dev mailing list