des erreurs

Added by Lin Kevin about 5 years ago

quand je fonctionne mon .cpp avec CLASS, CLASS s'arrête bizarement. Et il montre des erreurs en dessous:
  • Break *** segmentation violation
===========================================================
The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue. ===========================================================
#6 0x00007f15df7e63bc in DataBank<IsotopicVector>::GenerateEvolutionData(IsotopicVector, double, double) () at DataBank.cxx:1719
#7 0x00007f15df797b74 in FabricationPlant::BuildEvolutiveDB(int, IsotopicVector) () at FabricationPlant.cxx:427
#8 0x00007f15df7b2077 in PWR_THPU_FabricationPlant::BuildFuelForReactor(int) () at PWR_THPU_FabricationPlant.cxx:283
#9 0x00007f15df796537 in FabricationPlant::FabricationPlantEvolution(long long) () at FabricationPlant.cxx:164
#10 0x00007f15df79699d in FabricationPlant::Evolution(long long) () at FabricationPlant.cxx:141
#11 0x00007f15df77d730 in CLASS::FabricationPlantEvolution() () at CLASS.cxx:447
#12 0x00007f15df781176 in CLASS::Evolution(double) () at CLASS.cxx:497
#13 0x00000000004050dd in main () ===========================================================
ligne 1719 in DataBank, c'est int DBTimeStepN = EvolutionDataStep.GetFissionXS().begin()->second->GetN();
Pourriez-vous nous aider?

Replies (5)

RE: des erreurs - Added by MOUGINOT Baptiste about 5 years ago

c'est bizarre.

Peux-tu me donner tous les messages affichés sur le terminales depuis le lancement du programme, pas seulement le msg d'erreurs ?

RE: des erreurs - Added by Lin Kevin about 5 years ago

LogFile: CLASS.log opened.
!!INFO!! !!!CLASS!!! A Parc has been define :
Print set at : 0.999316 year
Absolute Time set at 0 year
StockManagement set at : true
OutPut will be in "CLASS_Default.root" File and "Data" TTree
Log will be in CLASS.log

DB Definition...
-decay !!INFO!! !!!DataBank<ZAI>!!! A EvolutionData<ZAI> has been define :
His index is : "/home/justine/CLASS/DataBase/Decay.idx"

...OK!
-Th+Pu !!INFO!! !!!DataBank&lt;IsotopicVector&gt;!!! A EvolutionData&lt;ZAI&gt; has been define :
His index is : "/home/justine/CLASS/DataBase/REP_Th+Pu.idx"
1 EvolutionData have been read.

Calculation of Distance Parameters :
...OK!
-UOx ...OK!
DB Definition... ...Done!
Storage Definition...
!!INFO!! !!!Storage!!! A new Storage has been define.
!!INFO!! !!!Storage!!! A new Storage has been define.
...OK!
Pool Definition...
!!INFO!! !!!Pool!!! A new Pool has been define :
Creation time set at 0 year
The Cooling Time set at 4.99932 year
!!INFO!! !!!Pool!!! A new Pool has been define :
Creation time set at 0 year
The Cooling Time set at 4.99932 year
...OK!
FabricationPlant Definition...
!!INFO!! !!!FabricationPlant!!! A FabricationPlant has been define :
Chronological Stock Priority has been set!
Fabrication time set to 1.99863 year

...OK!
Reactor Definition...
!!INFO!! !!!Reactor!!! A Reactor has been define :
Fuel Composition is fixed !
Creation time set at 0 year
Life time (Operating's Duration) set at 40 year
The Cycle Time set at 4.34771 year
The Effective Thermal Power is 3400 MW (with Full Power 4.25e+09 and 0.8 Charge Factor)
The Heavy Metal Mass in the Core set at 120 tons

!!INFO!! !!!Reactor!!! A Reactor has been define :
Fuel Composition is fixed !
Creation time set at 0 year
Life time (Operating's Duration) set at 40 year
The Cycle Time set at 4.34771 year
The Effective Thermal Power is 3400 MW (with Full Power 4.25e+09 and 0.8 Charge Factor)
The Heavy Metal Mass in the Core set at 120 tons

!!INFO!! !!!Reactor!!! A Reactor has been define :
Fuel Composition is fixed !
Creation time set at 0 year
Life time (Operating's Duration) set at 40 year
The Cycle Time set at 4.34771 year
The Effective Thermal Power is 3400 MW (with Full Power 4.25e+09 and 0.8 Charge Factor)
The Heavy Metal Mass in the Core set at 120 tons

!!INFO!! !!!Reactor!!! A Reactor has been define :
Fuel Composition is fixed !
Creation time set at 0 year
Life time (Operating's Duration) set at 40 year
The Cycle Time set at 4.34771 year
The Effective Thermal Power is 3400 MW (with Full Power 4.25e+09 and 0.8 Charge Factor)
The Heavy Metal Mass in the Core set at 120 tons

!!INFO!! !!!Reactor!!! A Reactor has been define :
Fuel Composition is not fixed !
Fuel Type set to : ThPu
Creation time set at 40 year
Life time (Operating's Duration) set at 40 year
The Effective Thermal Power is 3400 MW (with Full Power 4.25e+09 and 0.8 Charge Factor)
Burn-Up at end of Cycle set at 45 GWj/t
The corresponding Cycle Time is 4.34771 year
The Heavy Metal Mass in the Core set at 120 tons

...OK!

Addind Phase :
-FabricationPlant ...OK!
-Pool ...OK!
-Reactor ...OK!
-Storage ...OK!
Addind Phase... ...Done!

Beginning the Evolution
Opening OutPut File ... ...OK!
Creating Data Tree ... ...OK!
[------------------------------------------------------------------------------- [------------------------------------------------------------------------------- [------------------------------------------------------------------------------- [------------------------------------------------------------------------------- [------------------------------------------------------------------------------- [|------------------------------------------------------------------------------ [|------------------------------------------------------------------------------ [|------------------------------------------------------------------------------ [|------------------------------------------------------------------------------ [||----------------------------------------------------------------------------- [||----------------------------------------------------------------------------- [||----------------------------------------------------------------------------- [||----------------------------------------------------------------------------- [|||---------------------------------------------------------------------------- [|||---------------------------------------------------------------------------- [|||---------------------------------------------------------------------------- [||||--------------------------------------------------------------------------- [||||--------------------------------------------------------------------------- [||||--------------------------------------------------------------------------- [||||--------------------------------------------------------------------------- [||||--------------------------------------------------------------------------- [|||||-------------------------------------------------------------------------- [|||||-------------------------------------------------------------------------- [|||||-------------------------------------------------------------------------- [|||||-------------------------------------------------------------------------- [||||||------------------------------------------------------------------------- [||||||------------------------------------------------------------------------- [||||||------------------------------------------------------------------------- [||||||------------------------------------------------------------------------- [|||||||------------------------------------------------------------------------ [|||||||------------------------------------------------------------------------ [|||||||------------------------------------------------------------------------ [||||||||----------------------------------------------------------------------- [||||||||----------------------------------------------------------------------- [||||||||----------------------------------------------------------------------- [||||||||----------------------------------------------------------------------- [||||||||----------------------------------------------------------------------- [|||||||||---------------------------------------------------------------------- [|||||||||---------------------------------------------------------------------- [|||||||||---------------------------------------------------------------------- [|||||||||---------------------------------------------------------------------- [||||||||||--------------------------------------------------------------------- [||||||||||--------------------------------------------------------------------- [||||||||||--------------------------------------------------------------------- [||||||||||--------------------------------------------------------------------- [|||||||||||-------------------------------------------------------------------- [|||||||||||-------------------------------------------------------------------- [|||||||||||-------------------------------------------------------------------- [||||||||||||------------------------------------------------------------------- [||||||||||||------------------------------------------------------------------- [||||||||||||------------------------------------------------------------------- [||||||||||||------------------------------------------------------------------- [||||||||||||------------------------------------------------------------------- [|||||||||||||------------------------------------------------------------------ [|||||||||||||------------------------------------------------------------------ [|||||||||||||------------------------------------------------------------------ [|||||||||||||------------------------------------------------------------------ [||||||||||||||----------------------------------------------------------------- [||||||||||||||----------------------------------------------------------------- [||||||||||||||----------------------------------------------------------------- [||||||||||||||----------------------------------------------------------------- [|||||||||||||||---------------------------------------------------------------- [|||||||||||||||---------------------------------------------------------------- [|||||||||||||||---------------------------------------------------------------- [||||||||||||||||--------------------------------------------------------------- [||||||||||||||||--------------------------------------------------------------- [||||||||||||||||--------------------------------------------------------------- [||||||||||||||||--------------------------------------------------------------- [||||||||||||||||--------------------------------------------------------------- [|||||||||||||||||-------------------------------------------------------------- [|||||||||||||||||-------------------------------------------------------------- [|||||||||||||||||-------------------------------------------------------------- [|||||||||||||||||-------------------------------------------------------------- [||||||||||||||||||------------------------------------------------------------- [||||||||||||||||||------------------------------------------------------------- [||||||||||||||||||------------------------------------------------------------- [||||||||||||||||||------------------------------------------------------------- [|||||||||||||||||||------------------------------------------------------------ [|||||||||||||||||||------------------------------------------------------------ [|||||||||||||||||||------------------------------------------------------------ [||||||||||||||||||||----------------------------------------------------------- [||||||||||||||||||||----------------------------------------------------------- [||||||||||||||||||||----------------------------------------------------------- [||||||||||||||||||||----------------------------------------------------------- [||||||||||||||||||||----------------------------------------------------------- [|||||||||||||||||||||---------------------------------------------------------- [|||||||||||||||||||||---------------------------------------------------------- [|||||||||||||||||||||---------------------------------------------------------- [|||||||||||||||||||||---------------------------------------------------------- [||||||||||||||||||||||--------------------------------------------------------- [||||||||||||||||||||||--------------------------------------------------------- [||||||||||||||||||||||--------------------------------------------------------- [||||||||||||||||||||||--------------------------------------------------------- [|||||||||||||||||||||||-------------------------------------------------------- [|||||||||||||||||||||||-------------------------------------------------------- [|||||||||||||||||||||||-------------------------------------------------------- [||||||||||||||||||||||||------------------------------------------------------- [||||||||||||||||||||||||------------------------------------------------------- [||||||||||||||||||||||||------------------------------------------------------- [||||||||||||||||||||||||------------------------------------------------------- [||||||||||||||||||||||||------------------------------------------------------- [|||||||||||||||||||||||||------------------------------------------------------ [|||||||||||||||||||||||||------------------------------------------------------ [|||||||||||||||||||||||||------------------------------------------------------ [|||||||||||||||||||||||||------------------------------------------------------ [||||||||||||||||||||||||||----------------------------------------------------- [||||||||||||||||||||||||||----------------------------------------------------- [||||||||||||||||||||||||||----------------------------------------------------- [||||||||||||||||||||||||||----------------------------------------------------- [|||||||||||||||||||||||||||---------------------------------------------------- [|||||||||||||||||||||||||||---------------------------------------------------- [|||||||||||||||||||||||||||---------------------------------------------------- [||||||||||||||||||||||||||||--------------------------------------------------- [||||||||||||||||||||||||||||--------------------------------------------------- [||||||||||||||||||||||||||||--------------------------------------------------- [||||||||||||||||||||||||||||--------------------------------------------------- [||||||||||||||||||||||||||||--------------------------------------------------- [|||||||||||||||||||||||||||||-------------------------------------------------- [|||||||||||||||||||||||||||||-------------------------------------------------- [|||||||||||||||||||||||||||||-------------------------------------------------- [|||||||||||||||||||||||||||||-------------------------------------------------- [||||||||||||||||||||||||||||||------------------------------------------------- [||||||||||||||||||||||||||||||------------------------------------------------- [||||||||||||||||||||||||||||||------------------------------------------------- [||||||||||||||||||||||||||||||------------------------------------------------- [|||||||||||||||||||||||||||||||------------------------------------------------ [|||||||||||||||||||||||||||||||------------------------------------------------ [|||||||||||||||||||||||||||||||------------------------------------------------ [||||||||||||||||||||||||||||||||----------------------------------------------- [||||||||||||||||||||||||||||||||----------------------------------------------- [||||||||||||||||||||||||||||||||----------------------------------------------- [||||||||||||||||||||||||||||||||----------------------------------------------- [||||||||||||||||||||||||||||||||----------------------------------------------- [|||||||||||||||||||||||||||||||||---------------------------------------------- [|||||||||||||||||||||||||||||||||---------------------------------------------- [|||||||||||||||||||||||||||||||||---------------------------------------------- [|||||||||||||||||||||||||||||||||---------------------------------------------- [||||||||||||||||||||||||||||||||||--------------------------------------------- [||||||||||||||||||||||||||||||||||--------------------------------------------- [||||||||||||||||||||||||||||||||||--------------------------------------------- [||||||||||||||||||||||||||||||||||--------------------------------------------- [|||||||||||||||||||||||||||||||||||-------------------------------------------- [|||||||||||||||||||||||||||||||||||-------------------------------------------- [|||||||||||||||||||||||||||||||||||-------------------------------------------- [||||||||||||||||||||||||||||||||||||------------------------------------------- [||||||||||||||||||||||||||||||||||||------------------------------------------- [||||||||||||||||||||||||||||||||||||------------------------------------------- [||||||||||||||||||||||||||||||||||||------------------------------------------- [||||||||||||||||||||||||||||||||||||------------------------------------------- [|||||||||||||||||||||||||||||||||||||------------------------------------------ [|||||||||||||||||||||||||||||||||||||------------------------------------------ [|||||||||||||||||||||||||||||||||||||----------------------------------------------------------------] Processed 37 / 100 Years * Break * segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads: ===========================================================

Thread 2 (Thread 0x7f212a9cb700 (LWP 2633)):
#0 0x00007f212ddf2b52 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1 0x00007f212ddf13be in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2 0x00007f212d6b9e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007f212d3e63fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f212ff54780 (LWP 2627)):
#0 0x00007f212d3b1ccd in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f212d33729e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f212d3376b0 in system () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007f212f2eed57 in TUnixSystem::StackTrace() () from /lib/x86_64-linux-gnu/libCore.so
#4 0x00007f212f2f1bd3 in TUnixSystem::DispatchSignals(ESignals) () from /lib/x86_64-linux-gnu/libCore.so
#5 <signal handler called>
#6 0x00007f212fb086eb in DataBank<IsotopicVector>::GenerateEvolutionData(IsotopicVector, double, double) () at DataBank.cxx:1719
#7 0x00007f212fab9c84 in FabricationPlant::BuildEvolutiveDB(int, IsotopicVector) () at FabricationPlant.cxx:433
#8 0x00007f212fad42c7 in PWR_THPU_FabricationPlant::BuildFuelForReactor(int) () at PWR_THPU_FabricationPlant.cxx:283
#9 0x00007f212fab8647 in FabricationPlant::FabricationPlantEvolution(long long) () at FabricationPlant.cxx:164
#10 0x00007f212fab8aad in FabricationPlant::Evolution(long long) () at FabricationPlant.cxx:141
#11 0x00007f212fa9f840 in CLASS::FabricationPlantEvolution() () at CLASS.cxx:445
#12 0x00007f212faa3286 in CLASS::Evolution(double) () at CLASS.cxx:495
#13 0x00000000004050dd in main () ===========================================================

The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue. ===========================================================
#6 0x00007f212fb086eb in DataBank<IsotopicVector>::GenerateEvolutionData(IsotopicVector, double, double) () at DataBank.cxx:1719
#7 0x00007f212fab9c84 in FabricationPlant::BuildEvolutiveDB(int, IsotopicVector) () at FabricationPlant.cxx:433
#8 0x00007f212fad42c7 in PWR_THPU_FabricationPlant::BuildFuelForReactor(int) () at PWR_THPU_FabricationPlant.cxx:283
#9 0x00007f212fab8647 in FabricationPlant::FabricationPlantEvolution(long long) () at FabricationPlant.cxx:164
#10 0x00007f212fab8aad in FabricationPlant::Evolution(long long) () at FabricationPlant.cxx:141
#11 0x00007f212fa9f840 in CLASS::FabricationPlantEvolution() () at CLASS.cxx:445
#12 0x00007f212faa3286 in CLASS::Evolution(double) () at CLASS.cxx:495
#13 0x00000000004050dd in main () ===========================================================

RE: des erreurs - Added by MOUGINOT Baptiste about 5 years ago

le problème vient de là :

-Th+Pu     !!INFO!! !!!DataBank&lt;IsotopicVector&gt;!!! A EvolutionData&lt;ZAI&gt; has been define :
His index is : "/home/justine/CLASS/DataBase/REP_Th+Pu.idx"
1 EvolutionData have been read.

Le programme ne trouve qu'une evolutionData dans ta DataBank...

Le plus probable c'est que tu déclares mal ta DataBank.
Nornmalement suivant comment le format de tes EvolutionData tu dois metre un flag à true ou à false pour définir si ton format est l'ancien, ou le nouveau (le nouveau c''est avec les keyword en début de chaque ligne : INV, XSFis....)
pour lire un base au nouveau format tu dois écrire :
DataBank<IsotopicVector>* MOX = new DataBank<IsotopicVector>(gCLASS->GetLog(), "Ton_CheminVersTaBase", true, false);

BaM

RE: des erreurs - Added by Lin Kevin about 5 years ago

Merci. Maintenant, on peut fonctionner notre programe sana arrete. Mais il y a autre erreur sur le fabricationplant.
"!!Bad Trouble!! !!!FabricationPlant!!! Oups Bug in calculating stock fraction to use "
Comme on ne sait pas bien CLASS, pourriez-vous nous expliquer cet erreur?

RE: des erreurs - Added by MOUGINOT Baptiste about 5 years ago

le problème vient de la fabrication du combustible recyclé dans la fabrication plant.

la il m'est difficile de vous aider, si vous utilisez ma fabrication plant, le problème peut venir qu'elle n'est pas faite pour gérer du combustible Th_Pu.
Si vous utilisez la votre, le problème peut venir de là

Baptiste

(1-5/5)