On Sat, Dec 17, 2016 at 5:26 PM, Denis Davydov <[email protected]> wrote:

> Alternative, is to add the view to your path, i.e.
>
> PATH=${DEAL_II_VIEW}/bin:${PATH}
>
> then
>
> -DCMAKE_C_COMPILER="mpicc"
>
> would also be ok.
>

I used instructions on wiki like this

DEAL_II_VIEW=/home/soft


cmake  \

-DCMAKE_FIND_FRAMEWORK=LAST  \

-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=FALSE  \

-DCMAKE_INSTALL_RPATH=${DEAL_II_VIEW}  \

-DCMAKE_BUILD_TYPE=DebugRelease  \

-DDEAL_II_COMPONENT_EXAMPLES=ON  \

-DDEAL_II_WITH_THREADS:BOOL=ON  \

-DBOOST_DIR=${DEAL_II_VIEW}  \

-DBZIP2_DIR=${DEAL_II_VIEW}  \

-DMUPARSER_DIR=${DEAL_II_VIEW}  \

-DUMFPACK_DIR=${DEAL_II_VIEW}  \

-DTBB_DIR=${DEAL_II_VIEW}  \

-DZLIB_DIR=${DEAL_II_VIEW}  \

-DDEAL_II_WITH_MPI:BOOL=ON  \

-DCMAKE_C_COMPILER=${DEAL_II_VIEW}/bin/mpicc  \

-DCMAKE_CXX_COMPILER=${DEAL_II_VIEW}/bin/mpic++  \

-DCMAKE_Fortran_COMPILER=${DEAL_II_VIEW}/bin/mpif90  \

-DGSL_DIR=${DEAL_II_VIEW}  \

-DDEAL_II_WITH_GSL:BOOL=ON  \

-DHDF5_DIR=${DEAL_II_VIEW}  \

-DDEAL_II_WITH_HDF5:BOOL=ON  \

-DP4EST_DIR=${DEAL_II_VIEW}  \

-DDEAL_II_WITH_P4EST:BOOL=ON  \

-DPETSC_DIR=${DEAL_II_VIEW}  \

-DDEAL_II_WITH_PETSC:BOOL=ON  \

-DSLEPC_DIR=${DEAL_II_VIEW}  \

-DDEAL_II_WITH_SLEPC:BOOL=ON  \

-DTRILINOS_DIR=${DEAL_II_VIEW}  \

-DDEAL_II_WITH_TRILINOS:BOOL=ON  \

-DMETIS_DIR=${DEAL_II_VIEW}  \

-DDEAL_II_WITH_METIS:BOOL=ON  \

-DDEAL_II_COMPONENT_DOCUMENTATION=OFF  \

-DARPACK_DIR=${DEAL_II_VIEW}  \

-DDEAL_II_WITH_ARPACK=ON  \

-DDEAL_II_ARPACK_WITH_PARPACK=ON  \

-DNETCDF_DIR=${DEAL_II_VIEW}  \

-DOPENCASCADE_DIR=${DEAL_II_VIEW}  \

-DDEAL_II_WITH_OPENCASCADE=ON  \

../


Thanks
praveen

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to