Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
easybuild-repository-public-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DEEP-SEA
easybuild-repository-public-release
Commits
4553e994
Commit
4553e994
authored
1 year ago
by
Jens Henrik Goebbert
Browse files
Options
Downloads
Patches
Plain Diff
initial commit
parent
9620c908
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Golden_Repo/m/MATLAB/MATLAB-2023a-GCCcore-11.3.0.eb
+61
-0
61 additions, 0 deletions
Golden_Repo/m/MATLAB/MATLAB-2023a-GCCcore-11.3.0.eb
with
61 additions
and
0 deletions
Golden_Repo/m/MATLAB/MATLAB-2023a-GCCcore-11.3.0.eb
0 → 100644
+
61
−
0
View file @
4553e994
name = 'MATLAB'
version = '2023a'
homepage = 'https://www.mathworks.com/products/matlab.html'
description = """MATLAB is a high-level language and interactive environment
that enables you to perform computationally intensive tasks faster than with
traditional programming languages such as C, C++, and Fortran.
"""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
sources = [SOURCELOWER_TAR_GZ]
checksums = ['7ea4aef06d258af7762c683d8f5386a8917dfe87a4bda6b71f8a445656649f21']
dependencies = [
('X11', '20220504'), # mlab req. libXt.so which is not on the computes
('Java', '11', '', SYSTEM)
]
java_options = '-Xmx2048m'
# Attention: before calling 'eb':
# export EB_MATLAB_KEY as fileInstallationKey
# or export EB_MATLAB_LICFILE as license file
postinstallcmds = [
# create a wrapper script to ensure we do not mess up the environment
# because MATLAB comes with its own libstdc++ and other system libs
# in $EBROOTMATLAB/sys/os/glnxa64/
'mv %(installdir)s/bin/matlab %(installdir)s/bin/matlab.bin ',
(
'{ cat > %(installdir)s/bin/matlab; } << EOF\n'
'#!/bin/bash\n'
'\n'
'MYPATH=\$(readlink -f \$0)\n'
'export MATLAB_PATH=\$(realpath \$(dirname "\$MYPATH")/..)\n'
'\n'
'export LD_LIBRARY_PATH=\$MATLAB_PATH/runtime/glnxa64:\$LD_LIBRARY_PATH\n'
'export LD_LIBRARY_PATH=\$MATLAB_PATH/bin/glnxa64:\$LD_LIBRARY_PATH\n'
'export LD_LIBRARY_PATH=\$MATLAB_PATH/sys/os/glnxa64:\$LD_LIBRARY_PATH\n'
'\n'
'"\$MATLAB_PATH/bin/matlab.bin" "\$@"\n'
'EOF'
),
'chmod +x %(installdir)s/bin/matlab',
]
modloadmsg = """
Attention: This is a RESTRICTED software available for ACADEMIC users only.
"""
modextravars = {
'MLM_LICENSE_FILE': '27000@zam2076.zam.kfa-juelich.de'
}
sanity_check_paths = {
'files': ['bin/matlab', 'bin/glnxa64/MATLAB'],
'dirs': [],
}
moduleclass = 'math'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment