On Wed, Feb 11, 2015 at 6:48 PM, Garth N. Wells <[email protected]> wrote:
> On Wed, Feb 11, 2015 at 10:39 AM, Johannes Ring <[email protected]> wrote:
>> On Wed, Feb 11, 2015 at 11:30 AM, Terje Kvernes <[email protected]> wrote:
>>> For a while now trilinos has failed building for me.  I’m using 
>>> fenics-install.sh with a custom yaml file (thanks!), but this error comes 
>>> due to a SWIG mismatch error which I’m not sure how to get around.  I do 
>>> not want to rely on a SWIG outside of the fenics tree as I very much want 
>>> my builds to be self-contained.  I could, theoretically, build SWIG as an 
>>> environment module, load it, and build the entirety of fenics against that 
>>> version, but I’m not sure the rest of what I want in fenics will work with 
>>> 2.0.8?  Is there a “known solution” to this problem?
>>>
>>> $ tail -20 /tmp/HashDist/build/trilinos-o3dgjxrp2xjx/build.log
>>> 2015/02/09 20:58:18 - INFO: [package:run_job] Processing enabled package: 
>>> Komplex (Libs)
>>> 2015/02/09 20:58:19 - INFO: [package:run_job] Processing enabled package: 
>>> ML (Libs)
>>> 2015/02/09 20:58:19 - INFO: [package:run_job] Processing enabled package: 
>>> Belos (Libs)
>>> 2015/02/09 20:58:19 - INFO: [package:run_job] Processing enabled package: 
>>> Anasazi (Libs)
>>> 2015/02/09 20:58:20 - INFO: [package:run_job] Processing enabled package: 
>>> Stratimikos (Libs)
>>> 2015/02/09 20:58:21 - INFO: [package:run_job] Processing enabled package: 
>>> NOX (Libs)
>>> 2015/02/09 20:58:22 - INFO: [package:run_job] Processing enabled package: 
>>> PyTrilinos (Libs)
>>> 2015/02/09 20:58:22 - INFO: [package:run_job] -- Found PythonInterp: 
>>> /mn/anatu/modules/opt/FEniCS/1.5.0_2015.02.09/python/cnc3ydoamso7/bin/python
>>>  (Required is at least version "2.2")
>>> 2015/02/09 20:58:22 - INFO: [package:run_job] -- Python version 2.7.8
>>> 2015/02/09 20:58:22 - INFO: [package:run_job] -- Found PythonLibs: 
>>> /mn/anatu/modules/opt/FEniCS/1.5.0_2015.02.09/python/cnc3ydoamso7/lib/libpython2.7.so
>>>  (found suitable version "2.7.8", minimum required is "2.2")
>>> 2015/02/09 20:58:23 - INFO: [package:run_job] -- Found NumPy: 1.8.2 
>>> (Required is at least version "1.0")
>>> 2015/02/09 20:58:23 - INFO: [package:run_job] CMake Error at 
>>> packages/PyTrilinos/CMakeLists.txt:170 (MESSAGE):
>>> 2015/02/09 20:58:23 - INFO: [package:run_job]   SWIG version 3.0.2 is 
>>> greater than maximum version 2.0.8
>>
>> The problem is that Trilinos (at least version 11.10.2) only works
>> with SWIG version 2.0.8 or older. You can tell hashdist to use SWIG
>> 2.0.8 in your profile. See for instance
>> examples/fenics-1.4.0.rhel6.yaml in hashstack.
>>
>
> I wouldn't bother with PyTrilinos. It adds nothing for FEniCS.

We don't use {Py}Trilinos in fenics-install.sh. This is just one of
the examples in HashStack. Also, Kent often wants PyTrilinos.

Johannes
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to