Dear all,

I am trying to install deal.II from the GIT repository with the following 
features:

        petsc_ver='3.6.0';
        trilinos_ver='12.4.2';

        git clone https://github.com/dealii/dealii.git dealii

        cmake \
        -DTRILINOS_DIR=${install_dir}/trilinos-${trilinos_ver} \
        -DP4EST_DIR=${install_dir}/FAST \
        -DDEAL_II_WITH_METIS=ON \
        -DMETIS_DIR=$METIS_DIR \
        -DDEAL_II_WITH_MPI=ON \
        -DDEAL_II_WITH_THREADS=OFF \
        -DDEAL_II_WITH_UMFPACK=ON \
        -DDEAL_II_WITH_LAPACK=ON \
        -DDEAL_II_WITH_PETSC=ON \
        -DPETSC_ARCH=$PETSC_ARCH \
        -DPETSC_DIR=$PETSC_DIR \
        -DDEAL_II_WITH_SLEPC=ON \
        -DSLEPC_DIR=$SLEPC_DIR \
        -DDEAL_II_WITH_P4EST=ON \
        -DDEAL_II_WITH_ARPACK=ON \
        -DDEAL_II_WITH_TRILINOS=ON \
        -DCMAKE_INSTALL_PREFIX=${install_dir}/dealii ${install_dir}/dealii;

        make -j${virtual_proc} install;

I get the following installation error:

[ 50%] Building CXX object 
source/fe/CMakeFiles/obj_fe_debug.dir/fe_poly.cc.o
mypath/dealii/source/lac/scalapack.cc: In member function ‘void 
dealii::ScaLAPACKMatrix<NumberType>::copy_to(dealii::ScaLAPACKMatrix<NumberType>&)
 
const’:
mypath/dealii/source/lac/scalapack.cc:243:91: error: there are no arguments 
to ‘MPI_Comm_create_group’ that depend on a template parameter, so a 
declaration of ‘MPI_Comm_create_group’ must be available [-fpermissive]
       ierr = MPI_Comm_create_group(MPI_COMM_WORLD, group_union, 5, 
&mpi_communicator_union);
                                                                                
           
^
mypath/dealii/source/lac/scalapack.cc:243:91: note: (if you use 
‘-fpermissive’, G++ will accept your code, but allowing the use of an 
undeclared name is deprecated)
mypath/dealii/source/lac/scalapack.cc: In instantiation of ‘void 
dealii::ScaLAPACKMatrix<NumberType>::copy_to(dealii::ScaLAPACKMatrix<NumberType>&)
 
const [with NumberType = double]’:
mypath/dealii/source/lac/scalapack.cc:760:16:   required from here
mypath/dealii/source/lac/scalapack.cc:243:91: error: 
‘MPI_Comm_create_group’ was not declared in this scope
mypath/dealii/source/lac/scalapack.cc: In instantiation of ‘void 
dealii::ScaLAPACKMatrix<NumberType>::copy_to(dealii::ScaLAPACKMatrix<NumberType>&)
 
const [with NumberType = float]’:
mypath/dealii/source/lac/scalapack.cc:761:16:   required from here
mypath/dealii/source/lac/scalapack.cc:243:91: error: 
‘MPI_Comm_create_group’ was not declared in this scope
[ 50%] Building CXX object 
source/grid/CMakeFiles/obj_grid_debug.dir/grid_reordering.cc.o
make[2]: *** [source/lac/CMakeFiles/obj_lac_debug.dir/scalapack.cc.o] Error 
1
make[1]: *** [source/lac/CMakeFiles/obj_lac_debug.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Last time I had errors was due to Trilinos version, but I updated that one 
to the current in use.
Any ideas for resolving the error?

Aditionally, how can I set from GIT the last stable (tested) version?

Thanks in advance,
Juan Carlos Araújo, 
Umeå Universitet

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to