[deal.II] Installation didn't give any errors but when I tried make test, it failed all tests

2017-08-11 Thread japan25
Hello, 

I tried installing deal.ii today. Installation went fine without any errors 
however when I did make test, it failed all 6 tests. What should I do? Any 
help is highly appreciated. Thanks!

The error I get is as follows:

Running quicktests...
Test project /home/japan/dealii/build/tests/quick_tests
Start 1: step.debug
1/6 Test #1: step.debug ...***Failed6.59 sec
make[7]: *** [tests/quick_tests/CMakeFiles/step.debug.run] Error 1
make[6]: *** [tests/quick_tests/CMakeFiles/step.debug.run.dir/all] Error 2
make[5]: *** [tests/quick_tests/CMakeFiles/step.debug.run.dir/rule] Error 2
make[4]: *** [step.debug.run] Error 2
Test step.debug: RUN
===   OUTPUT BEGIN 
 ===
[  0%] Built target kill-step.debug-OK
[  0%] Built target obj_non_matching_inst
[  2%] Built target obj_non_matching_debug
[ 11%] Built target obj_boost_serialization_debug
[ 11%] Built target obj_boost_system_debug
[ 13%] Built target obj_boost_iostreams_debug
[ 15%] Built target obj_muparser_debug
[ 15%] Built target expand_instantiations_exe
[ 20%] Built target obj_numerics_inst
[ 28%] Built target obj_numerics_debug
[ 37%] Built target obj_fe_inst
[ 48%] Built target obj_fe_debug
[ 51%] Built target obj_dofs_inst
[ 53%] Built target obj_dofs_debug
[ 57%] Built target obj_lac_inst
[ 66%] Built target obj_lac_debug
[ 68%] Built target obj_base_inst
[ 82%] Built target obj_base_debug
[ 86%] Built target obj_grid_inst
[ 88%] Built target obj_grid_debug
[ 88%] Built target obj_hp_inst
[ 91%] Built target obj_hp_debug
[ 93%] Built target obj_multigrid_inst
[ 95%] Built target obj_multigrid_debug
[ 97%] Built target obj_distributed_inst
[ 97%] Built target obj_distributed_debug
[ 97%] Built target obj_algorithms_inst
[ 97%] Built target obj_algorithms_debug
[ 97%] Built target obj_matrix_free_inst
[ 97%] Built target obj_matrix_free_debug
[ 97%] Built target obj_meshworker_inst
[ 97%] Built target obj_meshworker_debug
[ 97%] Built target obj_opencascade_inst
[100%] Built target obj_opencascade_debug
[100%] Built target obj_physics_inst
[100%] Built target obj_physics_debug
[100%] Built target obj_physics_elasticity_inst
[100%] Built target obj_physics_elasticity_debug
[100%] Built target deal_II.g
[100%] Built target step.debug
step.debug: RUN failed. Output:
./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version 
`CXXABI_1.3.9' not found (required by ./step.debug)
./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version 
`GLIBCXX_3.4.21' not found (required by ./step.debug)
./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version 
`GLIBCXX_3.4.20' not found (required by ./step.debug)
./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version 
`CXXABI_1.3.9' not found (required by 
/home/japan/dealii/build/lib/libdeal_II.g.so.9.0.0-pre)
./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version 
`GLIBCXX_3.4.21' not found (required by 
/home/japan/dealii/build/lib/libdeal_II.g.so.9.0.0-pre)
./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version 
`GLIBCXX_3.4.20' not found (required by 
/home/japan/dealii/build/lib/libdeal_II.g.so.9.0.0-pre)
./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version 
`CXXABI_1.3.8' not found (required by 
/home/japan/dealii/build/lib/libdeal_II.g.so.9.0.0-pre)
./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version 
`GLIBCXX_3.4.21' not found (required by 
/usr/lib/x86_64-linux-gnu/libtbb.so.2)
tests/quick_tests/CMakeFiles/step.debug.run.dir/build.make:57: recipe for 
target 'tests/quick_tests/CMakeFiles/step.debug.run' failed
CMakeFiles/Makefile2:10014: recipe for target 
'tests/quick_tests/CMakeFiles/step.debug.run.dir/all' failed
CMakeFiles/Makefile2:10021: recipe for target 
'tests/quick_tests/CMakeFiles/step.debug.run.dir/rule' failed
Makefile:3425: recipe for target 'step.debug.run' failed


step.debug: **RUN failed***

===OUTPUT END   
===
Expected stage PASSED - aborting
CMake Error at /home/japan/dealii/cmake/scripts/run_test.cmake:140 
(MESSAGE):
  *** abort



Start 2: step.release
2/6 Test #2: step.release .***Failed4.57 sec
make[7]: *** [tests/quick_tests/CMakeFiles/step.release.run] Error 1
make[6]: *** [tests/quick_tests/CMakeFiles/step.release.run.dir/all] Error 2
make[5]: *** [tests/quick_tests/CMakeFiles/step.release.run.dir/rule] Error 
2
make[4]: *** [step.release.run] Error 2
Test step.release: RUN
===   OUTPUT BEGIN 
 ===
[  0%] Built target kill-step.release-OK
[  0%] Built target obj_non_matching_inst
[  0%] Built target obj_non_matching_release
[  9%] Built target obj_boost_serialization_release
[  9%] Built target obj_boost_system_release
[  9%] Built target obj_boost_iostreams_release
[  9%] Built target obj_muparser_release
[  9%] Built target expand_instantiations_exe
[ 14%] Built target 

[deal.II] crash with step-55 with PETSc both in serial and parallel

2017-08-11 Thread Nur Fadel
Hi all,
I have installed Deal II 8.5 and trunk versions on Daint (the CSCS 
machine). When I run the example step-5 with PETSc I have the following 
error:
Running using PETSc.
Cycle 0:
   Number of degrees of freedom: 659 (578+81)
+-+++
| Total wallclock time elapsed since start| 0.354s ||
| |||
| Section | no. calls |  wall time | % of total |
+-+---+++
| assembly| 1 |  0.14s |40% |
| setup   | 1 |0.0873s |25% |
| solve   | 1 | 0.365s | 1e+02% |
+-+---+++
ERROR: Uncaught exception in MPI_InitFinalize on proc 0. Skipping 
MPI_Finalize() to avoid a deadlock.

Exception on processing: 

An error occurred in line <66> of file 
 in 
function
void 
dealii::PETScWrappers::PreconditionerBase::vmult(dealii::PETScWrappers::VectorBase&,
 
const dealii::PETScWrappers::VectorBase&) const
The violated condition was: 
pc != nullptr
Additional information: (none)

Aborting!

[0]PETSC ERROR: #1 PetscCommDestroy() line 214 in 
/project/csstaff/nfadel/petsc-vanilla/src/sys/objects/tagm.c
[0]PETSC ERROR: #2 PetscHeaderDestroy_Private() line 116 in 
/project/csstaff/nfadel/petsc-vanilla/src/sys/objects/inherit.c

on github I found the issue "step-55 PETSc fails #4150" already solved but 
it seems not the same problem.

I reproduce the crash both in serial and parallel, while trilinos works 
fine.

The error is caught when Deal II checks if the pointer to preconditioner 
object's pc is a NULL.
AssertThrow (pc != nullptr, StandardExceptions::ExcInvalidState ());

It happens when the minres solver does:
 precondition.vmult (v,*u[1]);

Do you have any hint how to fix it?


Thank you in advance!
Nur


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