dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #20594
Re: [Question #140285]: dolfin installation
The PETSC_DIR and SLEPC_DIR should be:
...
export PETSC_DIR=$LOCAL_INSTALL_DIR
export SLEPC_DIR=$LOCAL_INSTALL_DIR
and nothing else...
It was some old configuration that I had.
Johan
On Wednesday January 5 2011 10:14:49 Johan Hake wrote:
> This is an example of mine environmental variables in .bashrc:
>
> export LOCAL_INSTALL_DIR=/path/to/dorsal/installation/dir
> export SCOTCH_DIR=$LOCAL_INSTALL_DIR
> export TRILINOS_DIR=$LOCAL_INSTALL_DIR
> export PETSC_DIR=$LOCAL_INSTALL_DIR/lib/petsc
> export PETSC_ARCH=linux-gnu-cxx-opt
> export SLEPC_DIR=$LOCAL_INSTALL_DIR/lib/slepc
>
> # Note I have my own svn repo for mtl4
> export MTL4_DIR=$HOME/svn/mtl4
>
> # Note change the version to the installed python version
> export
> PYTHONPATH=${PYTHONPATH}:$LOCAL_INSTALL_DIR/lib/python2.6/site-packages
>
> You should also consider installing a later SWIG. 1.3.29 is probably too
> old. Just let dorsal install it for you. You also need to install MPI if
> you want to utelize parallel performance.
>
> When these are set correctly you should be able to run cmake on your dolfin
> copy.
>
> Btw: The CMake build system has seen some recent love, which is included in
> the 0.9.9 release, so you might want to consider upgrade to latest
> development version.
>
> Johan
>
> On Wednesday January 5 2011 09:54:34 S Wood wrote:
> > New question #140285 on DOLFIN:
> > https://answers.launchpad.net/dolfin/+question/140285
> >
> > Hi
> >
> > This might have already been discussed but I cannot really figure out how
> > to set the PATH for MTL4, PETSC, ... to install dolfin-0.9.9 on a redhat
> > linux. No success with the dorsal installation so I resort to manual
> > installation but I get:
> >
> >
> > -- The C compiler identification is GNU
> > -- The CXX compiler identification is GNU
> > -- Check for working C compiler: /usr/bin/gcc
> > -- Check for working C compiler: /usr/bin/gcc -- works
> > -- Detecting C compiler ABI info
> > -- Detecting C compiler ABI info - done
> > -- Check for working CXX compiler: /usr/bin/c++
> > -- Check for working CXX compiler: /usr/bin/c++ -- works
> > -- Detecting CXX compiler ABI info
> > -- Detecting CXX compiler ABI info - done
> > -- Performing Test HAVE_PIPE
> > -- Performing Test HAVE_PIPE - Success
> > -- Performing Test HAVE_PEDANTIC
> > -- Performing Test HAVE_PEDANTIC - Success
> > -- Performing Test HAVE_STD
> > -- Performing Test HAVE_STD - Success
> > -- Performing Test HAVE_DEBUG
> > -- Performing Test HAVE_DEBUG - Success
> > -- Performing Test HAVE_O2_OPTIMISATION
> > -- Performing Test HAVE_O2_OPTIMISATION - Success
> > -- Boost version: 1.45.0
> > -- Found the following Boost libraries:
> > -- filesystem
> > -- program_options
> > -- system
> > -- Checking for package 'Armadillo'
> > -- Performing Test ARMADILLO_TEST_RUNS
> > -- Performing Test ARMADILLO_TEST_RUNS - Success
> > -- Found Armadillo: TRUE
> > -- Found LibXml2: /usr/lib64/libxml2.so
> > -- Found PythonInterp: /usr/local/bin/python2.6
> > -- Found PythonLibs: /usr/local/lib/libpython2.6.so
> > -- NumPy headers found
> > -- Found SWIG: /usr/bin/swig (found version "1.3.29")
> > -- Could NOT find MPI (missing: MPI_LIBRARY MPI_INCLUDE_PATH)
> > -- Checking for package 'AMD'
> > -- Found AMD: /usr/include/suitesparse
> > -- Checking for package 'BLAS'
> > -- Found BLAS: /usr/include
> > -- Checking for package 'UMFPACK'
> > -- Performing Test UMFPACK_TEST_RUNS
> > -- Performing Test UMFPACK_TEST_RUNS - Success
> > -- Found UMFPACK: /usr/include/suitesparse
> > -- Checking for package 'CHOLMOD'
> > -- Checking for package 'AMD'
> > -- Checking for package 'BLAS'
> > -- ParMETIS could not be found/configured. (missing: PARMETIS_TEST_RUNS
> > PARMETIS_INCLUDE_DIRS PARMETIS_LIBRARIES) -- Checking for package
> > 'LAPACK' -- Found LAPACK: /usr/lib64/atlas/liblapack.so
> > -- Performing Test CHOLMOD_TEST_RUNS
> > -- Performing Test CHOLMOD_TEST_RUNS - Success
> > -- Found CHOLMOD: /usr/include/suitesparse
> > -- Found CHOLMOD:
> > /usr/lib64/libcholmod.so;/usr/lib64/libamd.so;/usr/lib64/libcamd.so;/usr/
> > l
> > ib64/libcolamd.so;/usr/lib64/libccolamd.so;/usr/lib64/atlas/libatlas.so;
> > /us r/lib64/atlas/liblapack.so -- Checking for package 'Trilinos'
> > -- Checking for package 'MTL4'
> > -- Checking for package 'BLAS'
> > -- MTL4 could not be found. Be sure to set MTL4_DIR (missing:
> > MTL4_INCLUDE_DIRS MTL4_TEST_RUNS) -- Checking for package 'PETSc'
> > -- PETSC_DIR is PETSC_DIR-NOTFOUND
> > -- PETSC_ARCH is empty
> > -- Unable to find petscconf.h
> > -- PETSc could not be found. Be sure to set PETSC_DIR and PETSC_ARCH.
> > (missing: PETSC_DIR PETSC_INCLUDE_DIRS PETSC_LIBRARIES PETSC_TEST_RUNS)
> > -- Checking for package 'CGAL'
> >
> > CMake Warning at cmake/modules/FindCGAL.cmake:12 (find_package):
> > Could not find a configuration file for package CGAL.
> >
> > Set CGAL_DIR to the directory containing a CMake configuration file for
> >
> > CGAL. The file will have one of the following names:
> > CGALConfig.cmake
> > cgal-config.cmake
> >
> > Call Stack (most recent call first):
> > CMakeLists.txt:235 (find_package)
> >
> > -- CGAL could not be found. Be sure to set CGAL_DIR (missing:
> > CGAL_LIBRARIES CGAL_INCLUDE_DIRS CGAL_TEST_RUNS) -- Found ZLIB:
> > /usr/include (found version "1.2.3")
> > -- Checking for package 'CPPUNIT'
> > -- Found CPPUNIT: /usr/include/cppunit
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp
Follow ups
References