Atom topic feed | site map | contact | login | Protection des données personnelles | Powered by FluxBB | réalisation artaban
You are not logged in.
Dear code-aster users and developers:
I was trying install code-aster 14.6 on my Unbuntu20.04.1. I prepared all the prerequistes. However, I got following failed message. It seems the MFront and scotch in \SRC are not installed right. What can I do?
>>> Extraction <<<
entering directory '/tmp/install_tfel.343143'
Extracting tfel-3.2.1-1.tar.gz... [ OK ]
--- 7044 files extracted
leaving directory '/tmp/install_tfel.343143'
>>> Configuration <<<
entering directory '/tmp/install_tfel.343143/tfel-3.2.1'
Command line : mkdir build ; cd build ; cmake .. -DCMAKE_BUILD_TYPE=Release -DTFEL_SVN_REVISION=3.2.1 -DTFEL_APPEND_VERSION=3.2.1 -DCMAKE_Fortran_COMPILER=/usr/bin/gfortran -Dlocal-castem-header=ON -Denable-fortran=OFF -Denable-broken-boost-python-module-visibility-handling=ON -Denable-python-bindings=ON -Denable-cyrano=ON -Denable-aster=ON -Ddisable-reference-doc=ON -Ddisable-website=ON -Denable-portable-build=OFF -DPython_ADDITIONAL_VERSIONS=3.8 -Denable-python=ON -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPYTHON_LIBRARY:FILEPATH=/usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.so -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.8 -DCMAKE_INSTALL_PREFIX=/home/xiangyanggang/Software/code-aster-obj/public/tfel-3.2.1
configure tfel installation...
Command output :
configure tfel installation... [FAILED]
Exit code : 1
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
Checking for dependencies and required variables for 'aster'... [ OK ]
--------------------------------------------------------------------------------
Installation of : aster 14.6.0
Code_Aster finite element method solver.
Archive filename : aster-14.6.0
Destination : /home/xiangyanggang/Software/code-aster-obj
Working directory : /tmp/install_aster.343143
--------------------------------------------------------------------------------
Filling cache...
'LIBPATH_MFRONT' not yet defined
'LIBPATH_SCOTCH' not yet defined
[FAILED]
Exit code : 255
*** Exception raised : unavailable variables
Problem with : LIBPATH_MFRONT, LIBPATH_SCOTCH
--------------------------------------------------------------------------------
SUMMARY OF INSTALLATION
--------------------------------------------------------------------------------
Installation of : hdf5 1.10.3
Destination : /home/xiangyanggang/Software/code-aster-obj/public/hdf5-1.10.3
Elapsed time : 111.39 s
[ OK ]
Installation of : med 4.0.0
Destination : /home/xiangyanggang/Software/code-aster-obj/public/med-4.0.0
Elapsed time : 119.47 s
[ OK ]
Installation of : astk 2020.0
Destination : /home/xiangyanggang/Software/code-aster-obj/lib/python3.8/site-packages
Elapsed time : 1.93 s
[ OK ]
Installation of : metis 5.1.0
Destination : /home/xiangyanggang/Software/code-aster-obj/public/metis-5.1.0
Elapsed time : 193.49 s
[ OK ]
Installation of : tfel 3.2.1
Destination : /home/xiangyanggang/Software/code-aster-obj/public/tfel-3.2.1
Elapsed time : 9.51 s
*** Exception None raised : None
See detailed traceback in the logfile
[FAILED]
Exit code : 4
Installation of : mumps 5.1.2
Destination : /home/xiangyanggang/Software/code-aster-obj/public/mumps-5.1.2
Elapsed time : 124.36 s
[ OK ]
Installation of : homard 11.12
Destination : /home/xiangyanggang/Software/code-aster-obj/public/homard-11.12
Elapsed time : 22.45 s
[ OK ]
Installation of : aster 14.6.0
Destination : /home/xiangyanggang/Software/code-aster-obj
Elapsed time : 0.01 s
[ SKIP ]
Installation of : Code_Aster + 8 of its prerequisites
Destination : /home/xiangyanggang/Software/code-aster-obj
Elapsed time : 594.07 s
[ OK ]
Last edited by xyg1996 (2021-08-10 14:18:12)
Offline
Hi Xiangyang,
After taking a look into the log, I think the problem with TFEL/MFRONT is that it is missing some dependencies:
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR python-py38 numpy-py38) (Required is at least version "1.36.0")
-- Trying to find libboost_python38
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR python38 numpy38) (Required is at least version "1.36.0")
-- Trying to find libboost_python-py3
CMake Warning at /usr/share/cmake-3.16/Modules/FindBoost.cmake:2020 (message):
No header defined for python-py3; skipping header check (note: header-only
libraries have no designated component)
Call Stack (most recent call first):
CMakeLists.txt:324 (find_package)
CMake Warning at /usr/share/cmake-3.16/Modules/FindBoost.cmake:2020 (message):
No header defined for numpy-py3; skipping header check (note: header-only
libraries have no designated component)
Call Stack (most recent call first):
CMakeLists.txt:324 (find_package)
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR python-py3 numpy-py3) (Required is at least version "1.36.0")
-- Trying to find libboost_python3
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR python3 numpy3) (Required is at least version "1.36.0")
-- Trying to find libboost_python
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR python numpy) (Required is at least version "1.36.0")
CMake Error at CMakeLists.txt:366 (message):
Boost python libraries not found.
This is at the bottom of the failure of TFEL.
Since you are using Ubuntu, the -devel packages are not installed by default. Meaning that CA seems to be looking at the -devel packages for boost and boot+python.. Could you search for these packages, install them and see if it works?
Regards,
Fernando Oleo Blanco
Offline
Hi Xiangyang,
After taking a look into the log, I think the problem with TFEL/MFRONT is that it is missing some dependencies:
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR python-py38 numpy-py38) (Required is at least version "1.36.0") -- Trying to find libboost_python38 -- Could NOT find Boost (missing: Boost_INCLUDE_DIR python38 numpy38) (Required is at least version "1.36.0") -- Trying to find libboost_python-py3 CMake Warning at /usr/share/cmake-3.16/Modules/FindBoost.cmake:2020 (message): No header defined for python-py3; skipping header check (note: header-only libraries have no designated component) Call Stack (most recent call first): CMakeLists.txt:324 (find_package) CMake Warning at /usr/share/cmake-3.16/Modules/FindBoost.cmake:2020 (message): No header defined for numpy-py3; skipping header check (note: header-only libraries have no designated component) Call Stack (most recent call first): CMakeLists.txt:324 (find_package) -- Could NOT find Boost (missing: Boost_INCLUDE_DIR python-py3 numpy-py3) (Required is at least version "1.36.0") -- Trying to find libboost_python3 -- Could NOT find Boost (missing: Boost_INCLUDE_DIR python3 numpy3) (Required is at least version "1.36.0") -- Trying to find libboost_python -- Could NOT find Boost (missing: Boost_INCLUDE_DIR python numpy) (Required is at least version "1.36.0") CMake Error at CMakeLists.txt:366 (message): Boost python libraries not found.
This is at the bottom of the failure of TFEL.
Since you are using Ubuntu, the -devel packages are not installed by default. Meaning that CA seems to be looking at the -devel packages for boost and boot+python.. Could you search for these packages, install them and see if it works?
Regards,
Fernando Oleo Blanco
Thank you very much! It works!
Offline