What do you get when you run the following commands:

 $ which swig
 $ swig -version


Then I get the version installed by fenics:

$ which swig
/pfs/nobackup/home/b/bbrydsoe/fenics_MPIMODULE_build/bld/profile/hztejro3ksqb/bin/swig
$ swig -version

SWIG Version 2.0.11

Compiled with g++ [x86_64-unknown-linux-gnu]

Configured options: +pcre

Please see http://www.swig.org for reporting bugs and further information



Also try instant-clean as suggested by Jan.


I did. I got the exact same error as before anyway.

Also attaching the new version of my yaml file.

Is there a specific reason that you use revision
1a97d560b12d86d8c36f8e574a1ebb3ea00067b7 of hashstack? This is from
June 2014 and a lot has happened both in hashdist/hashstack and FEniCS
since then.


No, no reason ;) That's what was in the yaml file I grabbed and made changes to. I will remove those lines and try rebuilding with a newer version, and see if that helps.


I have tried to build using the newer version, but I cannot get it to build. I get an error during the trilinos step. The end of the log:

2015/03/12 12:59:06 - INFO: [package:run_job] [ 92%] Building CXX object packages/PyTrilinos/src/CMakeFiles/pytrilinos.dir/Epetra_NumPyIntSerialDenseVector.cpp.o 2015/03/12 12:59:06 - INFO: [package:run_job] [ 92%] Building CXX object packages/PyTrilinos/src/CMakeFiles/pytrilinos.dir/Epetra_NumPyIntVector.cpp.o 2015/03/12 12:59:06 - INFO: [package:run_job] /pfs/nobackup/home/b/bbrydsoe/fenics_MPIMODULE_build/tmp/trilinos-hydtj26pn6gj/packages/PyTrilinos/src/PyTrilinos_Teuchos_Util.cpp: In function 'bool PyTrilinos::setPythonParameter(Teuchos::ParameterList&, const string&, PyObject*)': 2015/03/12 12:59:06 - INFO: [package:run_job] /pfs/nobackup/home/b/bbrydsoe/fenics_MPIMODULE_build/tmp/trilinos-hydtj26pn6gj/packages/PyTrilinos/src/PyTrilinos_Teuchos_Util.cpp:132:28: error: 'NPY_ARRAY_DEFAULT' was not declared in this scope 2015/03/12 12:59:06 - INFO: [package:run_job] /pfs/nobackup/home/b/bbrydsoe/fenics_MPIMODULE_build/tmp/trilinos-hydtj26pn6gj/packages/PyTrilinos/src/PyTrilinos_Teuchos_Util.cpp:132:48: error: 'NPY_ARRAY_NOTSWAPPED' was not declared in this scope 2015/03/12 12:59:06 - INFO: [package:run_job] [ 92%] Building CXX object packages/PyTrilinos/src/CMakeFiles/pytrilinos.dir/Epetra_NumPyMultiVector.cpp.o 2015/03/12 12:59:07 - INFO: [package:run_job] make[2]: *** [packages/PyTrilinos/src/CMakeFiles/pytrilinos.dir/PyTrilinos_Teuchos_Util.cpp.o] Error 1 2015/03/12 12:59:07 - INFO: [package:run_job] make[2]: *** Waiting for unfinished jobs.... 2015/03/12 12:59:08 - INFO: [package:run_job] make[1]: *** [packages/PyTrilinos/src/CMakeFiles/pytrilinos.dir/all] Error 2
2015/03/12 12:59:08 - INFO: [package:run_job] make: *** [all] Error 2
2015/03/12 12:59:08 - ERROR: [package:run_job] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero exit status 2 2015/03/12 12:59:08 - ERROR: [package:run_job] command failed (code=2); raising



I don't know why this happens now? Or what to do to fix it?


Thanks, Birgitte

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

Reply via email to