[deal.II] Re: Installation error, unable to configure with p4est

2019-10-05 Thread vachan potluri

>
> Yes, you can likely ignore the error. If you really want to run this 
> quicktest, you can change
> make_quicktest("p4est" ${_mybuild} 10)
> to
> make_quicktest("p4est" ${_mybuild} 4)
> in tests/quick_tests/CMakeLists.txt.


This works. Thanks. 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/f352cf6d-7f40-457d-9e5a-8ce9e5a5ef1f%40googlegroups.com.


Re: [deal.II] Re: Installation error, unable to configure with p4est

2019-10-05 Thread Daniel Arndt
Vachan,

[...]
> However,
> make test
> for p4est failed with the following message
> There are not enough slots available in the system to satisfy the 10 slots
> that were requested by the application:
>   ./p4est.debug
>
> Either request fewer slots for your application, or make more slots
> available
> for use.
> It is true that my PC has only 4 slots (8 with hyper threading). So can I
> ignore this error?
>

Yes, you can likely ignore the error. If you really want to run this
quicktest, you can change
make_quicktest("p4est" ${_mybuild} 10)
to
make_quicktest("p4est" ${_mybuild} 4)
in tests/quick_tests/CMakeLists.txt.

Best,
Daniel

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAOYDWbKQ%3DEJNnHEH8jg_bU9TWLR%3DPU2kJo5CsmJN9G%3DDRj%2BQVg%40mail.gmail.com.


[deal.II] Re: Installation error, unable to configure with p4est

2019-10-04 Thread vachan potluri
Okay, I found the error. Some time back, I noted changing
include/deal.II/base/config.h.in
to
include/deal.II/base/config.h
(removed the .in). I don't remember exactly, but the reason I did this was 
because some error popped up while compiling one of the initial tutorials. 
This was my mistake.

The complete error message of cmake (on the terminal) mentions that 
config.h.in file is missing. So now, I made a copy and, the configuration 
and installation went fine.

However,
make test
for p4est failed with the following message
There are not enough slots available in the system to satisfy the 10 slots
that were requested by the application:
  ./p4est.debug

Either request fewer slots for your application, or make more slots 
available
for use.
It is true that my PC has only 4 slots (8 with hyper threading). So can I 
ignore this error?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/418ae277-bf9d-4b83-b987-a03a3d48a4be%40googlegroups.com.


[deal.II] Re: Installation error, unable to configure with p4est

2019-10-04 Thread vachan potluri
Sorry for incomplete information, cmake exits with the following message.

###
#
#  deal.II configuration:
#CMAKE_BUILD_TYPE:   DebugRelease
#BUILD_SHARED_LIBS:  ON
#CMAKE_INSTALL_PREFIX:   /home/vachan/bin/dealii
#CMAKE_SOURCE_DIR:   /home/vachan/dealii-9.1.1
#(version 9.1.1)
#CMAKE_BINARY_DIR:   /home/vachan/build/dealii
#CMAKE_CXX_COMPILER: GNU 7.4.0 on platform Linux x86_64
#/usr/local/bin/mpicxx
#
#  Configured Features (DEAL_II_ALLOW_BUNDLED = ON, 
DEAL_II_ALLOW_AUTODETECTION = ON):
#  ( DEAL_II_WITH_64BIT_INDICES = OFF )
#  ( DEAL_II_WITH_ADOLC = OFF )
#  ( DEAL_II_WITH_ARPACK = OFF )
#  ( DEAL_II_WITH_ASSIMP = OFF )
#DEAL_II_WITH_BOOST set up with bundled packages
#  ( DEAL_II_WITH_COMPLEX_VALUES = OFF )
#  ( DEAL_II_WITH_CUDA = OFF )
#DEAL_II_WITH_CXX14 = ON
#DEAL_II_WITH_CXX17 = ON
#  ( DEAL_II_WITH_GINKGO = OFF )
#  ( DEAL_II_WITH_GMSH = OFF )
#  ( DEAL_II_WITH_GSL = OFF )
#  ( DEAL_II_WITH_HDF5 = OFF )
#  ( DEAL_II_WITH_LAPACK = OFF )
#  ( DEAL_II_WITH_METIS = OFF )
#DEAL_II_WITH_MPI set up with external dependencies
#DEAL_II_WITH_MUPARSER set up with bundled packages
#  ( DEAL_II_WITH_NANOFLANN = OFF )
#  ( DEAL_II_WITH_NETCDF = OFF )
#  ( DEAL_II_WITH_OPENCASCADE = OFF )
#DEAL_II_WITH_P4EST set up with external dependencies
#DEAL_II_WITH_PETSC set up with external dependencies
#  ( DEAL_II_WITH_SCALAPACK = OFF )
#  ( DEAL_II_WITH_SLEPC = OFF )
#  ( DEAL_II_WITH_SUNDIALS = OFF )
#  ( DEAL_II_WITH_SYMENGINE = OFF )
#DEAL_II_WITH_THREADS set up with bundled packages
#  ( DEAL_II_WITH_TRILINOS = OFF )
#  ( DEAL_II_WITH_UMFPACK = OFF )
#DEAL_II_WITH_ZLIB set up with external dependencies
#
#  Component configuration:
#  ( DEAL_II_COMPONENT_DOCUMENTATION = OFF )
#DEAL_II_COMPONENT_EXAMPLES
#  ( DEAL_II_COMPONENT_PACKAGE = OFF )
#  ( DEAL_II_COMPONENT_PYTHON_BINDINGS = OFF )
#
#  Detailed information (compiler flags, feature configuration) can be 
found in detailed.log
#
#  Run  $ make info  to print a help message with a list of top level 
targets
#
###
-- Configuring incomplete, errors occurred!
See also "/home/vachan/build/dealii/CMakeFiles/CMakeOutput.log".
See also "/home/vachan/build/dealii/CMakeFiles/CMakeError.log".

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/74b5c4d1-7098-417c-bca2-260b4ca48a10%40googlegroups.com.


Re: [deal.II] Re: installation error

2018-01-26 Thread Wolfgang Bangerth

On 01/26/2018 06:59 AM, Juan Carlos Araujo Cabarcas wrote:


 From the dealii detailed.log I see that:

MPI_VERSION = 2.1
OMPI_VERSION = 1.6.5

 From the terminal:

$ mpicc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

So it seems I need to upgrade to MPI 3.0.
Thanks, for having a look at this.


That's one option. You could also try to modify the place in deal.II where we 
use MPI_Comm_create_group to use MPI_Comm_create instead. The difference 
between the two functions is minor, and may be useful to keep our interface at 
MPI 2.x. Any patch would of course be appreciated!


Best
 W.

--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

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


Re: [deal.II] Re: installation error

2018-01-26 Thread Juan Carlos Araujo Cabarcas
Hi, when I install PETSc I allow the configuration process to download the 
necessary libraries it needs: 

./config/configure.py --with-shared=1 --with-x=0 --with-mpi=1 
--with-scalar-type=complex --download-mumps --download-metis 
--download-parmetis --download-superlu_dist --download-blacs 
--download-scalapack --download-superlu_dist

>From the dealii detailed.log I see that:

MPI_VERSION = 2.1
OMPI_VERSION = 1.6.5

>From the terminal:

$ mpicc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

So it seems I need to upgrade to MPI 3.0.
Thanks, for having a look at this.

El jueves, 25 de enero de 2018, 12:29:53 (UTC-5), Wolfgang Bangerth 
escribió:
>
> On 01/24/2018 07:34 AM, Juan Carlos Araujo Cabarcas wrote: 
> > Please find the file: detailed.log attached. 
> > 
> > El martes, 23 de enero de 2018, 17:02:14 (UTC-5), Wolfgang Bangerth 
> > escribió: 
> > 
> > On 01/23/2018 02:13 PM, Bruno Turcksin wrote: 
> >  > 
> >  > 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, 
> >  > _communicator_union); 
>
> It confused me that you are compiling the scalapack file but get an 
> error message that a particular MPI function was not found. This would 
> ordinarily suggest that either scalapack.cc is missing an #include of 
>  (which is not the case) or that your installation is not 
> configured with MPI (which is the case for you). So the error did not 
> make sense to me at first. 
>
> But it turns out that the call in question, MPI_Comm_create_group is a 
> function that was only added to MPI in version 3.0. Apparently all of us 
> use an MPI installation that is sufficiently up to date. What is the 
> version you use? 
>
> Best 
>   W. 
>
> -- 
>  
> Wolfgang Bangerth  email: bang...@colostate.edu 
>  
> www: http://www.math.colostate.edu/~bangerth/ 
>

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


Re: [deal.II] Re: installation error

2018-01-26 Thread Juan Carlos Araujo Cabarcas
Hi, when I install PETSc I allow the configuration process to download the 
necessary libraries it needs: 

./config/configure.py --with-shared=1 --with-x=0 --with-mpi=1 
--with-scalar-type=complex --download-mumps --download-metis 
--download-parmetis --download-superlu_dist --download-blacs 
--download-scalapack --download-superlu_dist

>From the dealii detailed.log I see that:

MPI_VERSION = 2.1
OMPI_VERSION = 1.6.5

>From the terminal:

$ mpicc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

Shall I update my system libraries?

El jueves, 25 de enero de 2018, 12:29:53 (UTC-5), Wolfgang Bangerth 
escribió:
>
> On 01/24/2018 07:34 AM, Juan Carlos Araujo Cabarcas wrote: 
> > Please find the file: detailed.log attached. 
> > 
> > El martes, 23 de enero de 2018, 17:02:14 (UTC-5), Wolfgang Bangerth 
> > escribió: 
> > 
> > On 01/23/2018 02:13 PM, Bruno Turcksin wrote: 
> >  > 
> >  > 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, 
> >  > _communicator_union); 
>
> It confused me that you are compiling the scalapack file but get an 
> error message that a particular MPI function was not found. This would 
> ordinarily suggest that either scalapack.cc is missing an #include of 
>  (which is not the case) or that your installation is not 
> configured with MPI (which is the case for you). So the error did not 
> make sense to me at first. 
>
> But it turns out that the call in question, MPI_Comm_create_group is a 
> function that was only added to MPI in version 3.0. Apparently all of us 
> use an MPI installation that is sufficiently up to date. What is the 
> version you use? 
>
> Best 
>   W. 
>
> -- 
>  
> Wolfgang Bangerth  email: bang...@colostate.edu 
>  
> www: http://www.math.colostate.edu/~bangerth/ 
>

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


Re: [deal.II] Re: installation error

2018-01-25 Thread Wolfgang Bangerth

On 01/24/2018 07:34 AM, Juan Carlos Araujo Cabarcas wrote:

Please find the file: detailed.log attached.

El martes, 23 de enero de 2018, 17:02:14 (UTC-5), Wolfgang Bangerth 
escribió:


On 01/23/2018 02:13 PM, Bruno Turcksin wrote:
 >
 >     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,
 >     _communicator_union);


It confused me that you are compiling the scalapack file but get an 
error message that a particular MPI function was not found. This would 
ordinarily suggest that either scalapack.cc is missing an #include of 
 (which is not the case) or that your installation is not 
configured with MPI (which is the case for you). So the error did not 
make sense to me at first.


But it turns out that the call in question, MPI_Comm_create_group is a 
function that was only added to MPI in version 3.0. Apparently all of us 
use an MPI installation that is sufficiently up to date. What is the 
version you use?


Best
 W.

--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

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


Re: [deal.II] Re: installation error

2018-01-24 Thread Juan Carlos Araujo Cabarcas
Please find the file: detailed.log attached.

El martes, 23 de enero de 2018, 17:02:14 (UTC-5), Wolfgang Bangerth 
escribió:
>
> On 01/23/2018 02:13 PM, Bruno Turcksin wrote: 
> > 
> > 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, 
> > _communicator_union); 
> > 
> > Do you need scalapack? If you don't, just add DEAL_II_WITH_SCALAPACK=OFF 
>
> Out of curiosity, can you also send the output of the detailed.log file in 
> your build directory? 
>
> Best 
>   W. 
>
> -- 
>  
> Wolfgang Bangerth  email: bang...@colostate.edu 
>  
> www: http://www.math.colostate.edu/~bangerth/ 
>
>

-- 
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.
###
#
#  deal.II configuration:
#CMAKE_BUILD_TYPE:   DebugRelease
#BUILD_SHARED_LIBS:  ON
#CMAKE_INSTALL_PREFIX:   /home/ju4nk4/Soft/dealii
#CMAKE_SOURCE_DIR:   /home/ju4nk4/Soft/dealii
#(version 9.0.0-pre, shortrev 55c9e45)
#CMAKE_BINARY_DIR:   /home/ju4nk4/Soft/dealii/build
#CMAKE_CXX_COMPILER: GNU 4.8.4 on platform Linux x86_64
#/usr/bin/c++
#CMAKE_C_COMPILER:   /usr/bin/cc
#CMAKE_Fortran_COMPILER: /usr/bin/gfortran
#CMAKE_GENERATOR:Unix Makefiles
#
#  Base configuration (prior to feature configuration):
#DEAL_II_CXX_FLAGS:-pedantic -fPIC -Wall -Wextra 
-Wpointer-arith -Wwrite-strings -Wsynth -Wsign-compare -Wswitch 
-Woverloaded-virtual -Wno-deprecated-declarations -Wno-literal-suffix -std=c++11
#DEAL_II_CXX_FLAGS_RELEASE:-O2 -funroll-loops -funroll-all-loops 
-fstrict-aliasing -Wno-unused-local-typedefs
#DEAL_II_CXX_FLAGS_DEBUG:  -Og -ggdb -Wa,--compress-debug-sections
#DEAL_II_LINKER_FLAGS: -Wl,--as-needed -rdynamic -fuse-ld=gold
#DEAL_II_LINKER_FLAGS_RELEASE: 
#DEAL_II_LINKER_FLAGS_DEBUG:   -ggdb
#DEAL_II_DEFINITIONS:  
#DEAL_II_DEFINITIONS_RELEASE:  
#DEAL_II_DEFINITIONS_DEBUG:DEBUG
#DEAL_II_USER_DEFINITIONS: 
#DEAL_II_USER_DEFINITIONS_REL: 
#DEAL_II_USER_DEFINITIONS_DEB: DEBUG
#DEAL_II_INCLUDE_DIRS  
#DEAL_II_USER_INCLUDE_DIRS:
#DEAL_II_BUNDLED_INCLUDE_DIRS: 
#DEAL_II_LIBRARIES:m
#DEAL_II_LIBRARIES_RELEASE:
#DEAL_II_LIBRARIES_DEBUG:  
#
#  Configured Features (DEAL_II_ALLOW_BUNDLED = ON, DEAL_II_ALLOW_AUTODETECTION 
= ON):
#  ( DEAL_II_WITH_64BIT_INDICES = OFF )
#  ( DEAL_II_WITH_ADOLC = OFF )
#DEAL_II_WITH_ARPACK set up with external dependencies
#ARPACK_LINKER_FLAGS = 
#ARPACK_LIBRARIES = 
/usr/lib/libarpack.so;/usr/lib/liblapack.so;/usr/lib/libblas.so;gfortran;quadmath;m;c;/usr/lib/openmpi/lib/libmpi.so;dl;/usr/lib/x86_64-linux-gnu/libhwloc.so
#  ( DEAL_II_WITH_ASSIMP = OFF )
#DEAL_II_WITH_BOOST set up with bundled packages
#BOOST_CXX_FLAGS = -Wno-unused-local-typedefs
#BOOST_BUNDLED_INCLUDE_DIRS = 
/home/ju4nk4/Soft/dealii/bundled/boost-1.62.0/include
#BOOST_LIBRARIES = rt
#  ( DEAL_II_WITH_CUDA = OFF )
#  ( DEAL_II_WITH_CXX14 = OFF )
#  ( DEAL_II_WITH_CXX17 = OFF )
#DEAL_II_WITH_GMSH set up with external dependencies
#GMSH_EXE = /usr/bin/gmsh
#  ( DEAL_II_WITH_GSL = OFF )
#  ( DEAL_II_WITH_HDF5 = OFF )
#DEAL_II_WITH_LAPACK set up with external dependencies
#LAPACK_WITH_64BIT_BLAS_INDICES = OFF
#LAPACK_LINKER_FLAGS = 
#LAPACK_LIBRARIES = 
/usr/lib/liblapack.so;/usr/lib/libblas.so;gfortran;quadmath;m;c
#DEAL_II_WITH_METIS set up with external dependencies
#METIS_VERSION = 5.1.0
#METIS_DIR = /home/ju4nk4/Soft/metis-5.1.0
#METIS_INCLUDE_DIRS = /home/ju4nk4/Soft/metis-5.1.0/include
#METIS_USER_INCLUDE_DIRS = /home/ju4nk4/Soft/metis-5.1.0/include
#METIS_LIBRARIES = 
/home/ju4nk4/Soft/metis-5.1.0/build/Linux-x86_64/libmetis/libmetis.a;/usr/lib/openmpi/lib/libmpi.so;dl;/usr/lib/x86_64-linux-gnu/libhwloc.so
#DEAL_II_WITH_MPI set up with external dependencies
#

Re: [deal.II] Re: installation error

2018-01-23 Thread Wolfgang Bangerth

On 01/23/2018 02:13 PM, Bruno Turcksin wrote:


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,
_communicator_union);

Do you need scalapack? If you don't, just add DEAL_II_WITH_SCALAPACK=OFF


Out of curiosity, can you also send the output of the detailed.log file in 
your build directory?


Best
 W.

--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

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


[deal.II] Re: installation error

2018-01-23 Thread Bruno Turcksin
Juan Carlos

On Tuesday, January 23, 2018 at 3:12:20 PM UTC-5, Juan Carlos Araujo 
Cabarcas wrote:
>
> [ 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::copy_to(dealii::ScaLAPACKMatrix&)
>  
> 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, 
> _communicator_union);
>
> Do you need scalapack? If you don't, just add DEAL_II_WITH_SCALAPACK=OFF

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?
>
Every commit is tested see 
https://cdash.kyomu.43-1.org/index.php?project=deal.II It happens that we 
break something but it's pretty rare so you should be fine using master

Best,

Bruno

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


Re: [deal.II] Re: Installation error, please help, thx!

2017-10-25 Thread Wolfgang Bangerth

On 10/25/2017 08:52 PM, Michael wrote:

/home/superman/software/dealii-8.5.0/include/deal.II/lac/sparsity_pattern.h: In 
member function ‘dealii::SparsityPatternIterators::size_type 
dealii::SparsityPatternIterators::Accessor::row() const’:
/home/superman/software/dealii-8.5.0/include/deal.II/lac/sparsity_pattern.h:1156:7:
 error: ‘upper_bound’ is not a member of ‘std’
std::upper_bound(sparsity_pattern->rowstart,
^~~


Something is still not right. This file was last touched on August 13 of this 
year, but line 1156 does not contain the code the error message shows.


In other words, your source directory does not correspond to the current 
development version of deal.II. I don't know how you created it, but it is not 
in a consistent state.


Best
 W.

--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

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


Re: [deal.II] Re: Installation error, please help, thx!

2017-10-25 Thread Michael
Thanks, I did replaced original include/deal.II/lac/sparsity_pattern.h file 
by a new one from github. That was because I got errors during 
installation. 

I've tried again with a clean directory, and get those errors again, please 
take a look at make output file below. And please let me know if anything 
else I can provide or try. Thanks again!

By the way, I also tried to replace both sparsity_pattern.h and 
chunk_sparse_matrix.templates.h by a newer ones from github and there still 
errors happened in chunk_sparse_matrix.templates.h file.

On Wednesday, October 25, 2017 at 8:35:31 PM UTC-5, Wolfgang Bangerth wrote:
>
> On 10/25/2017 06:43 PM, Michael wrote: 
> > 
> /home/superman/software/dealii-8.5.0/include/deal.II/lac/chunk_sparse_matrix.templates.h:
>  
> In instantiation of ‘somenumber 
> dealii::ChunkSparseMatrix::matrix_norm_square(const 
> dealii::Vector&) const [with somenumber = double; number = 
> double]’: 
> > 
> /home/superman/software/dealii-8.5.0/build/source/lac/chunk_sparse_matrix.inst:64:58:
>  
>   required from here 
> > 
> /home/superman/software/dealii-8.5.0/include/deal.II/lac/chunk_sparse_matrix.templates.h:856:56:
>  
> error: cannot convert ‘const std::unique_ptr’ to ‘const 
> size_type* {aka const unsigned int*}’ in initialization 
> > const size_type *colnum_ptr = cols->sparsity_pattern.colnums; 
> >  ^~~ 
>
> Something is rather messed up here. colnums is a std::unique_ptr, but has 
> only 
> been since July 17. But in the same commit that changed colnums to a 
> unique_ptr, I also changed the line in question to 
>const size_type *colnum_ptr = cols->sparsity_pattern.colnums.get(); 
>
> In other words, the files 
>include/deal.II/lac/sparsity_pattern.h 
>include/deal.II/lac/chunk_sparse_matrix.templates.h 
> in your tree are not both at the same state -- one appears to be a 
> development 
> version from after July 17, the other one from before. 
>
> Something must have gotten out of whack when you updated from github. Try 
> again with a clean directory. 
>
> Best 
>   W. 
>
> -- 
>  
> Wolfgang Bangerth  email: bang...@colostate.edu 
>  
> www: http://www.math.colostate.edu/~bangerth/ 
>
>

-- 
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.
Scanning dependencies of target doxygen_headers
Scanning dependencies of target expand_instantiations_exe
[  0%] Building CXX object 
cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o
Scanning dependencies of target obj_tbb_release
Scanning dependencies of target obj_tbb_debug
[  0%] Built target doxygen_headers
[  0%] Building CXX object 
bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb_release.dir/rml/client/rml_tbb.cpp.o
[  0%] Building CXX object 
bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb_debug.dir/rml/client/rml_tbb.cpp.o
Scanning dependencies of target obj_umfpack_GENERIC_release
[  0%] Building CXX object 
bundled/umfpack/UMFPACK/Source/CMakeFiles/obj_umfpack_GENERIC_release.dir/umfpack_global.cc.o
[  1%] Building CXX object 
bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb_release.dir/tbb/arena.cpp.o
[  1%] Building CXX object 
bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb_debug.dir/tbb/arena.cpp.o
[  1%] Building CXX object 
bundled/umfpack/UMFPACK/Source/CMakeFiles/obj_umfpack_GENERIC_release.dir/umfpack_tictoc.cc.o
[  1%] Building CXX object 
bundled/umfpack/UMFPACK/Source/CMakeFiles/obj_umfpack_GENERIC_release.dir/umfpack_timer.cc.o
[  1%] Built target obj_umfpack_GENERIC_release
Scanning dependencies of target obj_umfpack_GENERIC_debug
[  1%] Building CXX object 
bundled/umfpack/UMFPACK/Source/CMakeFiles/obj_umfpack_GENERIC_debug.dir/umfpack_global.cc.o
[  1%] Building CXX object 
bundled/umfpack/UMFPACK/Source/CMakeFiles/obj_umfpack_GENERIC_debug.dir/umfpack_tictoc.cc.o
[  1%] Building CXX object 
bundled/umfpack/UMFPACK/Source/CMakeFiles/obj_umfpack_GENERIC_debug.dir/umfpack_timer.cc.o
[  1%] Built target obj_umfpack_GENERIC_debug
Scanning dependencies of target obj_umfpack_DL_SOLVE_release
[  1%] Building CXX object 
bundled/umfpack/UMFPACK/Source/CMakeFiles/obj_umfpack_DL_SOLVE_release.dir/umfpack_solve.cc.o
[  1%] Built target obj_umfpack_DL_SOLVE_release
Scanning dependencies of target obj_umfpack_DL_SOLVE_debug
[  1%] Linking CXX executable ../../bin/expand_instantiations
[  1%] Building CXX object 
bundled/umfpack/UMFPACK/Source/CMakeFiles/obj_umfpack_DL_SOLVE_debug.dir/umfpack_solve.cc.o
[  1%] 

[deal.II] Re: Installation error, please help, thx!

2017-10-25 Thread Daniel Arndt
Michael,

can you just provide us with the full make output when starting from a 
clean build directory?

Best,
Daniel

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


[deal.II] Re: Installation error

2017-10-23 Thread Bruno Turcksin
Lev,

How many processors did you use when you compiled deal.II? The compiler may 
run out of memory and hit an internal error if you use too many processor. 
Can you try again using only one processor.

Best,

Bruno

On Monday, October 23, 2017 at 9:07:40 PM UTC-4, Lev Karatun wrote:
>
> Hi everyone,
>
> I was updating dealII to commit 1976fcbcca984d8fe8520168d3900bc2ced5bb84 
> (one before the commit that doesn't work with Aspect) and got the following 
> error message:
>
> [ 62%] Building CXX object 
>>> source/base/CMakeFiles/obj_base_debug.dir/flow_function.cc.o
>>
>> In file included from 
>>> /home/lev/aspect/dealii_debug/source/base/flow_function.cc:18:0:
>>
>> /home/lev/aspect/dealii_debug/include/deal.II/base/flow_function.h:59:13: 
>>> internal compiler error: in use_thunk, at cp/method.c:338
>>
>>  virtual ~FlowFunction() = default;
>>
>>  ^
>>
>> Please submit a full bug report,
>>
>> with preprocessed source if appropriate.
>>
>> See  for instructions.
>>
>> Preprocessed source stored into /tmp/ccWFge1Z.out file, please attach 
>>> this to your bugreport.
>>
>> make[2]: *** 
>>> [source/base/CMakeFiles/obj_base_debug.dir/flow_function.cc.o] Error 1
>>
>> make[1]: *** [source/base/CMakeFiles/obj_base_debug.dir/all] Error 2
>>
>> make: *** [all] Error 2
>>
>>
> I attached the bug report file.
> If someone could help me fix it, I would appreciate it!
>
> Best regards,
> Lev Karatun.
>

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