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

You are not logged in.

#1 2018-11-08 18:43:42

srouquette
Member
Registered: 2016-11-25
Posts: 6

Probleme installation codeAster (modules metis et Aster)

Bonjour
je vais surement répéter un ancien post... mais je ne sais pas comment rechercher sous ce forum!
je suis sur ubuntu 16.04 LTS. J'ai déjà installé depuis longtemps SaloméMéca et je voulais installer CodeAster pour lancer des calculs en mode "as_run" ... bref je lance l'installation dans le dossier opt mais il y a deux échecs: métis et Aster ... je ne comprends pas pourquoi?
pouvez-vous m'aider?
j'ai attaché mon fichier setup.log car sans celui-là je ne sais pas quoi vous dire de plus pour vous aiguiller...
merci pour votre aide
Cdlt
Sébastien


Attachments:
setup.log, Size: 40.4 KiB, Downloads: 8

Offline

#2 2018-11-08 23:00:21

lsalles
Member
From: Imperial College London
Registered: 2011-09-27
Posts: 33

Re: Probleme installation codeAster (modules metis et Aster)

Hi,
It seems that you need cmake to install metis and mfront which is not installed on your machine,

/bin/sh: 1: cmake: not found
Makefile:74 : la recette pour la cible « config » a échouée
make: *** [config] Erreur 127
EXIT_COMMAND_3061_00000084=2.

Rgds,
Loic

Offline

#3 Today 15:15:42

srouquette
Member
Registered: 2016-11-25
Posts: 6

Re: Probleme installation codeAster (modules metis et Aster)

Cheers LOic!

it has fixed one of the two failures.

Regards

Offline

#4 Today 15:20:09

srouquette
Member
Registered: 2016-11-25
Posts: 6

Re: Probleme installation codeAster (modules metis et Aster)

Hello deer Code Aster fellows,

i have another problem with the code_aster installation. It happens when installing the module tfel. Here it is below the error message from steup.log:

>>> Extraction <<<

entering directory '/tmp/install_tfel.4589'
Extracting tfel-3.0.0-1.tar.gz...                                      [  OK  ]
--- 5668 files extracted
leaving directory '/tmp/install_tfel.4589'

>>> Configuration <<<

entering directory '/tmp/install_tfel.4589/tfel-3.0.0'
Command line : mkdir build ; cd build ; cmake .. -DTFEL_SVN_REVISION=3.0.0 -DCMAKE_BUILD_TYPE=Release -Dlocal-castem-header=ON -Denable-fortran=ON -DPython_ADDITIONAL_VERSIONS=2.7 -Denable-python=ON -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 -DCMAKE_INSTALL_PREFIX=/opt/aster13/public/tfel-3.0.0
configure tfel installation...                                         
Command output :
configure tfel installation...                                         [FAILED]
Exit code : 1
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file fenv.h
-- Looking for include file fenv.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- The Fortran compiler identification is GNU 5.4.0
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- fortran support enabled
-- enabling flag 'Wno-conversion'
-- enabling flag 'Wall'
-- enabling flag 'W'
-- enabling flag 'Wextra'
-- enabling flag 'pedantic'
-- enabling flag 'Wshadow'
-- enabling flag 'Wpointer-arith'
-- enabling flag 'Wcast-qual'
-- enabling flag 'Wcast-align'
-- enabling flag 'Wwrite-strings'
-- enabling flag 'Wctor-dtor-privacy'
-- enabling flag 'Wnon-virtual-dtor'
-- enabling flag 'Woverloaded-virtual'
-- enabling flag 'Wreturn-type'
-- enabling flag 'Wfloat-equal'
-- enabling flag 'Wno-endif-labels'
-- enabling flag 'Wsign-compare'
-- enabling flag 'Wmissing-format-attribute'
-- enabling flag 'Wno-multichar'
-- enabling flag 'Wno-deprecated-declarations'
-- enabling flag 'Wpacked'
-- enabling flag 'Wredundant-decls'
-- enabling flag 'Wunknown-pragmas'
-- enabling flag 'Wundef'
-- enabling flag 'Wreorder'
-- enabling flag 'Wno-conversion'
-- enabling flag 'Wdouble-promotion'
-- enabling flag 'Winit-self'
-- enabling flag 'Wlogical-op'
-- enabling flag 'Wmissing-declarations'
-- enabling flag 'Wmissing-include-dirs'
-- enabling flag 'Wnoexcept'
-- enabling flag 'Wold-style-cast'
-- enabling flag 'Wsign-conversion'
-- enabling flag 'Wsign-promo'
-- enabling flag 'Wstrict-null-sentinel'
-- enabling flag 'Wtrampolines'
-- enabling flag 'Wvector-operation-performance'
-- enabling flag 'Wzero-as-null-pointer-constant'
-- enabling flag 'Wignored-qualifiers'
-- enabling flag 'Wsequence-point'
-- enabling flag 'Wswitch'
-- enabling flag 'Wsuggest-final-types'
-- enabling flag 'Wsuggest-final-methods'
-- enabling flag 'Wsuggest-override'
-- enabling flag 'Wswitch-bool'
-- enabling flag 'Wlogical-not-parentheses'
-- enabling flag 'Wsizeof-array-argument'
-- enabling flag 'Wbool-compare'
-- flag 'Wshift-negative-value' disabled
-- flag 'Wshift-overflow' disabled
-- flag 'Wtautological-compare' disabled
-- flag 'Wnull-dereference' disabled
-- flag 'Wduplicated-cond' disabled
-- flag 'Wmisleading-indentation' disabled
-- enabling flag 'Wlong-long'
-- enabling flag 'Wdisabled-optimization'
-- enabling flag 'fvisibility=hidden'
-- enabling flag 'fvisibility-inlines-hidden'
-- enabling flag 'march=native'
-- enabling flag 'ftree-vectorize'
-- enabling flag 'ffast-math'
-- enabling [[ noreturn ]] attribute
-- aster support enabled
-- cyrano support enabled
-- Could NOT find Gnuplot (missing:  GNUPLOT_EXECUTABLE)
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.12")
-- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.12")
-- found python         
-- python include path   /usr/include/python2.7
-- python libraries path /usr/lib/x86_64-linux-gnu
-- python library        python2.7
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:210 (find_package)


-- Could NOT find Boost
CMake Error at CMakeLists.txt:215 (message):
Boost libraries not found.

Required packages are :


-- Configuring incomplete, errors occurred!
See also "/tmp/install_tfel.4589/tfel-3.0.0/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/install_tfel.4589/tfel-3.0.0/build/CMakeFiles/CMakeError.log".
EXIT_COMMAND_4589_00000081=1

*** Exception raised : error during configure

Thank you if someone can have a look and tell me what package i need to install or replace? it seems that "pthread_create" is missing/not found. Moreover, a "Boost library" is missing?
Cheers

Offline

#5 Today 15:31:09

srouquette
Member
Registered: 2016-11-25
Posts: 6

Re: Probleme installation codeAster (modules metis et Aster)

finally installing this package seems to solve the error message:
sudo apt-get install libboost-all-dev

Cheers dear all

Offline

Board footer