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

You are not logged in.

#1 2020-02-07 03:42:33

van_tanabe
Member
Registered: 2020-02-07
Posts: 1

Code Aster Installation

Hi,

I'm building a parallel code_aster using the current version 14.4. All prerequisite packages were installed. I got into an error upon building the aster.

--------------------------------------------------------------------------------
     SUMMARY OF INSTALLATION
--------------------------------------------------------------------------------

Installation of   : hdf5 1.10.3
Destination       : /opt/codeaster/aster/public/hdf5-1.10.3
Elapsed time      : 92.83 s
                                                                      [  OK  ]
Installation of   : med 4.0.0
Destination       : /opt/codeaster/aster/public/med-4.0.0
Elapsed time      : 51.27 s
                                                                      [  OK  ]
Installation of   : gmsh 3.0.6
Destination       : /opt/codeaster/aster/public/gmsh-3.0.6-Linux
Elapsed time      : 0.47 s
                                                                      [  OK  ]
Installation of   : scotch 6.0.4
Destination       : /opt/codeaster/aster/public/scotch-6.0.4
Elapsed time      : 19.84 s
                                                                      [  OK  ]
Installation of   : astk 2019.0
Destination       : /opt/codeaster/aster/lib/python3.6/site-packages
Elapsed time      : 0.34 s
                                                                      [  OK  ]
Installation of   : metis 5.1.0
Destination       : /opt/codeaster/aster/public/metis-5.1.0
Elapsed time      : 20.27 s
                                                                      [  OK  ]
Installation of   : tfel 3.2.1
Destination       : /opt/codeaster/aster/public/tfel-3.2.1
Elapsed time      : 116.18 s
                                                                      [  OK  ]
Installation of   : mumps 5.1.2
Destination       : /opt/codeaster/aster/public/mumps-5.1.2
Elapsed time      : 79.38 s
                                                                      [  OK  ]
Installation of   : homard 11.12
Destination       : /opt/codeaster/aster/public/homard-11.12
Elapsed time      : 1.02 s
                                                                      [  OK  ]
Installation of   : aster 14.4.0
Destination       : /opt/codeaster/aster
Elapsed time      : 154.56 s

*** Exception None raised : None
See detailed traceback in the logfile
                                                                       [FAILED]
Exit code : 4
Installation of   : Code_Aster + 10 of its prerequisites
Destination       : /opt/codeaster/aster
Elapsed time      : 539.21 s
                                                                      [  OK  ]

Upon deeply investigation, I notice some errors on hdf that throws an error like this

<DBG> [7232/8114] Compiling bibc/hdf/hdfcrg.c
<DBG> Waf: Leaving directory `/tmp/install_aster.10641/aster-14.4.0/build/std/release'
<DBG> EXIT_COMMAND_10641_00000093=1
<DBG> +++ STANDARD ERROR: ../../../bibc/hdf/hdfclf.c:32:1: error: unknown type name ‘hid_t’; did you mean ‘id_t’?
<DBG> hid_t DEFP(HDFCLF, hdfclf, hid_t *idf)
<DBG> ^~~~~
<DBG> id_t
<DBG> In file included from ../../../bibc/include/aster.h:27:0,
<DBG>                 from ../../../bibc/hdf/hdfclf.c:19:
<DBG> ../../../bibc/hdf/hdfclf.c:32:28: error: unknown type name ‘hid_t’; did you mean ‘id_t’?
<DBG> hid_t DEFP(HDFCLF, hdfclf, hid_t *idf)
<DBG>                            ^
<DBG> ../../../bibc/include/definition.h:272:52: note: in definition of macro ‘DEFP’
<DBG> #define DEFP(UN,LN,a)               STDCALL(UN,LN)(a)
<DBG>                                                    ^
<DBG>
<DBG> ../../../bibc/hdf/hdfcrg.c:34:1: error: unknown type name ‘hid_t’; did you mean ‘id_t’?
<DBG> hid_t DEFPSS(HDFCRG, hdfcrg, hid_t *idf, char *nomgp, STRING_SIZE lp,
<DBG> ^~~~~
<DBG> id_t
<DBG> In file included from ../../../bibc/include/aster.h:27:0,
<DBG>                 from ../../../bibc/hdf/hdfcrg.c:19:
<DBG> ../../../bibc/hdf/hdfcrg.c:34:30: error: unknown type name ‘hid_t’; did you mean ‘id_t’?
<DBG> hid_t DEFPSS(HDFCRG, hdfcrg, hid_t *idf, char *nomgp, STRING_SIZE lp,
<DBG>                              ^
<DBG> ../../../bibc/include/definition.h:82:64: note: in definition of macro ‘DEFPSS’
<DBG> #define DEFPSS(UN,LN,a,b,lb,c,lc)               STDCALL(UN,LN)(a,b,c,lb,lc)
<DBG>                                                                ^
<DBG>
<DBG> Build failed

Hoping someone can interpret what is missing.

Thank you,
Van

Offline