Skip to content

Handle multiple installation keys for MATLAB#1610

Merged
boegel merged 4 commits intoeasybuilders:developfrom
akesandgren:handle-multiple-installation-keys-for-matlab
Jan 13, 2019
Merged

Handle multiple installation keys for MATLAB#1610
boegel merged 4 commits intoeasybuilders:developfrom
akesandgren:handle-multiple-installation-keys-for-matlab

Conversation

@akesandgren
Copy link
Copy Markdown
Contributor

@akesandgren akesandgren commented Dec 19, 2018

One can have multiple installation keys to matlab, if so one has to do
one install per key.
Matlab installer ignores TMPDIR (always using /tmp), give use the -tmpdir option.
Don't add JAVA_OPTIONS to the module file if there are no java_options.

One can have multiple installation keys tyo matlab, if so one has to do
one install per key.
Matlab installer ignores TMPDIR, give it a -tmpdir option if needed.
Don't add JAVA_OPTIONS to the module file if there are no java_options.
Comment thread easybuild/easyblocks/m/matlab.py Outdated
Comment thread easybuild/easyblocks/m/matlab.py Outdated
@boegel boegel added this to the 3.8.1 milestone Dec 20, 2018
Comment thread easybuild/easyblocks/m/matlab.py Outdated
Copy link
Copy Markdown
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akesandgren Fails because of missing import tempfile:

  File "/tmp/eb-FDSg1Q/included-easyblocks/easybuild/easyblocks/matlab.py", line 132, in install_step
    tmpdir = "-tmpdir %s" % tempfile.mkdtemp()
NameError: global name 'tempfile' is not defined

How did this ever work in your tests? ;)

@boegel boegel changed the title Handle multiple installation keys for matlab. Handle multiple installation keys for MATLAB Jan 13, 2019
@boegel
Copy link
Copy Markdown
Member

boegel commented Jan 13, 2019

lgtm, tested, so good to go, thanks @akesandgren!

@boegel boegel merged commit c7d77a6 into easybuilders:develop Jan 13, 2019
@akesandgren akesandgren deleted the handle-multiple-installation-keys-for-matlab branch January 14, 2019 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants