← Back to team overview

dolfin team mailing list archive

R: scons on osx

 

This is what I get with the flag to disable pydolfin:

_=/usr/bin/env
pc194:dolfin ale$ sudo scons enablePydolfin=no 
Password:
scons: Reading SConscript files ...
Using options from scons/options.cache
Checking for pkg-config... yes
Checking for numpy-1... yes
Checking for python-2... yes
Checking for scotch... no (pkg-config file not found)
 Trying to generate pkg-config file for scotch... failed
Checking for trilinos... no (pkg-config file not found)
 Trying to generate pkg-config file for trilinos... failed
Checking for ufc-1... no (pkg-config file not found)
 Trying to generate pkg-config file for ufc-1... failed
Checking for umfpack... no (pkg-config file not found)
 Trying to generate pkg-config file for umfpack... failed
Checking for mtl4... no (pkg-config file not found)
 Trying to generate pkg-config file for mtl4... failed
Checking for petsc... no (pkg-config file not found)
 Trying to generate pkg-config file for petsc... failed
Checking for gts... no (pkg-config file not found)
 Trying to generate pkg-config file for gts... failed
Checking for boost... yes
Checking for cholmod... no (pkg-config file not found)
 Trying to generate pkg-config file for cholmod... failed
Checking for parmetis... no (pkg-config file not found)
 Trying to generate pkg-config file for parmetis... failed
Checking for slepc... no (pkg-config file not found)
 Trying to generate pkg-config file for slepc... failed
Checking for libxml-2.0... yes
Resolving compiler... done
Warning: Unknown dependency package: ufc-1
Disabling compilation of PyDOLFIN
scons: done reading SConscript files.
scons: *** No targets specified and no Default() targets found.  Stop.
---------------------------------------------------------
If there were no errors, run

    scons install

to install DOLFIN on your system. Note that you may need
to be root in order to install. To specify an alternative
installation directory, run

    scons install prefix=<path>

You may also run ./scons.local for a local installation
in the DOLFIN source tree.

You can compile all the demo programs in the subdirectory
demo by running

   scons enableDemos=yes

---------------------------------------------------------

Regards,
Alessio


________________________________________
Da: Alessio Quaglino
Inviato: giovedì 20 novembre 2008 16.37
A: dolfin-dev@xxxxxxxxxx
Oggetto: scons on osx

I'm trying to use the new building system on osx 10.5, but I get the following error:

pc194:dolfin ale$   pkg-config ufc-1 && echo "ok" || echo "not ok"
ok
pc194:dolfin ale$ sudo scons -h
Password:
scons: Reading SConscript files ...
Checking for pkg-config... yes
Checking for numpy-1... yes
Checking for python-2... yes
Checking for scotch... no (pkg-config file not found)
 Trying to generate pkg-config file for scotch... failed
Checking for trilinos... no (pkg-config file not found)
 Trying to generate pkg-config file for trilinos... failed
Checking for ufc-1... no (pkg-config file not found)
 Trying to generate pkg-config file for ufc-1... failed
Checking for umfpack... no (pkg-config file not found)
 Trying to generate pkg-config file for umfpack... failed
Checking for mtl4... no (pkg-config file not found)
 Trying to generate pkg-config file for mtl4... failed
Checking for petsc... no (pkg-config file not found)
 Trying to generate pkg-config file for petsc... failed
Checking for gts... no (pkg-config file not found)
 Trying to generate pkg-config file for gts... failed
Checking for boost... yes
Checking for cholmod... no (pkg-config file not found)
 Trying to generate pkg-config file for cholmod... failed
Checking for parmetis... no (pkg-config file not found)
 Trying to generate pkg-config file for parmetis... failed
Checking for slepc... no (pkg-config file not found)
 Trying to generate pkg-config file for slepc... failed
Checking for libxml-2.0... yes
Resolving compiler... done
Warning: Unknown dependency package: ufc-1
Enabling compilation of PyDOLFIN
AttributeError: 'NoneType' object has no attribute 'group':
  File "/Users/ale/FEniCS/dolfin/SConstruct", line 244:
    buildDataHash = env.SConscript(os.path.join(env["projectname"], "SConscript"), exports=["env", "configure"])
  File "/usr/local/lib/scons-1.1.0.d20081104/SCons/Script/SConscript.py", line 549:
    return apply(_SConscript, [self.fs,] + files, subst_kw)
  File "/usr/local/lib/scons-1.1.0.d20081104/SCons/Script/SConscript.py", line 259:
    exec _file_ in call_stack[-1].globals
  File "/Users/ale/FEniCS/dolfin/dolfin/SConscript", line 112:
    swig_version = re.match(r"SWIG Version (.+)", out, re.M).group(1)

Since I don't want to use pydolfin and the errors seems to me as coming from swig, is there a way to skip this?
Another question: does dolfin support integrals over 2D meshes immersed in 3D? Thank you.

Regards,
Alessio


Follow ups

References