Dear all,
I had some trouble while compiling deal.II on my cluster:

[ 70%] Building CXX object 
source/fe/CMakeFiles/obj_fe_release.dir/fe_tools.cc.o
/home/mwichro/lib/dealii-9.0.0/source/base/mpi.cc: In function 'int 
dealii::Utilities::MPI::create_group(ompi_communicator_t* const&, 
ompi_group_t* const&, int, ompi_communicator_t**)':
/home/mwichro/lib/dealii-9.0.0/source/base/mpi.cc:129:7: error: 'iota' is 
not a member of 'std'
       std::iota(grp_pids.begin(), grp_pids.end(), 0);
       ^~~
/home/mwichro/lib/dealii-9.0.0/source/base/mpi.cc: In function 'int 
dealii::Utilities::MPI::create_group(ompi_communicator_t* const&, 
ompi_group_t* const&, int, ompi_communicator_t**)':
/home/mwichro/lib/dealii-9.0.0/source/base/mpi.cc:129:7: error: 'iota' is 
not a member of 'std'
       std::iota(grp_pids.begin(), grp_pids.end(), 0);
       ^~~

I fixed that by adding 
 #include <numeric> 
to  source/base/mpi.cc, according 
to https://cdcvs.fnal.gov/redmine/projects/larsoft/wiki/Updating_code_to_GCC_6

The problem will probably also  appear in developement version of deal.II. 


Best, 
Michal


-- 
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