Skip to content

Building code_aster on Ubuntu 24.04 #26

@fsimonis

Description

@fsimonis

This is probably also valid for Ubuntu 22.04.

Building code_aster 14.6.0 (stable) is currently not possible due to a row of issues.

import imp

The setup script and some dependency python scripts use the deprecated and now removed import imp. As the dependencies are nested in archives, patching isn't easy.

Workaround for me was to add the following to the /lib/python3.12/sitecustomize.py the usercustomize.py would be less invasive though:

import importlib
import sys
sys.modules['imp'] = importlib

mumps

This dependency has a row of Error: Type mismatch in argument errors in file mpi.f.
export FCFLAGS=-fallow-argument-mismatch solves this issue

mfront

This dependency has missing type errors in C++ files.

tfel

A massive amount of no type named X and X is not member of std errors.
Also access to struct members which aren't found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions