Hi,
If found that UMFpack indeed depends on other packages, e.g., CHOLMOD.
To install CHOLMOD, I need to pass 2 include dirs. What is the syntax
for that? I tried the cmake command below, and many other tricks, but it
only founds one of the 2 include dirs I pass. The 2 directories I want
to pass as CHOLMOD_INCLUDE_DIRS are at the end of the cmake command.
Thanks,
Bart
cmake
-DEIGEN3_INCLUDE_DIR=/projects/uoa00295/eigen3/eigen-eigen-1306d75b4a21
-DPARMETIS_DIR=/share/easybuild/RHEL6.3/westmere/software/ParMETIS/4.0.3-goolf-1.5.14
-DVTK_DIR=/share/easybuild/RHEL6.3/westmere/software/VTK/5.10.1-goolf-1.5.14/lib/vtk-5.10
-DCHOLMOD_DIR=/share/easybuild/RHEL6.3/westmere/software/SuiteSparse/4.4.1-goolf-1.5.14-ParMETIS-4.0.3/CHOLMOD
-DAMD_DIR=/share/easybuild/RHEL6.3/westmere/software/SuiteSparse/4.4.1-goolf-1.5.14-ParMETIS-4.0.3/AMD
-DLAPACK_DIR=/share/easybuild/RHEL6.3/westmere/software/OpenBLAS/0.2.8-gompi-1.5.14-LAPACK-3.5.0
-DBLAS_DIR=/share/easybuild/RHEL6.3/westmere/software/OpenBLAS/0.2.8-gompi-1.5.14-LAPACK-3.5.0
-DCAMD_DIR=/share/easybuild/RHEL6.3/westmere/software/SuiteSparse/4.4.1-goolf-1.5.14-ParMETIS-4.0.3/CAMD
-DCCOLAMD_DIR=/share/easybuild/RHEL6.3/westmere/software/SuiteSparse/4.4.1-goolf-1.5.14-ParMETIS-4.0.3/CCOLAMD
-DCOLAMD_DIR=/share/easybuild/RHEL6.3/westmere/software/SuiteSparse/4.4.1-goolf-1.5.14-ParMETIS-4.0.3/COLAMD
-DSUITESPARSE_LIBRARY=/share/easybuild/RHEL6.3/westmere/software/SuiteSparse/4.4.1-goolf-1.5.14-ParMETIS-4.0.3/SuiteSparse_config/libsuitesparseconfig.a
-DAMD_LIBRARIES=/share/easybuild/RHEL6.3/westmere/software/SuiteSparse/4.4.1-goolf-1.5.14-ParMETIS-4.0.3/AMD/lib/libamd.a
-DCHOLMOD_INCLUDE_DIRS=/share/easybuild/RHEL6.3/westmere/software/SuiteSparse/4.4.1-goolf-1.5.14-ParMETIS-4.0.3/SuiteSparse_config:/share/easybuild/RHEL6.3/westmere/software/SuiteSparse/4.4.1-goolf-1.5.14-ParMETIS-4.0.3/CHOLMOD/include
..
On 16/12/14 23:53, Jan Blechta wrote:
On Tue, 16 Dec 2014 11:19:09 +1300
Bart Verleye <[email protected]> wrote:
On 15/12/14 22:19, Johannes Ring wrote:
On Mon, Dec 15, 2014 at 4:51 AM, Bart Verleye
<[email protected]> wrote:
Hi,
I have installed FFC, but when I try to import, I get following
error:
import ffc
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.linux-x86_64/egg/ffc/__init__.py", line 21,
in <module> File
"build/bdist.linux-x86_64/egg/ffc/jitcompiler.py", line 33, in
<module> File "build/bdist.linux-x86_64/egg/ufc/__init__.py", line
7, in <module> ImportError: cannot import name cell
I get this error both with the 1.4.0 version, as with the version
I cloned from git. The latter should have resolved the issue
according to
http://fenicsproject.org/pipermail/fenics-support/2014-February/000372.html
Any help/hint on this?
Are you sure you are loading the correct ffc and not the old 1.4.0
version? How did you install it and did you have you set PYTHONPATH
correctly?
Johannes
>>source virtualPython/bin/activate
>>git clone https://bitbucket.org/fenics-project/ffc.git
>>cd ffc
>>python setup.py install
>>python -c"import ufl; print ufl.__version__, ufl.__file__"
1.4.0
/gpfs1m/projects/uoa00295/virtualPython/lib/python2.7/site-packages/ufl/__init__.pyc
So it's still version 1.4.0, but from the git. Should I clone a
different version?
You need all the FEniCS component (FIAT, UFL, FFC, Instant, DOLFIN) at
version
- either 1.4.0, downloadable as tarball or checkoutable in git
repository as tag foo-1.4.0
- or up-to-date master branch from respective git repositories
Jan
Thanks,
Bart
--
Dr. Bart Verleye
Centre for eResearch
Level G, Room 409-G21
24 Symonds St.
Auckland 1010
New Zealand
+64 (0) 9 923 9740 ext 89740
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support