Skip to content

Adaptation of the easyconfig for Matlab MCR 2024 from MCR 2023 not working #20797

@MarcoMagl

Description

@MarcoMagl

I tried to adapt the following working .eb with

name = 'MCR'
version = 'R2023b'  # runtime version 9.12
local_update = '0'

homepage = 'https://www.mathworks.com/products/compiler/mcr/'
description = """The MATLAB Runtime is a standalone set of shared libraries
 that enables the execution of compiled MATLAB applications
 or components on computers that do not have MATLAB installed."""

toolchain = SYSTEM

source_urls = ['https://ssd.mathworks.com/supportfiles/downloads/%%(version)s/Release/%s/deployment_files/'
               'installer/complete/glnxa64/' % local_update]
sources = ['MATLAB_Runtime_%(version)s_glnxa64.zip']

moduleclass = 'math'

replacing R2023b with R2023a ( I call the .eb MCR-R2024a.eb)

and running with:

eb --rebuild MCR-R2024a.eb --include-easyblocks=./mcr.py --disable-cleanup-builddir --inject-checksums

Unfortunately, in the set_subdir function of mcr.py, self.subdir return an empty list which cause the sanity to fail.
It looks like the installation directory is empty.

I have no idea how to fix that. Would you have some suggestion? I do not understand what changed between the R2023b and R2024a installations.

When I unzip both .zip containing sources, the filetree are the same.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions