Atom topic feed | site map | contact | login | Protection des données personnelles | Powered by FluxBB | réalisation artaban
You are not logged in.
Hi,
I have code aster stable version 14.6 installed on my computer (UBUNTU 18.04) and it is working properly with all the modules. However I was trying to build code aster from source and I followed the instructions on sourceforge wiki quickstart. I cloned the repositories but when I wanted to configure waf using the command
./waf configure --use-config-dir=$ASTER_ROOT/$ASTER_VERSION/share/aster --use-config=aster_full_config --prefix=../install/std
I received the following message which cannot find hdf5 version and some other modules.
checking environment... executing: ./waf.engine configure --use-config-dir=/opt/aster146/14.6/share/aster --use-config=aster_full_config --prefix=../install/std --out=build/std --jobs=4
Setting top to : /opt/aster146/dev/codeaster/src
Setting out to : /opt/aster146/dev/codeaster/src/build/std
Setting prefix to : /opt/aster146/dev/codeaster/install/std
Searching configuration 'aster_full_config'...
Checking for configuration : aster_full_config
Checking for 'gcc' (C compiler) : /usr/bin/gcc
Checking for 'g++' (C++ compiler) : /usr/bin/g++
Checking for 'gfortran' (Fortran compiler) : /usr/bin/gfortran
Checking for C compiler version : gcc 7.5.0
Checking for Fortran compiler version : gfortran 7.5.0
fortran link verbose flag : -v
Checking for OpenMP flag -fopenmp : yes
Checking for program 'python' : /usr/bin/python3
Checking for python version >= 3.5.0 : 3.6.9
python-config : /usr/bin/python3-config
Asking python-config for pyembed '--cflags --libs --ldflags --embed' flags : not found
Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes
Testing pyembed configuration : yes
Asking python-config for pyext '--cflags --libs --ldflags' flags : yes
Testing pyext configuration : yes
Checking for python module 'numpy' : 1.13.3
Checking for numpy include : ['/usr/lib/python3/dist-packages/numpy/core/include']
Checking for python module 'asrun' : 2020.0
Getting platform : ASTER_PLATFORM_LINUX64
Checking for library m : yes
Checking for library z : yes
Checking for number of cores : 8
Setting libm after files : nothing done
Checking for library hdf5 : yes
Checking for header hdf5.h : yes
Checking hdf5 version : no
Checking for library med : yes
Checking for header med.h : yes
Checking size of med_int integers : 4
Checking size of med_idt integers : 8
Checking med version : no
Checking for library metis : yes
Checking for header metis.h : yes
Checking metis version : 5.1.0
Checking for smumps_struc.h : yes
Checking for dmumps_struc.h : yes
Checking for cmumps_struc.h : yes
Checking for zmumps_struc.h : yes
Checking for mpif.h : yes
Checking mumps version : 5.1.2
Checking size of Mumps integer : 4
Checking for library dmumps : yes
Checking for library zmumps : yes
Checking for library smumps : yes
Checking for library cmumps : yes
Checking for library mumps_common : yes
Checking for library pord : yes
Checking for library mpiseq : yes
Checking for header scotch.h : yes
Checking scotch version : 6.0.4
Checking for library ['esmumps', 'scotch', 'scotcherr'] : yes
Reading build preferences from ~/.hgrc : not found
Checking for 'gfortran' (Fortran compiler) : /usr/bin/gfortran
Compiling a simple fortran app : yes
Detecting whether we need a dummy main : yes main
Checking for fortran option : yes (-fdefault-double-8 -fdefault-integer-8 -fdefault-real-8)
Checking for fortran option : yes (-Wimplicit-interface)
Checking for fortran option : yes (-Wintrinsic-shadow)
Checking for fortran option : yes (-fno-aggressive-loop-optimizations)
Checking for fortran option : yes (-ffree-line-length-none)
Setting fortran compiler flags : ['-fPIC', '-fdefault-double-8', '-fdefault-integer-8', '-fdefault-real-8', '-Wimplicit-interface', '-Wintrinsic-shadow', '-fno-aggressive-loop-optimizations', '-ffree-line-length-none']
Getting fortran mangling scheme : ok ('_', '', 'lower-case')
Checking size of integer4 : 4
Checking the matching C type : int
Checking size of default integer : 8
Checking the matching C type : long
Checking size of logical : 1
Checking size of simple precision real : 4
Checking the matching C type : float
Checking size of double precision real : 8
Checking the matching C type : double
Checking size of double complex : 16
Setting type for fortran string length : unsigned int
Setting size of blas/lapack integers : 4
Checking fpp stringify using # : no
Checking fpp stringify using "" : yes
Checking compilation with long lines : yes
Check for backtrace feature : yes
Check for tracebackqq feature : no
Getting code_aster version : [(15, 3, 16), 'ae3cefecf03f85b62f53ab9cbc5878c90b3742bb', 'default', '27/04/2021', 'default', 14]
Checking for 'g++' (C++ compiler) : /usr/bin/g++
Checking for compiler flags -std=c++11 : yes
Checking for library stdc++ : yes
Checking size of C++ bool : 1
Checking for program 'dpkg-architecture' : /usr/bin/dpkg-architecture
Checking boost includes : 1.65.1
Checking boost libs : ok
Checking for boost linkage : ok
Checking for 'gcc' (C compiler) : /usr/bin/gcc
Getting C compiler flags : ['-fPIC']
Checking for TFELHOME variable : /opt/aster146/public/tfel-3.2.1
Checking for program 'mfront' : not found
Check for msgfmt programs : ['/usr/bin/msgfmt']
Check for xgettext programs : ['/usr/bin/xgettext']
Check for msgmerge programs : ['/usr/bin/msgmerge']
Check for lrelease programs : ['/usr/bin/lrelease']
Check for pylupdate4 programs : not found
Set parameters for 'config.json' : done
. use 'tmpdir' : /tmp
. use 'addmem' : 1024
. use 'python' : python3
. use 'python_interactive' : python3
Checking for program 'gmsh' : /usr/bin/gmsh
Checking for program 'salome' : not found
Checking for program 'salome' : not found
Checking for program 'run_miss3d' : not found
Checking for program 'run_miss3d' : not found
Checking for program 'homard' : /opt/aster146/public/homard-11.12/ASTER_HOMARD/homard
Checking for program 'ecrevisse' : not found
Checking for program 'ecrevisse' : not found
Checking for program 'mfront' : not found
Checking for program 'mfront' : not found
Checking for program 'xmgrace' : not found
Checking for program 'xmgrace' : not found
Checking for program 'gracebat' : not found
Checking for program 'gracebat' : not found
Checking for program 'mdump' : not found
Checking for program 'mdump' : not found
Checking for 'data' repository : /opt/aster146/dev/codeaster/data not found
Store execution environment : yes
Build list of testcases : done
Checking for program 'dot' : /usr/bin/dot
Checking for program 'convert' : /usr/bin/convert
Checking for program 'sphinx-build' : /usr/bin/sphinx-build
Checking for sphinx version : Sphinx (sphinx-build) 1.6.7
Checking for 'validation' repository : /opt/aster146/dev/codeaster/validation not found
Setting C debug flags : ['-g', '-O0']
Setting C optimization flags : ['-O2']
Setting C++ debug flags : ['-g', '-O0']
Setting C++ optimization flags : ['-O2']
Setting fortran debug flags : ['-g', '-O0']
Checking loop optimization with LOC : VOLATILE is required
Checking implicit loop in write : '' is required
Getting fortran optimization flags : ['-O2', '']
Write config file : debug/asterf_config.h
Write config file : debug/asterc_config.h
Write config file : debug/aster_config.py
Write config file : release/asterf_config.h
Write config file : release/asterc_config.h
Write config file : release/aster_config.py
'configure' finished successfully (4.132s)
I ignored the errors and proceeded to install which was not successful and it stopped with following message:
[7542/9873] Compiling bibc/utilitai/indik8.c
../../../bibc/hdf/hdfcrf.c:32:1: error: unknown type name ‘hid_t’; did you mean ‘id_t’?
hid_t DEFS(HDFCRF, hdfcrf, char *nomfic, STRING_SIZE ln)
^~~~~
id_t
../../../bibc/hdf/hdfcrf.c: In function ‘hdfcrf_’:
../../../bibc/hdf/hdfcrf.c:34:3: error: unknown type name ‘hid_t’; did you mean ‘id_t’?
hid_t iret=-1;
^~~~~
id_t
Waf: Leaving directory `/opt/aster146/dev/codeaster/src/build/std/release'
Build failed
-> task in 'asterbibc' failed with exit status 1 (run with -v to display more information)
I have attached setup files.
any help would be appreciated
Thanks,
Abbas
Offline