Hi everyone,
I use CMake for building a dealii piece of code similar to tutorial
"step-18".
I recently noticed the executable bails out at the end calling
destructor of the class Subcriptor
(There are no error messages while compiling or linking)
However, if I build the project with the the step-18 tutorial Makefile
which includes "Make.global_options"
this error doesn't occur...
So, I wonder what could be the reason for the different behaviour...
I attach an excerpt of the error messages to the end of this e-mail.
Thankyou
Roman
[ERROR]
........
.......
Timestep 3 at time 3
Assembling system... norm of rhs is 0
Solver converged in 0 iterations.
Updating quadrature point data...
Moving mesh...
--------------------------------------------------------
An error occurred in line <102> of file <source/subscriptor.cc> in function
dealii::Subscriptor::~Subscriptor()
The violated condition was:
counter == 0
The name and call sequence of the exception was:
ExcInUse (counter, object_info->name(), infostring)
Additional Information:
--------------------------------------------------------
An error occurred in line <102> of file <source/subscriptor.cc> in function
dealii::Subscriptor::~Subscriptor()
The violated condition was:
counter == 0
The name and call sequence of the exception was:
ExcInUse (counter, object_info->name(), infostring)
Additional Information:
Object of class N6dealii13TriangulationILi2ELi2EEE is still used by 1
other objects.
from Subscriber unknown subscriber
--------------------------------------------------------
An error occurred in line <102> of file <source/subscriptor.cc> in function
dealii::Subscriptor::~Subscriptor()
The violated condition was:
counter == 0
The name and call sequence of the exception was:
ExcInUse (counter, object_info->name(), infostring)
Additional Information:
Object of class N6dealii13TriangulationILi2ELi2EEE is still used by 1
other objects.
from Subscriber unknown subscriber
Stacktrace:
-----------
Object of class N6dealii13TriangulationILi2ELi2EEE is still used by 1
other objects.
from Subscriber unknown subscriber
Stacktrace:
-----------
#0 --------------------------------------------------------
An error occurred in line <102> of file <source/subscriptor.cc> in function
dealii::Subscriptor::~Subscriptor()
The violated condition was:
counter == 0
The name and call sequence of the exception was:
ExcInUse (counter, object_info->name(), infostring)
Additional Information:
Object of class N6dealii13TriangulationILi2ELi2EEE is still used by 1
other objects.
from Subscriber unknown subscriber
Stacktrace:
-----------
Stacktrace:
-----------
#0 #0 #0 --------------------------------------------------------
An error occurred in line <102> of file <source/subscriptor.cc> in function
dealii::Subscriptor::~Subscriptor()
The violated condition was:
counter == 0
The name and call sequence of the exception was:
ExcInUse (counter, object_info->name(), infostring)
Additional Information:
Object of class N6dealii13TriangulationILi2ELi2EEE is still used by 1
other objects.
from Subscriber unknown subscriber
Stacktrace:
-----------
#0 /cluster/deal/deal.II/lib/libbase.g.so.6.2.1:
dealii::Subscriptor::~Subscriptor()
#1 /cluster/deal/deal.II/lib/libbase.g.so.6.2.1:
dealii::Subscriptor::~Subscriptor()
#2 /cluster/deal/deal.II/lib/libdeal_II_2d.g.so.6.2.1:
dealii::Triangulation<2, 2>::~Triangulation()
#3 ../ARES: main
--------------------------------------------------------
[node151:06718] *** Process received signal ***
[node151:06718] Signal: Aborted (6)
[node151:06718] Signal code: (-6)
/cluster/deal/deal.II/lib/libbase.g.so.6.2.1:
dealii::Subscriptor::~Subscriptor()
#1 /cluster/deal/deal.II/lib/libbase.g.so.6.2.1:
dealii::Subscriptor::~Subscriptor()
#2 /cluster/deal/deal.II/lib/libdeal_II_2d.g.so.6.2.1:
dealii::Triangulation<2, 2>::~Triangulation()
#3 ../ARES: main
--------------------------------------------------------
[node151:06721] *** Process received signal ***
[node151:06721] Signal: Aborted (6)
[node151:06721] Signal code: (-6)
/cluster/deal/deal.II/lib/libbase.g.so.6.2.1:
dealii::Subscriptor::~Subscriptor()
#1 /cluster/deal/deal.II/lib/libbase.g.so.6.2.1:
dealii::Subscriptor::~Subscriptor()
#2 /cluster/deal/deal.II/lib/libdeal_II_2d.g.so.6.2.1:
dealii::Triangulation<2, 2>::~Triangulation()
#3 ../ARES: main
[/ERROR]
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii