Atom topic feed | site map | contact | login | Protection des données personnelles | Powered by FluxBB | réalisation artaban
You are not logged in.
Pages: 1
Hello,
I am facing the same problems already mentioned in this forum because of python3.8.
I managed to install MUMPS manually by changing the waf file with the one with version 20. , and then
CC=/usr/bin/gcc FC=/usr/bin/gfortran LIBPATH="/opt/aster/public/scotch-6.0.4/lib /opt/aster/public/metis-5.1.0/lib" INCLUDES="/opt/aster/public/scotch-6.0.4/include /opt/aster/public/metis-5.1.0/include" OPTLIB_FLAGS="/usr/lib/x86_64-linux-gnu/liblapack.a /usr/lib/x86_64-linux-gnu/libblas.a -L/usr/lib/x86_64-linux-gnu -lpthread -L/usr/lib/x86_64-linux-gnu -lz" python3 waf configure --maths-libs="" --prefix=/opt/aster/public/mumps-5.1.2 --install-tests
then
sudo python3 waf build
and
sudo python3 waf install
during this process, the error was that the folder build/examples was empty. Therefore, I manually copy the folder examples into build/examples
The installation was successfully (hopefully)
But when I move on, aster installation failed:
--------------------------------------------------------------------------------
Installation of : aster 14.4.0
Code_Aster finite element method solver.
Archive filename : aster-14.4.0
Destination : /opt/aster
Working directory : /tmp/install_aster.12370
--------------------------------------------------------------------------------
Filling cache... [ OK ]
Checking permissions... [ OK ]
>>> Extraction <<<
entering directory '/tmp/install_aster.12370'
Extracting aster-14.4.0.tgz... [ OK ]
--- 29866 files extracted
leaving directory '/tmp/install_aster.12370'
>>> Configuration <<<
entering directory '/tmp/install_aster.12370/aster-14.4.0'
leaving directory '/tmp/install_aster.12370/aster-14.4.0'
>>> Configuration <<<
entering directory '/tmp/install_aster.12370/aster-14.4.0'
Command line : export PATH=/tmp/tmpz2nlavyq:${PATH} ; ./waf configure --use-config=aster_full_config --install-tests --prefix=/opt/aster/14.4
configure aster installation...
Command output :
checking environment... already set
executing: ./waf.engine configure --use-config=aster_full_config --install-tests --prefix=/opt/aster/14.4 --out=build/std --jobs=4
Setting top to : /tmp/install_aster.12370/aster-14.4.0
Setting out to : /tmp/install_aster.12370/aster-14.4.0/build/std
Setting prefix to : /opt/aster/14.4
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 9.3.0
Checking for Fortran compiler version : gfortran 9.3.0
fortran link verbose flag : -v
Checking for OpenMP flag -fopenmp : yes
Getting fortran runtime link flags : ok (-L/opt/aster/public/hdf5-1.10.3/lib -L/opt/aster/public/med-4.0.0/lib -L/opt/aster/public/mumps-5.1.2/lib -L/opt/aster/public/metis-5.1.0/lib -L/lib -L/opt/aster/public/scotch-6.0.4/lib -L/opt/aster/public/hdf5-1.10.3/lib64 -L/opt/aster/public/med-4.0.0/lib64 -L/opt/aster/public/hdf5-1.10.3/lib -L/opt/aster/public/med-4.0.0/lib -L/opt/aster/public/mumps-5.1.2/lib -L/opt/aster/public/metis-5.1.0/lib -L/lib -L/opt/aster/public/scotch-6.0.4/lib -L/opt/aster/public/hdf5-1.10.3/lib64 -L/opt/aster/public/med-4.0.0/lib64 -Lnow -Lrelro -L/opt/aster/public/hdf5-1.10.3/lib -L/opt/aster/public/med-4.0.0/lib -L/opt/aster/public/mumps-5.1.2/lib -L/opt/aster/public/metis-5.1.0/lib -L/lib -L/opt/aster/public/scotch-6.0.4/lib -L/opt/aster/public/hdf5-1.10.3/lib64 -L/opt/aster/public/med-4.0.0/lib64 -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. -lgfortran -lm -lquadmath -lm -L/opt/aster/public/hdf5-1.10.3/lib -L/opt/aster/public/med-4.0.0/lib -L/opt/aster/public/mumps-5.1.2/lib -L/opt/aster/public/metis-5.1.0/lib -L/lib -L/opt/aster/public/scotch-6.0.4/lib -L/opt/aster/public/hdf5-1.10.3/lib64 -L/opt/aster/public/med-4.0.0/lib64)
Checking for library pthread : yes
Checking for library dl : yes
Checking for library util : yes
Checking for program 'python' : /usr/bin/python3
Checking for python version >= 3.5.0 : 3.8.5
python-config : /usr/bin/python3-config
Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes
Testing pyembed configuration : Could not build a python embedded interpreter
Testing pyembed configuration : Could not build a python embedded interpreter
The configuration failed
(complete log in /tmp/install_aster.12370/aster-14.4.0/build/std/config.log)
EXIT_COMMAND_12370_00000071=1
configure aster installation... [FAILED]
Exit code : 1
Config.log attached.
Any idea? Maybe I incorrectly installed MUMPS ? Do I need to start again from removing python 3.8 for 3.6?
Many thanks
Offline
This is the error:
Testing pyembed configuration : Could not build a python embedded interpreter
which occurs in conda installation of python 3.8. The conda-forge builds however do not have this issue. If you dont mind updating python packages from conda-forge channel, the issue can be resolved from following command on linux:
conda install python=3.8 -c conda-forge
conda update --all -c conda-forge
Offline
Pages: 1