Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2014-07-23 13:48:01

reiteres
Member
Registered: 2013-06-03
Posts: 558

Segfault with CALC_FATIGUE

Hi!

I get following error when I read in a result, and then compute fatigue:

# ------------------------------------------------------------------------------------------
  MaterD2 = AFFE_MATERIAU(MAILLAGE=Mesh2,
                          AFFE=_F(MATER=(SteelD, ),
                                  TOUT='OUI',),
                          INFO=1,
                          )

  # Mémoire (Mo) :  1164.81 /  1113.14 /   736.10 /   560.51 (VmPeak / VmSize / Optimum / Minimum)
  # Fin commande No : 0008   user+syst:        0.00s (syst:        0.00s, elaps:        0.01s)
  # ------------------------------------------------------------------------------------------

  # ------------------------------------------------------------------------------------------
  # Commande No :  0009            Concept de type : listr8_sdaster
  # ------------------------------------------------------------------------------------------
  ListN = DEFI_LIST_REEL(INFO=1,
                         DEBUT=0,
                         INTERVALLE=_F(PAS=8.333333333333333E-3,
                                       JUSQU_A=0.06666666666666667,),
                         )

  # Mémoire (Mo) :  1164.81 /  1113.14 /   736.10 /   560.51 (VmPeak / VmSize / Optimum / Minimum)
  # Fin commande No : 0009   user+syst:        0.00s (syst:        0.00s, elaps:        0.00s)
  # ------------------------------------------------------------------------------------------

  # ------------------------------------------------------------------------------------------
  # Commande No :  0010            Concept de type : evol_elas
  # ------------------------------------------------------------------------------------------
  Result2 = LIRE_RESU(TYPE_RESU='EVOL_ELAS',
                      FORMAT='MED',
                      MODELE=Model2,
                      CHAM_MATER=MaterD2,
                      UNITE=19,
                      FORMAT_MED=(_F(NOM_CHAM_MED='&RESUR1_SIGM_NOEU',
                                     NOM_CHAM='SIGM_NOEU',),
                                  _F(NOM_CHAM_MED='&RESUR1_DEPL',
                                     NOM_CHAM='DEPL',),
                                  _F(NOM_CHAM_MED='&RESUR1_SIGM_ELNO',
                                     NOM_CHAM='SIGM_ELNO',),
                                  _F(NOM_CHAM_MED='&RESUR1_SIEQ_ELNO',
                                     NOM_CHAM='SIEQ_ELNO',),
                                  _F(NOM_CHAM_MED='&RESUR1_SIEQ_NOEU',
                                     NOM_CHAM='SIEQ_NOEU',),
                                  _F(NOM_CHAM_MED='&RESUR1_SIEF_NOEU',
                                     NOM_CHAM='SIEF_NOEU',),
                                  ),
                      PROL_ZERO='OUI',
                      TOUT_ORDRE='OUI',)

  # Mémoire (Mo) : 14096.42 / 13393.19 / 13665.51 /  2758.65 (VmPeak / VmSize / Optimum / Minimum)
  # Fin commande No : 0010   user+syst:      329.09s (syst:       61.07s, elaps:      330.34s)
  # ------------------------------------------------------------------------------------------

  # ------------------------------------------------------------------------------------------
  # Commande No :  0011            Concept de type : cham_elem
  # ------------------------------------------------------------------------------------------
  Fatigue = CALC_FATIGUE(TYPE_CALCUL='CUMUL_DOMMAGE',
                         DOMMAGE='WOHLER',
                         OPTION='DOMA_ELNO_SIGM',
                         MATER=SteelD,
                         HISTOIRE=_F(EQUI_GD='VMIS_SG',
                                     RESULTAT=Result2,),
                         INFO=1,)

   
   !-------------------------------------------------------!
   ! <EXCEPTION> <DVP_1>                                   !
   !                                                       !
   !    Erreur de programmation : condition non respectée. !
   !                                                       !
   !                                                       !
   !                                                       !
   ! Il y a probablement une erreur dans la programmation. !
   ! Veuillez contacter votre assistance technique.        !
   !-------------------------------------------------------!
   
 Traceback is not provided by the compiler
sh: line 1: 24253 Aborted                 (core dumped) ./aster Python/Execution/E_SUPERV.py -eficas_path ./Python -commandes fort.1 -num_job 24117-localhost -mode interactif -rep_outils /home/reiteres/Salome_Meca/Code_Aster/GNU/11.4/outils -rep_mat /home/reiteres/Salome_Meca/Code_Aster/GNU/11.4/11.4/share/aster/materiau -rep_dex /home/reiteres/Salome_Meca/Code_Aster/GNU/11.4/11.4/share/aster/datg -suivi_batch -memjeveux 37531.25 -tpmax 35996400
EXECUTION_CODE_ASTER_EXIT_24117-localhost=134
<INFO> Code_Aster run ended, diagnostic : <F>_ABNORMAL_ABORT

<E>_CORE_FILE      Code_Aster run created a coredump

<INFO> core file name : core.24253

--------------------------------------------------------------------------------
 Coredump analysis

coredump analysis...                                                    [  OK  ]
[New LWP 24253]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `./aster Python/Execution/E_SUPERV.py -eficas_path ./Python -commandes fort.1 -n'.
Program terminated with signal 6, Aborted.
#0  0x0000003c59c359e9 in raise () from /lib64/libc.so.6
#0  0x0000003c59c359e9 in raise () from /lib64/libc.so.6
#1  0x0000003c59c370f8 in abort () from /lib64/libc.so.6
#2  0x0000003c59c75d17 in __libc_message () from /lib64/libc.so.6
#3  0x0000003c59c7d0b8 in _int_free () from /lib64/libc.so.6
#4  0x0000003c5b0ee9a8 in ?? () from /lib64/libpython2.7.so.1.0
#5  0x0000003c5b0ef509 in ?? () from /lib64/libpython2.7.so.1.0
#6  0x0000003c5b0ef74d in ?? () from /lib64/libpython2.7.so.1.0
#7  0x0000003c5b0f00b8 in PyImport_ImportModuleLevel () from /lib64/libpython2.7.so.1.0
#8  0x0000003c5b0d6faf in ?? () from /lib64/libpython2.7.so.1.0
#9  0x0000003c5b0ddcee in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#10 0x0000003c5b0dec7d in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#11 0x0000003c5b0dd769 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#12 0x0000003c5b0dec7d in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#13 0x0000003c5b06dca0 in ?? () from /lib64/libpython2.7.so.1.0
#14 0x0000003c5b049dd3 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#15 0x0000003c5b058555 in ?? () from /lib64/libpython2.7.so.1.0
#16 0x0000003c5b049dd3 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#17 0x0000003c5b049eb5 in ?? () from /lib64/libpython2.7.so.1.0
#18 0x0000003c5b04a197 in PyObject_CallMethod () from /lib64/libpython2.7.so.1.0
#19 0x000000000048b4a0 in utprin_ ()
#20 0x0000000001570fb5 in u2mesg_ ()
#21 0x00000000015715f7 in u2mess_ ()
#22 0x0000000000d9d630 in jjlide_ ()
#23 0x0000000000d7199a in jedema_ ()
#24 0x000000000129d227 in fgvdmg_ ()
#25 0x0000000001160e9c in op0151_ ()
#26 0x00000000013d17ac in ex0100_ ()
#27 0x00000000013d2032 in execop_ ()
#28 0x00000000013d2109 in expass_ ()
#29 0x000000000048de73 in aster_oper ()
#30 0x0000003c5b0ddcee in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#31 0x0000003c5b0dd80c in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#32 0x0000003c5b0dd80c in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#33 0x0000003c5b0dd80c in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#34 0x0000003c5b0dec7d in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#35 0x0000003c5b06dd7d in ?? () from /lib64/libpython2.7.so.1.0
#36 0x0000003c5b049dd3 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#37 0x0000003c5b058555 in ?? () from /lib64/libpython2.7.so.1.0
#38 0x0000003c5b049dd3 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#39 0x0000003c5b054958 in ?? () from /lib64/libpython2.7.so.1.0
#40 0x0000003c5b049dd3 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#41 0x0000003c5b0db6dc in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#42 0x0000003c5b0dec7d in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#43 0x0000003c5b0ded82 in PyEval_EvalCode () from /lib64/libpython2.7.so.1.0
#44 0x0000003c5b0de289 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#45 0x0000003c5b0dec7d in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#46 0x0000003c5b0dd769 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#47 0x0000003c5b0dd80c in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#48 0x0000003c5b0dec7d in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#49 0x0000003c5b0dd769 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#50 0x0000003c5b0dd80c in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#51 0x0000003c5b0dec7d in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#52 0x0000003c5b0ded82 in PyEval_EvalCode () from /lib64/libpython2.7.so.1.0
#53 0x0000003c5b0f78af in ?? () from /lib64/libpython2.7.so.1.0
#54 0x0000003c5b0f89ce in PyRun_FileExFlags () from /lib64/libpython2.7.so.1.0
#55 0x0000003c5b0f9b39 in PyRun_SimpleFileExFlags () from /lib64/libpython2.7.so.1.0
#56 0x0000003c5b10a66f in Py_Main () from /lib64/libpython2.7.so.1.0
#57 0x0000003c59c21b45 in __libc_start_main () from /lib64/libc.so.6
#58 0x0000000000487301 in _start ()


--------------------------------------------------------------------------------
 Content of /var/tmp/reiteres-localhost-interactif.24117-localhost after execution

.:
total 32831276
drwx------.   6 reiteres reiteres        4096 Jul 23 14:18 .
drwxrwxrwt. 444 root     root          118784 Jul 23 14:09 ..
-rw-rw-r--.   1 reiteres reiteres        1497 Jul 23 14:09 24117-localhost.export
lrwxrwxrwx.   1 reiteres reiteres          61 Jul 23 14:09 aster -> /home/reiteres/Salome_Meca/Code_Aster/GNU/11.4/11.4/bin/aster
drwxr-xr-x.   2 reiteres reiteres        4096 Jul 23 14:09 china_pre_intel_ohne_mod
-rw-rw-r--.   1 reiteres reiteres        2238 Jul 23 14:09 config.txt
-rw-------.   1 reiteres reiteres 13837926400 Jul 23 14:17 core.24253
-rw-rw-r--.   1 reiteres reiteres          11 Jul 23 14:18 dbg_cmdfile
-rw-r--r--.   1 reiteres reiteres    19660808 Jul 23 14:09 elem.1
-rw-rw-r--.   1 reiteres reiteres       13785 Jul 23 14:09 fort.1
-rw-rw-r--.   1 reiteres reiteres       13785 Jul 23 14:09 fort.1.1
-rw-rw-r--.   1 reiteres reiteres           0 Jul 23 14:09 fort.15
-rw-rw-r--.   1 reiteres reiteres 11296238963 Jul 23 14:09 fort.19
-rw-rw-r--.   1 reiteres reiteres       34851 Jul 23 14:18 fort.6
-rw-rw-r--.   1 reiteres reiteres           0 Jul 23 14:09 fort.8
-rw-rw-r--.   1 reiteres reiteres           0 Jul 23 14:09 fort.9
-rw-rw-r--.   1 reiteres reiteres  8515584008 Jul 23 14:09 glob.1
-rw-rw-r--.   1 reiteres reiteres      168569 Jul 23 14:09 pick.1
drwxrwxr-x.  21 reiteres reiteres        4096 Jul 23 14:09 Python
drwxr-xr-x.   2 reiteres reiteres        4096 Jul 23 14:09 REPE_OUT
drwxr-xr-x.   2 reiteres reiteres        4096 Jul 23 14:09 RESU_ENSIGHT
-rw-rw-r--.   1 reiteres reiteres     2457608 Jul 23 14:09 vola.1

REPE_OUT:
total 8
drwxr-xr-x. 2 reiteres reiteres 4096 Jul 23 14:09 .
drwx------. 6 reiteres reiteres 4096 Jul 23 14:18 ..


--------------------------------------------------------------------------------
 Size of bases

<INFO> size of vola.1 :      2457608 bytes
<INFO> size of glob.1 :   8515584008 bytes
<INFO> size of pick.1 :       168569 bytes

--------------------------------------------------------------------------------
 Copying results


<A>_COPYFILE       no such file or directory: fort.80

copying .../fort.6...                                                   [  OK  ]

<F>_ABNORMAL_ABORT Code_Aster run ended


 
 ---------------------------------------------------------------------------------
                                            cpu     system    cpu+sys    elapsed
 ---------------------------------------------------------------------------------
   Preparation of environment              0.03       0.14       0.17       0.19
   Copying datas                           0.08      15.57      15.65      16.14
   Code_Aster run                        372.50      77.27     449.77     520.39
   Coredump analysis                       0.41       0.06       0.47       0.47
   Copying results                         0.00       0.01       0.01       0.01
 ---------------------------------------------------------------------------------
   Total                                 373.09      93.09     466.18     539.01
 ---------------------------------------------------------------------------------

as_run 1.13.3

------------------------------------------------------------
--- DIAGNOSTIC JOB : <F>_ABNORMAL_ABORT
------------------------------------------------------------


EXIT_CODE=4

The strange things are: The result file looks ok. And it works when I use only two timesteps of the history!

I'm quite desperate now, because I can't find any errors or warnings. And I already used this method to get rough lifetime estimates on other models and it worked quite well.
I tried it already with several versions of Code_ASter (11.4; 11.5 with Intel and GNU compiled) but always the same. Also recomputing and use a 'fresh' solution which did not help.

I took the solution from a transient dynamic analysis with damping. But by converting it to a static solution everything should work (?). As mentioned this already worked for me.

Last edited by reiteres (2014-07-23 13:56:15)

Offline

#2 2014-07-24 09:00:04

delmas
Administrator
From: EDF R&D
Registered: 2007-12-12
Posts: 837

Re: Segfault with CALC_FATIGUE

I think this is a bug.

Please post your files or post an issue on bitbucket issue tracker.


Code_Aster release : unstable on (Ubuntu Precise Pangolin 12.04 64 bits) - GNU + Intel

Code_Aster. What else ?

Offline

#3 2014-07-24 09:52:32

reiteres
Member
Registered: 2013-06-03
Posts: 558

Re: Segfault with CALC_FATIGUE

Here are the files. I had to delete the material data since they are secret. Unfortunately I can't give you more data since meshes etc. are secret, and I never encountered this bug in any other model.

The computation consists of 3 parts.

Last edited by reiteres (2014-07-24 09:54:46)


Attachments:
fatigue_crash_step1-3_cens.mess.zip, Size: 58.54 KiB, Downloads: 195

Offline