Re: [deal.II] Dealii installation error

2018-10-22 Thread Chih-Che Chueh
Hi Wolfgang,

I have spotted the problem causing this error I face yesterday. Basically,
if I want to install the software including p4est, trilinos, dealii
successfully, I can only do module load gcc-related compilers (no
intel/2018 etc) before the installation. But there is another error
happening when I can actually run step-32 in parallel for testing by
typing  mpirun -np 4 ./step-32 ./step-32.prm  . How do I solve it?

[chueh5851a@clogin2 step-xx]$ make release
Scanning dependencies of target release
[100%] Switch CMAKE_BUILD_TYPE to Release
-- Autopilot invoked
-- Run   $ make info  to print a detailed help message
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/chueh5851a/software/dealii/examples/step-xx
Scanning dependencies of target step-32
[100%] Building CXX object CMakeFiles/step-32.dir/step-32.cc.o
/home/chueh5851a/software/dealii/examples/step-xx/step-32.cc:874:25:
warning: ‘using ConstraintMatrix = class dealii::AffineConstraints’
is deprecated [-Wdeprecated-declarations]
 ConstraintMatrixstokes_constraints;
 ^~
In file included from
/home/chueh5851a/software/dealii/examples/step-xx/step-32.cc:40:0:
/home/chueh5851a/software/dealii/include/deal.II/lac/affine_constraints.h:65:70:
note: declared here
 using ConstraintMatrix DEAL_II_DEPRECATED = AffineConstraints;
  ^
/home/chueh5851a/software/dealii/examples/step-xx/step-32.cc:886:22:
warning: ‘using ConstraintMatrix = class dealii::AffineConstraints’
is deprecated [-Wdeprecated-declarations]
 ConstraintMatrix temperature_constraints;
  ^~~
In file included from
/home/chueh5851a/software/dealii/examples/step-xx/step-32.cc:40:0:
/home/chueh5851a/software/dealii/include/deal.II/lac/affine_constraints.h:65:70:
note: declared here
 using ConstraintMatrix DEAL_II_DEPRECATED = AffineConstraints;
  ^
Linking CXX executable step-32
[100%] Built target step-32
Built target release
[chueh5851a@clogin2 step-xx]$ mpirun -np 4 ./step-32 ./step-32.prm
[clogin2:87394] *** Process received signal ***
[clogin2:87394] Signal: Segmentation fault (11)
[clogin2:87394] Signal code: Address not mapped (1)
[clogin2:87394] Failing at address: 0xc8dce218
[clogin2:87395] *** Process received signal ***
[clogin2:87396] *** Process received signal ***
[clogin2:87396] Signal: Segmentation fault (11)
[clogin2:87396] Signal code: Address not mapped (1)
[clogin2:87396] Failing at address: 0xc8dce218
[clogin2:87397] *** Process received signal ***
[clogin2:87397] Signal: Segmentation fault (11)
[clogin2:87397] Signal code: Address not mapped (1)
[clogin2:87397] Failing at address: 0xc8dce218
[clogin2:87395] Signal: Segmentation fault (11)
[clogin2:87395] Signal code: Address not mapped (1)
[clogin2:87395] Failing at address: 0xc8dce218
[clogin2:87394] [ 0] [clogin2:87397] [ 0] [clogin2:87396] [ 0]
/usr/lib64/libc.so.6(+0x35250)[0x2aaac949d250]
[clogin2:87396] [clogin2:87395] [ 0]
/usr/lib64/libc.so.6(+0x35250)[0x2aaac949d250]
[clogin2:87394] [ 1] /usr/lib64/libc.so.6(+0x35250)[0x2aaac949d250]
[clogin2:87397] [ 1] [ 1]
/pkg/openmpi/3.0.0/gcc/6.3.0/lib64/libmpi.so.40(PMPI_Comm_size+0x42)[0x2aaac8a02bd2]
[clogin2:87396] [ 2]
/pkg/openmpi/3.0.0/gcc/6.3.0/lib64/libmpi.so.40(PMPI_Comm_size+0x42)[0x2aaac8a02bd2]
[clogin2:87397] [ 2] /home/chueh5851a/software/p4est-2.0/FAST/lib/
libp4est-2.0.so(p4est_comm_parallel_env_get_info+0xf)[0x2aaac7aea8bf]
[clogin2:87397] [ 3] /usr/lib64/libc.so.6(+0x35250)[0x2aaac949d250]
[clogin2:87395] [ 1]
/pkg/openmpi/3.0.0/gcc/6.3.0/lib64/libmpi.so.40(PMPI_Comm_size+0x42)[0x2aaac8a02bd2]
[clogin2:87394] [ 2] /home/chueh5851a/software/p4est-2.0/FAST/lib/
libp4est-2.0.so(p4est_comm_parallel_env_get_info+0xf)[0x2aaac7aea8bf]
[clogin2:87394] [ 3] /home/chueh5851a/software/p4est-2.0/FAST/lib/
libp4est-2.0.so(p4est_comm_parallel_env_get_info+0xf)[0x2aaac7aea8bf]
[clogin2:87396] [ 3] /home/chueh5851a/software/p4est-2.0/FAST/lib/
libp4est-2.0.so(p4est_new_ext+0xbd)[0x2aaac7ad9bcd]
[clogin2:87396] [ 4] /home/chueh5851a/software/p4est-2.0/FAST/lib/
libp4est-2.0.so(p4est_new_ext+0xbd)[0x2aaac7ad9bcd]
[clogin2:87394] [ 4] /home/chueh5851a/software/p4est-2.0/FAST/lib/
libp4est-2.0.so(p4est_new_ext+0xbd)[0x2aaac7ad9bcd]
[clogin2:87397] [ 4]
/pkg/openmpi/3.0.0/gcc/6.3.0/lib64/libmpi.so.40(PMPI_Comm_size+0x42)[0x2aaac8a02bd2]
[clogin2:87395] [ 2] /home/chueh5851a/software/p4est-2.0/FAST/lib/
libp4est-2.0.so(p4est_comm_parallel_env_get_info+0xf)[0x2aaac7aea8bf]
[clogin2:87395] [ 3] /home/chueh5851a/software/p4est-2.0/FAST/lib/
libp4est-2.0.so(p4est_new_ext+0xbd)[0x2aaac7ad9bcd]
[clogin2:87395] [ 4]
/home/chueh5851a/software/dealii/lib/libdeal_II.so.9.1.0-pre(_ZN6dealii8parallel11distributed13TriangulationILi2ELi2EE31copy_new_triangulation_to_p4estESt17integral_constantIiLi2EE+0xbe5)[0x2aaab26ff125]

Re: [deal.II] Error in installing deal.ii with spack on CentOs7

2018-10-22 Thread Denis Davydov
Yes, JP is correct that it has to do with incompatible requirements on 
suitesparse from Trilinos and latest release of PETSc. 
To overcome this I recently disabled suitesparse by default in Trilinos, but it 
could be that the commit hash we recommend currently on wiki does not have 
this. I will check it later today and update wiki if needed.

Regards,
Denis

-- 
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] Dealii installation error

2018-10-22 Thread Wolfgang Bangerth
On 10/22/18 8:09 AM, Chih-Che Chueh wrote:
> -- Could NOT find MPI_C (missing: MPI_C_WORKS)
> -- Could NOT find MPI_CXX (missing: MPI_CXX_WORKS)
> -- Could NOT find MPI_Fortran (missing: MPI_Fortran_WORKS)
> -- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND MPI_Fortran_FOUND)
> -- Performing Test MPI_HAVE_MPI_SEEK_SET
> -- Performing Test MPI_HAVE_MPI_SEEK_SET - Failed
> -- MPI_MPI_H not found! Call:

Chih-Che,
Well, it apparently can't find anything about the MPI system. Can you take a 
look into the CMakeFiles/CMakeErrors.log file to see what the error messages 
related to all of the MPI stuff are?

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] Error in installing deal.ii with spack on CentOs7

2018-10-22 Thread Alberto Salvadori
J-P  and Praveen,

Thanks for your help. Spack installation for deal.ii  worked out well. Petsc 
3.10 or later is required, I used 3.10. 

Alberto

Alberto Salvadori
Associate Professor 
DIMI, University of Brescia, Italy


> On 22 Oct 2018, at 09:28, Jean-Paul Pelteret  wrote:
> 
>> Shall I edit “.spack/linux/packages.yaml” file ?
> 
> Yes, since you’re already using this file to constrain other packages I would 
> suggest adding
> 
>   petsc:
> version: [3.9.4]
>   suite-sparse:
> version: [5.1.0]
> 
> to that list. You should check to see if the version of PETSc can be safely 
> incremented upwards - I’ve taken a conservative guess as to which version is 
> safe to use.
> 
>> On 22 Oct 2018, at 08:57, Alberto Salvadori  
>> wrote:
>> 
>> Thank you J-P.
>> Can you please remind me how to do what you suggest? Shall I edit 
>> “.spack/linux/packages.yaml” file ?
>> 
>> 
>> Alberto Salvadori
>>  Dipartimento di Ingegneria Civile, Architettura, Territorio, Ambiente e di 
>> Matematica (DICATAM)
>>  Universita` di Brescia, via Branze 43, 25123 Brescia
>>  Italy
>>  tel 030 3711239
>>  fax 030 3711312
>> 
>> e-mail: 
>>  alberto.salvad...@unibs.it
>> web-pages:
>>  http://m4lab.unibs.it/faculty.html
>>  http://dicata.ing.unibs.it/salvadori
>> 
>> 
>>> On Mon, Oct 22, 2018 at 8:43 AM Jean-Paul Pelteret  
>>> wrote:
>>> Hi Alberto,
>>> 
>>> As best I recall, their is a problem with a hidden clash in the 
>>> dependencies between the latest PETSc and Trilinos versions. (I thought 
>>> that there was an issue/PR on github/spack, but I couldn’t find it right 
>>> now.) The former wants a new version of SuiteSparse while the latter does 
>>> not yet support it. I think that the solution is to specify an older 
>>> version of PETSc when building with both PETSc and Trilinos.
>>> 
>>> Best,
>>> J-P
>>> 
 On 22 Oct 2018, at 08:19, Alberto Salvadori  
 wrote:
 
 Thank you, Praveen.
 
 While installing deal.ii all detailed instructions on the spack wiki page 
 have been followed. I cloned spack from git (I thus assume it is the 
 latest version) and made no modifications (yet :-) ) to the  
 “.spack/linux/packages.yaml” file. By the way, I did install deal.ii on 
 opensuse a couple of weeks ago without this issue.
 
 Shall I attach my  “.spack/linux/packages.yaml”  here?
 
 Alberto 
 
 Alberto Salvadori
  Dipartimento di Ingegneria Civile, Architettura, Territorio, Ambiente e 
 di Matematica (DICATAM)
  Universita` di Brescia, via Branze 43, 25123 Brescia
  Italy
  tel 030 3711239
  fax 030 3711312
 
 e-mail: 
  alberto.salvad...@unibs.it
 web-pages:
  http://m4lab.unibs.it/faculty.html
  http://dicata.ing.unibs.it/salvadori
 
 
> On Mon, Oct 22, 2018 at 8:08 AM Praveen C  wrote:
> When I check spec on my opensuse machine, dealii@9.0.1 wants to use 
> suite-sparse@5.3.0
> 
> Have you perhaps already set some versions in your 
> “.spack/linux/packages.yaml” file ?
> 
> What does your file look like ?
> 
> Also, you may want to update your spack to see it that fixes it.
> 
> Thanks
> praveen
> 
>> On 22-Oct-2018, at 11:20 AM, Alberto Salvadori 
>>  wrote:
>> 
>> Dear community
>> 
>> I am installing deal.ii (latest release) on a CentOS7 equipped machine. 
>> After typing
>> 
>> spack install --test=root dealii
>> 
>> I see this error:
>> 
>> ==> Error: An unsatisfiable version constraint has been detected for 
>> spec:
>> 
>> suite-sparse@5.3.0%gcc@4.8.5~cuda~openmp+pic~tbb 
>> arch=linux-centos7-x86_64 
>> 
>> 
>> while trying to concretize the partial spec:
>> 
>> dealii@9.0.1%gcc@4.8.5+adol-c+arpack+assimp build_type=DebugRelease 
>> ~cuda cuda_arch= 
>> ~doc+gmsh+gsl+hdf5~int64+metis+mpi+nanoflann+netcdf+oce~optflags+p4est+petsc~python+scalapack+slepc+sundials+trilinos
>>  arch=linux-centos7-x86_64 
>> ^adol-c@2.6.4:
>> ^arpack-ng+mpi
>> ^mpi
>> ^openblas@0.3.3%gcc@4.8.5 cpu_target= ~ilp64+pic+shared 
>> threads=none ~virtual_machine arch=linux-centos7-x86_64 
>> ^assimp
>> 
>> ^boost@1.59.0:1.63,1.65.1,1.67.0:+iostreams+serialization+system+thread
>> ^bzip2
>> ^diffutils
>> ^zlib@1.2.11%gcc@4.8.5+optimize+pic+shared 
>> arch=linux-centos7-x86_64 
>> ^cmake@3.12.2%gcc@4.8.5~doc+ncurses+openssl+ownlibs~qt 
>> arch=linux-centos7-x86_64 
>> ^ncurses
>> ^pkgconfig
>> ^openssl
>> ^perl@5.14.0:
>> ^gdbm
>> ^readline
>> ^gmsh+netgen+oce+tetgen
>> ^gmp
>> ^autoconf

Re: [deal.II] project_to_manifold

2018-10-22 Thread Praveen C


> On 22-Oct-2018, at 9:26 PM, Wolfgang Bangerth  wrote:
> 
> On 10/22/2018 09:44 AM, Praveen C wrote:
>> 
>> The clone function doesnt seem to do much. Why isnt there a default 
>> clone function in the parent class ?
> 
> Because you need to create an object of derived class. The base class 
> can't know what that is :-)
> 
> Best
>  W.

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


Re: [deal.II] project_to_manifold

2018-10-22 Thread Wolfgang Bangerth
On 10/22/2018 09:44 AM, Praveen C wrote:
> 
> The clone function doesnt seem to do much. Why isnt there a default 
> clone function in the parent class ?

Because you need to create an object of derived class. The base class 
can't know what that is :-)

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

2018-10-22 Thread Praveen C


> On 22-Oct-2018, at 1:28 PM, Daniel Arndt  
> wrote:
> 
> Praveen,
> 
> I had a mistake, this 
> 
> virtual Point<2> project_to_manifold (const ArrayView< const Point<2>> 
> _points,
>  const Point<2>  
> ) const
> {
> …
> }
> 
> fixed it.
> So the compiler warnings are useful in the end, aren't they? ;-)
>  
I am happy to get warnings.

> Could you tell me about the “clone” function. We have to always implement 
> this in derived manifold classes ?
> Yes,we decided to store copy of Manifold objects in Triangulation objects and 
> that required the Mannifold class to have a "clone" function. 

The clone function doesnt seem to do much. Why isnt there a default clone 
function in the parent class ?

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


Re: [deal.II] Saving distributed vector and FullMatrix to binary files

2018-10-22 Thread Wolfgang Bangerth


Jonathan,

> I am implementing an algorithm in which I need to save some data and the 
> distributed solution vector at each time increment for later use. Since this 
> is potentially a lot of data that I cannot store in available memory I would 
> like to be able to write this data out to binary files which I may read back 
> in later. Is there a good data structure in dealii that might allow me to do 
> this? I see "block_write" in the non-distributed Vector class but I 
> do 
> not see this write/read functionality in the FullMatrix or distributed vector 
> classes. Perhaps there is a better way to do what I want with some data 
> structure I am unfamiliar with.

I suspect that no way currently exists for what you want to do with these two 
classes. But it shouldn't be very hard to do. If you take a look at the 
implementation of Vector::block_write/read(), you will immediately see how to 
do that in FullMatrix as well. We'd definitely like to integrate any patch you 
come up with in this regard!

distributed::Vector may be more complicated because the data structures that 
store such vectors are more complicated than in the case of FullMatrix (which 
really only stores the sizes of the matrix, plus the actual data in a flat 
array). But it should be possible to write such functions nonetheless.

A more elegant way may, however, be to use the serialization functionality we 
have for many classes. Take a look, for example, at this test, for example:
   https://github.com/dealii/dealii/blob/master/tests/serialization/table_2.cc
The verify() function is defined here:
 
https://github.com/dealii/dealii/blob/master/tests/serialization/serialization.h
The test shows how to serialize data for a Table<2,T>, which the base class 
for FullMatrix.

We use serialization of objects in several large projects. It works pretty well.

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] Dealii installation error

2018-10-22 Thread Chih-Che Chueh
Dear all,

In order to make install the deal.II, I load all the necessary modules
first so that I have this
[chueh5851a@clogin2 build]$ module list
Currently Loaded Modulefiles:
  1) blacs/openmpi/gcc/64/1.1patch03   4) scalapack/openmpi/gcc/64/2.0.2
7) mlib/OpenBLAS-0.2.20
  2) lapack/gcc/64/3.7.0   5) blas/gcc/64/3.7.0
 8) gcc/6.3.0
  3) mpi/openmpi-3.0.0/intel2018u1 6) openmpi/gcc/64/1.10.4
 9) openmpi/open64/64/1.10.3

Then I get an error after I type this.



[chueh5851a@clogin2 build]$ /usr/bin/cmake3
-DCMAKE_INSTALL_PREFIX=/home/chueh5851a/software/dealii
-DP4EST_DIR=/home/chueh5851a/software/p4est-2.0/FAST
-DTRILINOS_DIR=/home/chueh5851a/software/Trilinos  -D
DEAL_II_WITH_MPI:BOOL=ON  -D DEAL_II_WITH_THREADS:BOOL=ON  -D
DEAL_II_WITH_UMFPACK:BOOL=ON  -D DEAL_II_WITH_TRILINOS:BOOL=ON  -D
DEAL_II_WITH_PETSC:BOOL=OFF  -D DEAL_II_WITH_SLEPC:BOOL=OFF  `pwd`/..


Basically, what the error is caused by not finding MPI (see the error
below). But I already load the necessary modules including MPI already.
Does anyone help me out?


-- Include
/home/chueh5851a/software/dealii/cmake/checks/check_01_cxx_features.cmake
-- DEAL_II_WITH_CXX14 successfully set up
--
-- Include
/home/chueh5851a/software/dealii/cmake/checks/check_02_compiler_features.cmake
--
-- Include
/home/chueh5851a/software/dealii/cmake/checks/check_02_system_features.cmake
--
-- Include
/home/chueh5851a/software/dealii/cmake/checks/check_03_compiler_bugs.cmake
--
-- Include
/home/chueh5851a/software/dealii/cmake/configure/configure_1_cuda.cmake
-- DEAL_II_WITH_CUDA is set to off.
--
-- Include
/home/chueh5851a/software/dealii/cmake/configure/configure_1_lapack.cmake
-- A library with LAPACK API found.
--   LAPACK_LIBRARIES:
/usr/lib64/liblapack.so;/usr/lib64/libblas.so;/usr/lib64/libblas.so;gfortran;m;gcc_s;gcc;quadmath;m;gcc_s;gcc;c;gcc_s;gcc
--   LAPACK_LINKER_FLAGS:
-- Found LAPACK
-- DEAL_II_WITH_LAPACK successfully set up with external dependencies.
--
-- Include
/home/chueh5851a/software/dealii/cmake/configure/configure_1_mpi.cmake
-- Could NOT find MPI_C (missing: MPI_C_WORKS)
-- Could NOT find MPI_CXX (missing: MPI_CXX_WORKS)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_WORKS)
-- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND MPI_Fortran_FOUND)
-- Performing Test MPI_HAVE_MPI_SEEK_SET
-- Performing Test MPI_HAVE_MPI_SEEK_SET - Failed
-- MPI_MPI_H not found! Call:
-- FIND_FILE(MPI_MPI_H NAMES mpi.h HINTS)
--   MPI_VERSION: 0.0
--   MPI_LIBRARIES:
/pkg/openmpi/3.0.0/intel/2018_u1/lib64/libmpi.so;/pkg/openmpi/3.0.0/intel/2018_u1/lib64/libmpi_usempif08.so;/pkg/openmpi/3.0.0/intel/2018_u1/lib64/libmpi_usempi_ignore_tkr.so;/pkg/openmpi/3.0.0/intel/2018_u1/lib64/libmpi_mpifh.so;/pkg/openmpi/3.0.0/intel/2018_u1/lib64/libmpi.so;/pkg/openmpi/3.0.0/intel/2018_u1/lib64/libmpi.so
--   MPI_INCLUDE_DIRS:
--   MPI_USER_INCLUDE_DIRS:
--   MPI_CXX_FLAGS:
--   MPI_LINKER_FLAGS: -Wl,-rpath -Wl,/opt/pbs/lib -Wl,-rpath
-Wl,/usr/lib64 -Wl,-rpath -Wl,/pkg/openmpi/3.0.0/intel/2018_u1/lib64
-Wl,--enable-new-dtags -L/opt/pbs/lib -L/usr/lib64 -pthread
-- Could NOT find MPI
-- DEAL_II_WITH_MPI has unmet external dependencies.
CMake Error at cmake/configure/configure_1_mpi.cmake:84 (MESSAGE):


  Could not find any suitable mpi library!



  Please ensure that an mpi library is installed on your computer

  and set CMAKE_CXX_COMPILER to the appropriate mpi wrappers:

  $ CXX=".../mpicxx" cmake <...>
  $ cmake -DCMAKE_CXX_COMPILER=".../mpicxx" <...>

  Or with additional C and Fortran wrappers (recommended!):

  $ CC=".../mpicc" CXX=".../mpicxx" F90=".../mpif90" cmake <...>
  $ cmake -DCMAKE_C_COMPILER=".../mpicc"\
  -DCMAKE_CXX_COMPILER=".../mpicxx"\
  -DCMAKE_Fortran_COMPILER=".../mpif90"\
  <...>

Call Stack (most recent call first):
  build/CMakeFiles/CMakeTmp/evaluate_expression.tmp:1
(FEATURE_MPI_ERROR_MESSAGE)
  cmake/macros/macro_evaluate_expression.cmake:30 (INCLUDE)
  cmake/macros/macro_configure_feature.cmake:267 (EVALUATE_EXPRESSION)
  cmake/configure/configure_1_mpi.cmake:101 (CONFIGURE_FEATURE)
  cmake/macros/macro_verbose_include.cmake:19 (INCLUDE)
  CMakeLists.txt:124 (VERBOSE_INCLUDE)


-- Configuring incomplete, errors occurred!
See also
"/home/chueh5851a/software/dealii/build/CMakeFiles/CMakeOutput.log".
See also "/home/chueh5851a/software/dealii/build/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.
For more options, visit https://groups.google.com/d/optout.


[deal.II] Re: Illegal instruction error when testing step-31

2018-10-22 Thread Daniel Arndt

>
> I encountered an error when I tried to test the step-31, and I got an 
> error message saying "Illegal instruction: 4" as the following:
>
> "
>
> Number of active cells: 256 (on 5 levels)
>
> Number of degrees of freedom: 3556 (2178+289+1089)
>
>
> Timestep 0:  t=0
>
>Assembling...
>
>Rebuilding Stokes preconditioner...make[3]: *** [CMakeFiles/run] 
> Illegal instruction: 4
>
> make[2]: *** [CMakeFiles/run.dir/all] Error 2
>
> make[1]: *** [CMakeFiles/run.dir/rule] Error 2
>
> make: *** [run] Error 2
> ".
>
What is the result of running the quick tests via 
make test 
in you build directory?
 

>
> I suspected that there is an issue about my trilinos, since when I tested 
> and played with first several steps in tutorial everything worked fine and 
> this is the first example with trilinos that I have tried. I installed the 
> trilinos in the following way:
>   cmake\
>  -DTrilinos_ENABLE_Amesos=ON  \
>  -DTrilinos_ENABLE_Epetra=ON  \
>  -DTrilinos_ENABLE_Ifpack=ON  \
>  -DTrilinos_ENABLE_AztecOO=ON \
>  -DTrilinos_ENABLE_Sacado=ON  \
>  -DTrilinos_ENABLE_Teuchos=ON \
>  -DTrilinos_ENABLE_MueLu=ON   \
>  -DTrilinos_ENABLE_ML=ON  \
>  -DTrilinos_ENABLE_Kokkos=OFF \
>  -DTPL_ENABLE_MPI=ON  \
>  -DBUILD_SHARED_LIBS=ON   \
>  -DCMAKE_BUILD_TYPE=RELEASE   \
>  -DCMAKE_INSTALL_PREFIX=/path/to/installation  \
>  ../
>  make -j2 install
>
Did you replace "/path/to/installation" with something meaningful like 
"${HOME}/trilinos"?

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.


Re: [deal.II] Error in installing deal.ii with spack on CentOs7

2018-10-22 Thread Jean-Paul Pelteret
> Shall I edit “.spack/linux/packages.yaml” file ?

Yes, since you’re already using this file to constrain other packages I would 
suggest adding

  petsc:
version: [3.9.4]
  suite-sparse:
version: [5.1.0]

to that list. You should check to see if the version of PETSc can be safely 
incremented upwards - I’ve taken a conservative guess as to which version is 
safe to use.

> On 22 Oct 2018, at 08:57, Alberto Salvadori  
> wrote:
> 
> Thank you J-P.
> Can you please remind me how to do what you suggest? Shall I edit 
> “.spack/linux/packages.yaml” file ?
> 
> 
> Alberto Salvadori
>  Dipartimento di Ingegneria Civile, Architettura, Territorio, Ambiente e di 
> Matematica (DICATAM)
>  Universita` di Brescia, via Branze 43, 25123 Brescia
>  Italy
>  tel 030 3711239
>  fax 030 3711312
> 
> e-mail: 
>  alberto.salvad...@unibs.it 
> web-pages:
>  http://m4lab.unibs.it/faculty.html 
>  http://dicata.ing.unibs.it/salvadori 
> 
> 
> On Mon, Oct 22, 2018 at 8:43 AM Jean-Paul Pelteret  > wrote:
> Hi Alberto,
> 
> As best I recall, their is a problem with a hidden clash in the dependencies 
> between the latest PETSc and Trilinos versions. (I thought that there was an 
> issue/PR on github/spack, but I couldn’t find it right now.) The former wants 
> a new version of SuiteSparse while the latter does not yet support it. I 
> think that the solution is to specify an older version of PETSc when building 
> with both PETSc and Trilinos.
> 
> Best,
> J-P
> 
>> On 22 Oct 2018, at 08:19, Alberto Salvadori > > wrote:
>> 
>> Thank you, Praveen.
>> 
>> While installing deal.ii all detailed instructions on the spack wiki page 
>> have been followed. I cloned spack from git (I thus assume it is the latest 
>> version) and made no modifications (yet :-) ) to the  
>> “.spack/linux/packages.yaml” file. By the way, I did install deal.ii on 
>> opensuse a couple of weeks ago without this issue.
>> 
>> Shall I attach my  “.spack/linux/packages.yaml”  here?
>> 
>> Alberto 
>> 
>> Alberto Salvadori
>>  Dipartimento di Ingegneria Civile, Architettura, Territorio, Ambiente e di 
>> Matematica (DICATAM)
>>  Universita` di Brescia, via Branze 43, 25123 Brescia
>>  Italy
>>  tel 030 3711239
>>  fax 030 3711312
>> 
>> e-mail: 
>>  alberto.salvad...@unibs.it 
>> web-pages:
>>  http://m4lab.unibs.it/faculty.html 
>>  http://dicata.ing.unibs.it/salvadori 
>> 
>> 
>> On Mon, Oct 22, 2018 at 8:08 AM Praveen C > > wrote:
>> When I check spec on my opensuse machine, dealii@9.0.1 wants to use 
>> suite-sparse@5.3.0
>> 
>> Have you perhaps already set some versions in your 
>> “.spack/linux/packages.yaml” file ?
>> 
>> What does your file look like ?
>> 
>> Also, you may want to update your spack to see it that fixes it.
>> 
>> Thanks
>> praveen
>> 
>>> On 22-Oct-2018, at 11:20 AM, Alberto Salvadori >> > wrote:
>>> 
>>> Dear community
>>> 
>>> I am installing deal.ii (latest release) on a CentOS7 equipped machine. 
>>> After typing
>>> 
>>> spack install --test=root dealii
>>> 
>>> I see this error:
>>> 
>>> ==> Error: An unsatisfiable version constraint has been detected for spec:
>>> 
>>> suite-sparse@5.3.0%gcc@4.8.5~cuda~openmp+pic~tbb 
>>> arch=linux-centos7-x86_64 
>>> 
>>> 
>>> while trying to concretize the partial spec:
>>> 
>>> dealii@9.0.1%gcc@4.8.5+adol-c+arpack+assimp build_type=DebugRelease 
>>> ~cuda cuda_arch= 
>>> ~doc+gmsh+gsl+hdf5~int64+metis+mpi+nanoflann+netcdf+oce~optflags+p4est+petsc~python+scalapack+slepc+sundials+trilinos
>>>  arch=linux-centos7-x86_64 
>>> ^adol-c@2.6.4:
>>> ^arpack-ng+mpi
>>> ^mpi
>>> ^openblas@0.3.3%gcc@4.8.5 cpu_target= ~ilp64+pic+shared 
>>> threads=none ~virtual_machine arch=linux-centos7-x86_64 
>>> ^assimp
>>> 
>>> ^boost@1.59.0:1.63,1.65.1,1.67.0:+iostreams+serialization+system+thread
>>> ^bzip2
>>> ^diffutils
>>> ^zlib@1.2.11%gcc@4.8.5+optimize+pic+shared 
>>> arch=linux-centos7-x86_64 
>>> ^cmake@3.12.2%gcc@4.8.5~doc+ncurses+openssl+ownlibs~qt 
>>> arch=linux-centos7-x86_64 
>>> ^ncurses
>>> ^pkgconfig
>>> ^openssl
>>> ^perl@5.14.0:
>>> ^gdbm
>>> ^readline
>>> ^gmsh+netgen+oce+tetgen
>>> ^gmp
>>> ^autoconf
>>> ^m4@1.4.6:
>>> ^automake
>>> ^libtool@2.4.2:
>>> ^netgen
>>> ^oce
>>> ^tetgen
>>> ^hdf5@1.8.9:+hl+mpi
>>> ^intel-tbb@2019%gcc@4.8.5 cxxstd=default +shared+tm 

[deal.II] Re: Couple questions on mesh operations

2018-10-22 Thread Daniel Arndt
Earl,

First question, Is there a built in function to copy/paste a triangulation? 
> I want to copy and paste a mesh geometry around an axis. 
>
The copy constructor for Triangulation is deleted, but there is 
Triangulation::copy_triangulation(https://www.dealii.org/developer/doxygen/deal.II/classTriangulation.html#a1f2bf1d34aacdba358add7fd59b32822)
that can be used instead.
 

>
> Second question: Can merge_triangulations be used to merge more than 2 
> triangulations? I have a lot of Triangulations. :P 
>
In the current developer version there is an overload that takes 
arbitrarily many Triangulation objects 
(https://www.dealii.org/developer/doxygen/deal.II/namespaceGridGenerator.html#ab46bea52fb08fbe2ddb21c0ea204).
 
Otherwise, you can just merge the Triangulation objects iteratively.

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.


Re: [deal.II] Error in installing deal.ii with spack on CentOs7

2018-10-22 Thread Alberto Salvadori
Thank you J-P.
Can you please remind me how to do what you suggest? Shall I
edit “.spack/linux/packages.yaml” file ?



*Alberto Salvadori* Dipartimento di Ingegneria Civile, Architettura,
Territorio, Ambiente e di Matematica (DICATAM)
 Universita` di Brescia, via Branze 43, 25123 Brescia
 Italy
 tel 030 3711239
 fax 030 3711312

e-mail:
 alberto.salvad...@unibs.it
web-pages:
 http://m4lab.unibs.it/faculty.html
 http://dicata.ing.unibs.it/salvadori


On Mon, Oct 22, 2018 at 8:43 AM Jean-Paul Pelteret 
wrote:

> Hi Alberto,
>
> As best I recall, their is a problem with a hidden clash in the
> dependencies between the latest PETSc and Trilinos versions. (I thought
> that there was an issue/PR on github/spack, but I couldn’t find it right
> now.) The former wants a new version of SuiteSparse while the latter does
> not yet support it. I think that the solution is to specify an older
> version of PETSc when building with both PETSc and Trilinos.
>
> Best,
> J-P
>
> On 22 Oct 2018, at 08:19, Alberto Salvadori 
> wrote:
>
> Thank you, Praveen.
>
> While installing deal.ii all detailed instructions on the spack wiki page
> have been followed. I cloned spack from git (I thus assume it is the latest
> version) and made no modifications (yet :-) ) to the
>  “.spack/linux/packages.yaml” file. By the way, I did install deal.ii on
> opensuse a couple of weeks ago without this issue.
>
> Shall I attach my  “.spack/linux/packages.yaml”  here?
>
> Alberto
>
>
> *Alberto Salvadori* Dipartimento di Ingegneria Civile, Architettura,
> Territorio, Ambiente e di Matematica (DICATAM)
>  Universita` di Brescia, via Branze 43, 25123 Brescia
>  Italy
>  tel 030 3711239
>  fax 030 3711312
>
> e-mail:
>  alberto.salvad...@unibs.it
> web-pages:
>  http://m4lab.unibs.it/faculty.html
>  http://dicata.ing.unibs.it/salvadori
>
>
> On Mon, Oct 22, 2018 at 8:08 AM Praveen C  wrote:
>
>> When I check spec on my opensuse machine, dealii@9.0.1 wants to use
>> suite-sparse@5.3.0
>>
>> Have you perhaps already set some versions in your
>> “.spack/linux/packages.yaml” file ?
>>
>> What does your file look like ?
>>
>> Also, you may want to update your spack to see it that fixes it.
>>
>> Thanks
>> praveen
>>
>> On 22-Oct-2018, at 11:20 AM, Alberto Salvadori <
>> alberto.salvad...@unibs.it> wrote:
>>
>> Dear community
>>
>> I am installing deal.ii (latest release) on a CentOS7 equipped machine.
>> After typing
>>
>> spack install --test=root dealii
>>
>> I see this error:
>>
>> ==> Error: An unsatisfiable version constraint has been detected for spec:
>>
>> suite-sparse@5.3.0%gcc@4.8.5~cuda~openmp+pic~tbb 
>> arch=linux-centos7-x86_64
>>
>>
>> while trying to concretize the partial spec:
>>
>> dealii@9.0.1%gcc@4.8.5+adol-c+arpack+assimp build_type=DebugRelease 
>> ~cuda cuda_arch= 
>> ~doc+gmsh+gsl+hdf5~int64+metis+mpi+nanoflann+netcdf+oce~optflags+p4est+petsc~python+scalapack+slepc+sundials+trilinos
>>  arch=linux-centos7-x86_64
>> ^adol-c@2.6.4:
>> ^arpack-ng+mpi
>> ^mpi
>> ^openblas@0.3.3%gcc@4.8.5 cpu_target= ~ilp64+pic+shared 
>> threads=none ~virtual_machine arch=linux-centos7-x86_64
>> ^assimp
>> 
>> ^boost@1.59.0:1.63,1.65.1,1.67.0:+iostreams+serialization+system+thread
>> ^bzip2
>> ^diffutils
>> ^zlib@1.2.11%gcc@4.8.5+optimize+pic+shared 
>> arch=linux-centos7-x86_64
>> ^cmake@3.12.2%gcc@4.8.5~doc+ncurses+openssl+ownlibs~qt 
>> arch=linux-centos7-x86_64
>> ^ncurses
>> ^pkgconfig
>> ^openssl
>> ^perl@5.14.0:
>> ^gdbm
>> ^readline
>> ^gmsh+netgen+oce+tetgen
>> ^gmp
>> ^autoconf
>> ^m4@1.4.6:
>> ^automake
>> ^libtool@2.4.2:
>> ^netgen
>> ^oce
>> ^tetgen
>> ^hdf5@1.8.9:+hl+mpi
>> ^intel-tbb@2019%gcc@4.8.5 cxxstd=default +shared+tm 
>> arch=linux-centos7-x86_64
>> ^metis@5:~int64+real64
>> ^muparser@2.2.5%gcc@4.8.5 arch=linux-centos7-x86_64
>> ^nanoflann
>> ^netcdf+mpi
>> ^p4est
>> ^sundials~pthread
>> ^trilinos+amesos+aztec+epetra+ifpack+ml+muelu+sacado+teuchos
>> ^glm
>> ^matio
>>
>>
>> dealii requires suite-sparse version :5.1.0, but spec asked for 5.3.0
>>
>> I wonder which is the source of the error and which files ( 
>> ~/.spack/linux/packages.yaml perhaps?)
>> shall I edit to sort out the issue.
>>
>> Many thanks in advance
>>
>> Alberto
>>
>>
>>
>>
>>
>> Informativa sulla Privacy: http://www.unibs.it/node/8155
>>
>> --
>> 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 

Re: [deal.II] Error in installing deal.ii with spack on CentOs7

2018-10-22 Thread Jean-Paul Pelteret
Hi Alberto,

As best I recall, their is a problem with a hidden clash in the dependencies 
between the latest PETSc and Trilinos versions. (I thought that there was an 
issue/PR on github/spack, but I couldn’t find it right now.) The former wants a 
new version of SuiteSparse while the latter does not yet support it. I think 
that the solution is to specify an older version of PETSc when building with 
both PETSc and Trilinos.

Best,
J-P

> On 22 Oct 2018, at 08:19, Alberto Salvadori  
> wrote:
> 
> Thank you, Praveen.
> 
> While installing deal.ii all detailed instructions on the spack wiki page 
> have been followed. I cloned spack from git (I thus assume it is the latest 
> version) and made no modifications (yet :-) ) to the  
> “.spack/linux/packages.yaml” file. By the way, I did install deal.ii on 
> opensuse a couple of weeks ago without this issue.
> 
> Shall I attach my  “.spack/linux/packages.yaml”  here?
> 
> Alberto 
> 
> Alberto Salvadori
>  Dipartimento di Ingegneria Civile, Architettura, Territorio, Ambiente e di 
> Matematica (DICATAM)
>  Universita` di Brescia, via Branze 43, 25123 Brescia
>  Italy
>  tel 030 3711239
>  fax 030 3711312
> 
> e-mail: 
>  alberto.salvad...@unibs.it 
> web-pages:
>  http://m4lab.unibs.it/faculty.html 
>  http://dicata.ing.unibs.it/salvadori 
> 
> 
> On Mon, Oct 22, 2018 at 8:08 AM Praveen C  > wrote:
> When I check spec on my opensuse machine, dealii@9.0.1 wants to use 
> suite-sparse@5.3.0
> 
> Have you perhaps already set some versions in your 
> “.spack/linux/packages.yaml” file ?
> 
> What does your file look like ?
> 
> Also, you may want to update your spack to see it that fixes it.
> 
> Thanks
> praveen
> 
>> On 22-Oct-2018, at 11:20 AM, Alberto Salvadori > > wrote:
>> 
>> Dear community
>> 
>> I am installing deal.ii (latest release) on a CentOS7 equipped machine. 
>> After typing
>> 
>> spack install --test=root dealii
>> 
>> I see this error:
>> 
>> ==> Error: An unsatisfiable version constraint has been detected for spec:
>> 
>> suite-sparse@5.3.0%gcc@4.8.5~cuda~openmp+pic~tbb 
>> arch=linux-centos7-x86_64 
>> 
>> 
>> while trying to concretize the partial spec:
>> 
>> dealii@9.0.1%gcc@4.8.5+adol-c+arpack+assimp build_type=DebugRelease 
>> ~cuda cuda_arch= 
>> ~doc+gmsh+gsl+hdf5~int64+metis+mpi+nanoflann+netcdf+oce~optflags+p4est+petsc~python+scalapack+slepc+sundials+trilinos
>>  arch=linux-centos7-x86_64 
>> ^adol-c@2.6.4:
>> ^arpack-ng+mpi
>> ^mpi
>> ^openblas@0.3.3%gcc@4.8.5 cpu_target= ~ilp64+pic+shared 
>> threads=none ~virtual_machine arch=linux-centos7-x86_64 
>> ^assimp
>> 
>> ^boost@1.59.0:1.63,1.65.1,1.67.0:+iostreams+serialization+system+thread
>> ^bzip2
>> ^diffutils
>> ^zlib@1.2.11%gcc@4.8.5+optimize+pic+shared 
>> arch=linux-centos7-x86_64 
>> ^cmake@3.12.2%gcc@4.8.5~doc+ncurses+openssl+ownlibs~qt 
>> arch=linux-centos7-x86_64 
>> ^ncurses
>> ^pkgconfig
>> ^openssl
>> ^perl@5.14.0:
>> ^gdbm
>> ^readline
>> ^gmsh+netgen+oce+tetgen
>> ^gmp
>> ^autoconf
>> ^m4@1.4.6:
>> ^automake
>> ^libtool@2.4.2:
>> ^netgen
>> ^oce
>> ^tetgen
>> ^hdf5@1.8.9:+hl+mpi
>> ^intel-tbb@2019%gcc@4.8.5 cxxstd=default +shared+tm 
>> arch=linux-centos7-x86_64 
>> ^metis@5:~int64+real64
>> ^muparser@2.2.5%gcc@4.8.5 arch=linux-centos7-x86_64 
>> ^nanoflann
>> ^netcdf+mpi
>> ^p4est
>> ^sundials~pthread
>> ^trilinos+amesos+aztec+epetra+ifpack+ml+muelu+sacado+teuchos
>> ^glm
>> ^matio
>> 
>> 
>> dealii requires suite-sparse version :5.1.0, but spec asked for 5.3.0
>> 
>> I wonder which is the source of the error and which files ( 
>> ~/.spack/linux/packages.yaml perhaps?)
>> shall I edit to sort out the issue.
>> 
>> Many thanks in advance
>> 
>> Alberto
>> 
>> 
>> 
>> 
>> 
>> Informativa sulla Privacy: http://www.unibs.it/node/8155 
>> 
>> 
>> -- 
>> 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 

Re: [deal.II] Error in installing deal.ii with spack on CentOs7

2018-10-22 Thread Alberto Salvadori
Thank you, Praveen.

While installing deal.ii all detailed instructions on the spack wiki page
have been followed. I cloned spack from git (I thus assume it is the latest
version) and made no modifications (yet :-) ) to the
 “.spack/linux/packages.yaml” file. By the way, I did install deal.ii on
opensuse a couple of weeks ago without this issue.

Shall I attach my  “.spack/linux/packages.yaml”  here?

Alberto


*Alberto Salvadori* Dipartimento di Ingegneria Civile, Architettura,
Territorio, Ambiente e di Matematica (DICATAM)
 Universita` di Brescia, via Branze 43, 25123 Brescia
 Italy
 tel 030 3711239
 fax 030 3711312

e-mail:
 alberto.salvad...@unibs.it
web-pages:
 http://m4lab.unibs.it/faculty.html
 http://dicata.ing.unibs.it/salvadori


On Mon, Oct 22, 2018 at 8:08 AM Praveen C  wrote:

> When I check spec on my opensuse machine, dealii@9.0.1 wants to use
> suite-sparse@5.3.0
>
> Have you perhaps already set some versions in your
> “.spack/linux/packages.yaml” file ?
>
> What does your file look like ?
>
> Also, you may want to update your spack to see it that fixes it.
>
> Thanks
> praveen
>
> On 22-Oct-2018, at 11:20 AM, Alberto Salvadori 
> wrote:
>
> Dear community
>
> I am installing deal.ii (latest release) on a CentOS7 equipped machine.
> After typing
>
> spack install --test=root dealii
>
> I see this error:
>
> ==> Error: An unsatisfiable version constraint has been detected for spec:
>
> suite-sparse@5.3.0%gcc@4.8.5~cuda~openmp+pic~tbb arch=linux-centos7-x86_64
>
>
> while trying to concretize the partial spec:
>
> dealii@9.0.1%gcc@4.8.5+adol-c+arpack+assimp build_type=DebugRelease ~cuda 
> cuda_arch= 
> ~doc+gmsh+gsl+hdf5~int64+metis+mpi+nanoflann+netcdf+oce~optflags+p4est+petsc~python+scalapack+slepc+sundials+trilinos
>  arch=linux-centos7-x86_64
> ^adol-c@2.6.4:
> ^arpack-ng+mpi
> ^mpi
> ^openblas@0.3.3%gcc@4.8.5 cpu_target= ~ilp64+pic+shared 
> threads=none ~virtual_machine arch=linux-centos7-x86_64
> ^assimp
> 
> ^boost@1.59.0:1.63,1.65.1,1.67.0:+iostreams+serialization+system+thread
> ^bzip2
> ^diffutils
> ^zlib@1.2.11%gcc@4.8.5+optimize+pic+shared 
> arch=linux-centos7-x86_64
> ^cmake@3.12.2%gcc@4.8.5~doc+ncurses+openssl+ownlibs~qt 
> arch=linux-centos7-x86_64
> ^ncurses
> ^pkgconfig
> ^openssl
> ^perl@5.14.0:
> ^gdbm
> ^readline
> ^gmsh+netgen+oce+tetgen
> ^gmp
> ^autoconf
> ^m4@1.4.6:
> ^automake
> ^libtool@2.4.2:
> ^netgen
> ^oce
> ^tetgen
> ^hdf5@1.8.9:+hl+mpi
> ^intel-tbb@2019%gcc@4.8.5 cxxstd=default +shared+tm 
> arch=linux-centos7-x86_64
> ^metis@5:~int64+real64
> ^muparser@2.2.5%gcc@4.8.5 arch=linux-centos7-x86_64
> ^nanoflann
> ^netcdf+mpi
> ^p4est
> ^sundials~pthread
> ^trilinos+amesos+aztec+epetra+ifpack+ml+muelu+sacado+teuchos
> ^glm
> ^matio
>
>
> dealii requires suite-sparse version :5.1.0, but spec asked for 5.3.0
>
> I wonder which is the source of the error and which files ( 
> ~/.spack/linux/packages.yaml perhaps?)
> shall I edit to sort out the issue.
>
> Many thanks in advance
>
> Alberto
>
>
>
>
>
> Informativa sulla Privacy: http://www.unibs.it/node/8155
>
> --
> 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.
>
>
> --
> 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.
>

-- 


Informativa sulla Privacy: http://www.unibs.it/node/8155 


-- 
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] Error in installing deal.ii with spack on CentOs7

2018-10-22 Thread Praveen C
When I check spec on my opensuse machine, dealii@9.0.1 wants to use 
suite-sparse@5.3.0

Have you perhaps already set some versions in your “.spack/linux/packages.yaml” 
file ?

What does your file look like ?

Also, you may want to update your spack to see it that fixes it.

Thanks
praveen

> On 22-Oct-2018, at 11:20 AM, Alberto Salvadori  
> wrote:
> 
> Dear community
> 
> I am installing deal.ii (latest release) on a CentOS7 equipped machine. After 
> typing
> 
> spack install --test=root dealii
> 
> I see this error:
> 
> ==> Error: An unsatisfiable version constraint has been detected for spec:
> 
> suite-sparse@5.3.0%gcc@4.8.5~cuda~openmp+pic~tbb 
> arch=linux-centos7-x86_64 
> 
> 
> while trying to concretize the partial spec:
> 
> dealii@9.0.1%gcc@4.8.5+adol-c+arpack+assimp build_type=DebugRelease ~cuda 
> cuda_arch= 
> ~doc+gmsh+gsl+hdf5~int64+metis+mpi+nanoflann+netcdf+oce~optflags+p4est+petsc~python+scalapack+slepc+sundials+trilinos
>  arch=linux-centos7-x86_64 
> ^adol-c@2.6.4:
> ^arpack-ng+mpi
> ^mpi
> ^openblas@0.3.3%gcc@4.8.5 cpu_target= ~ilp64+pic+shared 
> threads=none ~virtual_machine arch=linux-centos7-x86_64 
> ^assimp
> 
> ^boost@1.59.0:1.63,1.65.1,1.67.0:+iostreams+serialization+system+thread
> ^bzip2
> ^diffutils
> ^zlib@1.2.11%gcc@4.8.5+optimize+pic+shared 
> arch=linux-centos7-x86_64 
> ^cmake@3.12.2%gcc@4.8.5~doc+ncurses+openssl+ownlibs~qt 
> arch=linux-centos7-x86_64 
> ^ncurses
> ^pkgconfig
> ^openssl
> ^perl@5.14.0:
> ^gdbm
> ^readline
> ^gmsh+netgen+oce+tetgen
> ^gmp
> ^autoconf
> ^m4@1.4.6:
> ^automake
> ^libtool@2.4.2:
> ^netgen
> ^oce
> ^tetgen
> ^hdf5@1.8.9:+hl+mpi
> ^intel-tbb@2019%gcc@4.8.5 cxxstd=default +shared+tm 
> arch=linux-centos7-x86_64 
> ^metis@5:~int64+real64
> ^muparser@2.2.5%gcc@4.8.5 arch=linux-centos7-x86_64 
> ^nanoflann
> ^netcdf+mpi
> ^p4est
> ^sundials~pthread
> ^trilinos+amesos+aztec+epetra+ifpack+ml+muelu+sacado+teuchos
> ^glm
> ^matio
> 
> 
> dealii requires suite-sparse version :5.1.0, but spec asked for 5.3.0
> 
> I wonder which is the source of the error and which files ( 
> ~/.spack/linux/packages.yaml perhaps?)
> shall I edit to sort out the issue.
> 
> Many thanks in advance
> 
> Alberto
> 
> 
> 
> 
> 
> Informativa sulla Privacy: http://www.unibs.it/node/8155 
> 
> 
> -- 
> 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 
> .

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