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

You are not logged in.

#1 2011-05-13 09:54:24

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,638

erreur compilation à la mise à jour 11.00.02 ver 11.00.05

bonjour

lors d'une mise à jour à partir de 11.00.02 j'ai le message d'erreur suivant

<E>_COMPIL_ERROR   erreur lors de la compilation de /opt/aster103/NEW10/bibc/supervis/med_aster_module.c (voir /opt/aster103/NEW10/obj/asterd/supervis.msg)


<E>_UPDATE_FAILED  Exception levée par AutoUpdate :
------------------------------------------------------------
Remontée d'erreur :
Traceback (most recent call last):
  File "/opt/aster103/lib/python2.6/site-packages/asrun/maintenance.py", line 1293, in AutoUpdate
    Update(run, num_update=num_update, *lpkg)
  File "/opt/aster103/lib/python2.6/site-packages/asrun/maintenance.py", line 1172, in Update
    _build_aster(run, conf, True, REPREF, None, reptrav_built, lardv=lardv)
  File "/opt/aster103/lib/python2.6/site-packages/asrun/maintenance.py", line 866, in _build_aster
    run.CheckOK()
  File "/opt/aster103/lib/python2.6/site-packages/asrun/run.py", line 729, in CheckOK
    self.Sortie(4)
  File "/opt/aster103/lib/python2.6/site-packages/asrun/run.py", line 706, in Sortie
    raise RunAsterError, exit_code
RunAsterError: 4

------------------------------------------------------------
Code retour : 4


--------------------------------------------------------------------------------
Erreurs <E> affichées précédemment :
 


<E>_COMPIL_ERROR   erreur lors de la compilation de /opt/aster103/NEW10/bibc/supervis/med_aster_module.c (voir /opt/aster103/NEW10/obj/asterd/supervis.msg)

et le fichier /opt/aster103/NEW10/obj/asterd/supervis.msg contient

Messages de compilation
=======================

c'est grave docteur ?

jean pierre aubry


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

Offline

#2 2011-05-13 10:29:31

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

Re: erreur compilation à la mise à jour 11.00.02 ver 11.00.05

Attention, la version de MED a changé !

Pour les instructions pour faire la mise à jour il faut aller ici.

MED 3.0.2 se trouve ici.


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

Code_Aster. What else ?

Offline

#3 2011-05-13 10:34:39

apalazzi
Member
Registered: 2010-05-11
Posts: 283

Re: erreur compilation à la mise à jour 11.00.02 ver 11.00.05

delmas wrote:

Attention, la version de MED a changé !

Pour les instructions pour faire la mise à jour il faut aller ici.

MED 3.0.2 se trouve ici.

Hi,

this will apply also to the next to come 11.0, right?

Bye
Andrea

Offline

#4 2011-05-13 11:00:56

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,638

Re: erreur compilation à la mise à jour 11.00.02 ver 11.00.05

merci,
c'est rapide et effectivement indiqué en bas de la page,
mais

à la commande ./configure de med-3:0:2 j'obtiens

checking for ftime... yes
checking for gettimeofday... yes
checking whether H5_HAVE_PARALLEL is declared... no
configure: Can't find a parallel version of HDF.
checking absolute name of <H5public.h>... checking H5public.h usability... no
checking H5public.h presence... no
checking for H5public.h... no

checking HDF version is ok... configure: error: in `/dedalus/downloaded/med-3.0.2':
configure: error: Can't determine HDF version.
See `config.log' for more details

ce qui signifie ????

jean pierre aubry


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

Offline

#5 2011-05-13 12:06:18

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: erreur compilation à la mise à jour 11.00.02 ver 11.00.05

Il faut installer HDF5 1.8.4 soit à la main soit avec sa distrib. Mais dans ce dernier cas, ne pas oublier d'installer aussi le paquet "-dev" pour avoir les includes (c'est ce qui manque ici)

Exemples (avec HDF5 installé à la main, s'il est installé par la distrib, on peut supprimer le dernier argument) :

En 64 bits :

../configure --disable-mesgerr --disable-shared --prefix=/opt/aster/public/med-3.0.2 CC=gcc F77=gfortran FFLAGS=-fdefault-integer-8 FTLDFLAGS=-L/usr/lib/gcc/x86_64-linux-gnu/4.4 FTLIBS=-lstdc++ --with-hdf5=/opt/aster/public/hdf5-1.8.4

En 32 bits :

../configure --disable-mesgerr --disable-shared --prefix=/opt/aster/public/med-3.0.2 CC=gcc F77=gfortran FTLDFLAGS=-L/usr/lib/gcc/i486-linux-gnu/4.4 FTLIBS=-lstdc++ --with-hdf5=/opt/aster/public/hdf5-1.8.4

TdS

Offline

#6 2011-05-15 14:31:49

rprom
Member
Registered: 2008-04-13
Posts: 37

Re: erreur compilation à la mise à jour 11.00.02 ver 11.00.05

My shortcut of compilation for 64 Bit Machine is:
1) ... Use the downloaded MED 3.03 with HDF5 1.8.4 patch1 und compile it strongly following the description ( I think it is 
       also working for 1.8.7, I tried only the compilation)
2) ... Make installation directories as example med-3.0 and hdf5-1.8 in something/STA10.3/public (Your STA10.3 or NEW etc)
3) ... Change yout config.txt like:

   (/home/reinhard/... is my tree to aster)

   LIB-LINES:
  # =======================================================================================
   #BIBL           | med     | 2.3.5 | /home/reinhard/aster10.3/public/med-2.3.6_i4/lib/libmed.a
   BIBL           | med     | 3.0.2 | /home/reinhard/aster10.3/public/med-3.0/lib/libmed.a
   # =======================================================================================
   #BIBL           | hdf5    | 1.6.5 | /home/reinhard/aster10.3/public/hdf5-1.6.9/lib/libhdf5.a
   BIBL           | hdf5    | 1.8.4 | /home/reinhard/aster10.3/public/hdf5-1.8/lib/libhdf5.a
  # =======================================================================================
   #INCL           | include | ?     | -I/home/reinhard/aster10.3/STA10.3/bibc/include -I/usr/include/python2.6 -I/usr/lib/python2.6  /dist-packages/numpy/core/include -I/home/reinhard/aster10.3/public/hdf5-1.6.9/include -I/home/reinhard/aster10.3/public/scotch_5.1.11/include
   INCL           | include | ?     | -I/home/reinhard/aster10.3/STA10.3/bibc/include -I/usr/include/python2.6 -I/usr/lib/python2.6/dist-packages/numpy/core/include -I/home/reinhard/aster10.3/public/hdf5-1.8/include  -I/home/reinhard/aster10.3/public/med-3.0/include -I/home/reinhard/aster10.3/public/scotch_5.1.11/include
  # =======================================================================================
  OPTC_D         | cc      | ?     | -c -g  -fno-stack-protector -fPIC -fopenmp -DH5_USE_16_API
  OPTC_O         | cc      | ?     | -c -fno-stack-protector -fopenmp -DH5_USE_16_API
  # =======================================================================================
--------------------------------------------------
I hope this is working also for You

Offline

#7 2011-06-12 10:14:28

rprom
Member
Registered: 2008-04-13
Posts: 37

Re: erreur compilation à la mise à jour 11.00.02 ver 11.00.05

This works also for UBUNTU 11.04 with the new gfortran+acml and openf90+acml from x86_open64-4-2-5
You have to change some path's.
Like:
========================================================================================================
BIBL           | c++     | ?     | -L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5 -lgfortran -L/opt/open64/open64-gcc-4.2.0/lib64 -lstdc++
========================================================================================================

I too compiled gmsh to get the MED (version prior to 3.02) support! I hope the new SALOME 6.3 Version is coming soon.

Last edited by rprom (2011-06-12 10:19:46)

Offline

#8 2011-06-13 11:02:11

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,638

Re: erreur compilation à la mise à jour 11.00.02 ver 11.00.05

hello

thanks for your ansver

rprom wrote:

My shortcut of compilation for 64 Bit Machine is:
...................................
I hope this is working also for You

however, even if i may look stupid i have some questions

1) ... Use the downloaded MED 3.03 with HDF5 1.8.4 patch1 und compile it strongly following the description ( I think it is
       also working for 1.8.7, I tried only the compilation)

where do you get these?
how do you identify HDF5 1.8.4 patch1?

2) ... Make installation directories as example med-3.0 and hdf5-1.8 in something/STA10.3/public (Your STA10.3 or NEW etc)

do you mean you copy theses directories  in the aster folder from, lets say /usr/somewhere if they have been compiled in there

thanks

jean pierre aubry


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

Offline

#9 2011-06-13 11:12:48

Paul CARRICO
Member
From: France
Registered: 2007-12-26
Posts: 294

Re: erreur compilation à la mise à jour 11.00.02 ver 11.00.05

Offline