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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DEEP-SEA
easybuild-repository-public-release
Commits
70282ae8
Commit
70282ae8
authored
1 year ago
by
Jens Henrik Goebbert
Browse files
Options
Downloads
Patches
Plain Diff
add v0.9.0
parent
1ee283cf
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/j/JupyterProxy-Matlab/JupyterProxy-Matlab-0.9.0-GCCcore-11.3.0-2023.3.6.eb
+136
-0
136 additions, 0 deletions
...tlab/JupyterProxy-Matlab-0.9.0-GCCcore-11.3.0-2023.3.6.eb
with
136 additions
and
0 deletions
Golden_Repo/j/JupyterProxy-Matlab/JupyterProxy-Matlab-0.9.0-GCCcore-11.3.0-2023.3.6.eb
0 → 100644
+
136
−
0
View file @
70282ae8
easyblock = 'PythonBundle'
name = 'JupyterProxy-Matlab'
version = '0.9.0'
local_jupyterver = '2023.3.6'
versionsuffix = '-' + local_jupyterver
# only users of the UNIX-group 'matlab' must have access
# group = 'matlab'
homepage = 'https://github.com/mathworks/jupyter-matlab-proxy'
description = """The MATLAB integration for Jupyter enables you to open a MATLAB desktop
in a web browser tab, directly from your Jupyter environment.
"""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
toolchainopts = {'pic': True}
builddependencies = [
('binutils', '2.38'),
# check for existance
# ('MATLAB', '2023a'),
# ('XServer', '21.1.6'),
]
dependencies = [
('Python', '3.10.4'),
('JupyterLab', local_jupyterver),
]
exts_defaultclass = 'PythonPackage'
exts_default_options = {
'filter': ('python -c "import %(ext_name)s"', ''),
'download_dep_fail': True,
'source_urls': [PYPI_SOURCE],
'use_pip': True,
'sanity_pip_check': True,
'use_pip_for_deps': False,
}
exts_list = [
# enable classic jupyter ####
('jupyter_contrib_core', '0.4.2', {
'checksums': [('sha256', '1887212f3ca9d4487d624c0705c20dfdf03d5a0b9ea2557d3aaeeb4c38bdcabb')],
}),
('jupyter_highlight_selected_word', '0.2.0', {
'checksums': [('sha256', '9fa740424859a807950ca08d2bfd28a35154cd32dd6d50ac4e0950022adc0e7b')],
}),
('jupyter_nbextensions_configurator', '0.6.1', {
'checksums': [('sha256', '4b9e1270ccc1f8e0a421efb8979a737f586813023a4855b9453f61c3ca599b82')],
}),
('jupyter_contrib_nbextensions', '0.7.0', {
'checksums': [('sha256', '06e33f005885eb92f89cbe82711e921278201298d08ab0d886d1ba09e8c3e9ca')],
}),
# core-packages ####
('aiohttp-session', '2.12.0', {
'checksums': [('sha256', '0ccd11a7c77cb9e5a61f4daacdc9170d561112f9cfaf9e9a2d9867c0587d1950')],
}),
('matlab-proxy', '0.9.0', {
'checksums': [
('sha256', 'd8e76ef8c5d89aab286ad5bad65ecbdde1dca8803e2101f7d13e6f3ee3cb5cb5'),
],
}),
('jupyter-matlab-proxy', '0.8.0', {
'source_urls': ['https://github.com/mathworks/jupyter-matlab-proxy/archive/'],
'source_tmpl': 'v%(version)s.tar.gz',
'patches': [
'jupytermatlabproxy_timeout.patch',
],
'checksums': [
('sha256', 'b1785c8bed32d187c2fa15d921d047dd7483ec20442cdc5f34c0aad1ca06bac5'),
('sha256', '4d15cc52352dc0cdeb03cc01285cf01cfe01393f3eee77fe1c2e205d691a5b8d'),
],
}),
]
postinstallcmds = [
(
'{ cat > %(installdir)s/bin/matlab; } << EOF \n'
'#!/bin/bash \n'
'\n'
'# Load required modules \n'
'module purge \n'
'module load Stages/${STAGE} \n'
'module load GCCcore/.11.3.0 \n'
'module load MATLAB \n'
'module load XServer/21.1.6 \n'
'\n'
'matlab "\$@" \n'
'\n'
'EOF'
),
'chmod +x %(installdir)s/bin/matlab',
(
'{ cat > %(installdir)s/bin/Xvfb; } << EOF \n'
'#!/bin/bash \n'
'\n'
'# Load required modules \n'
'# and ensure stderr stays empty as matlab-proxy seems to fail if not \n'
'module purge 2>&1 \n'
'module load Stages/${STAGE} 2>&1 \n'
'module load GCCcore/.11.3.0 2>&1 \n'
'module load MATLAB 2>&1 \n'
'module load XServer/21.1.6 2>&1 \n'
'\n'
'Xvfb "\$@" 2>&1\n'
'\n'
'EOF'
),
'chmod +x %(installdir)s/bin/Xvfb'
]
modextravars = {
'MWI_USE_EXISTING_LICENSE': 'True',
'MWI_PROCESS_START_TIMEOUT': '600',
}
# Jupyter-matlab-kernel DISABLED:
# https://github.com/mathworks/jupyter-matlab-proxy/issues/62
modextrapaths = {
# 'MWI_CUSTOM_MATLAB_ROOT': 'lib/python%(pyshortver)s/site-packages/jupyter_matlab_proxy/',
# 'JUPYTER_PATH': ['share/jupyter'], # add search path for kernelspecs
}
# Ensure that the user-specific $HOME/.local/share/jupyter is first entry in JUPYTHER_PATH
# modluafooter = """
# prepend_path("JUPYTER_PATH", pathJoin(os.getenv("HOME"), ".local/share/jupyter"))
# """
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}
moduleclass = 'tools'
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