Dear Kenneth, Thanks for the suggestion of poking about in /tmp. I found a file
/tmp/mathworks_build.log which contains the more plausible error (Jun 10, 2021 09:42:25) Not a valid key for this release I'll check whether I need to update the key. Cheers, Loris Kenneth Hoste <[email protected]> writes: > Dear Loris, > > The actual error could be something totally different, the MATLAB installer > doesn't exactly shine in error reporting... > > I think you can trace down the actual error message in a temporary directory > that is created by the MATLAB installer somewhere. > > Can you find anything in /tmp, possibly in a subdirectory that starts with > "eb-" > (the one that is mentioned in the EasyBuild log file)? > > > regards, > > Kenneth > > On 09/06/2021 10:03, Loris Bennett wrote: >> Hi, >> >> Having got hold of the ISOs I now find that >> >> MATLAB-2021a.eb >> >> fails with >> >> == 2021-06-09 09:12:16,577 run.py:226 INFO running cmd: export >> _JAVA_OPTIONS="-Xmx2048m" && >> /trinity/shared/easybuild/build/MATLAB/2021a/system-system/install >> -inputFile >> /trinity/shared/easybuild/build/MATLAB/2021a/system-system/my_installer_input.txt >> == 2021-06-09 09:12:23,157 build_log.py:169 ERROR EasyBuild crashed with >> an error (at >> easybuild/software/EasyBuild/4.4.0/lib/python2.7/site-packages/easybuild/base/exceptions.py:124 >> in __init__): cmd "export _JAVA_OPTIONS="-Xmx2048m" && >> /trinity/shared/easybuild/build/MATLAB/2021a/system-system/install >> -inputFile >> /trinity/shared/easybuild/build/MATLAB/2021a/system-system/my_installer_input.txt >> " exited with exit code 1 and output: >> Picked up _JAVA_OPTIONS: -Xmx2048m >> (at >> easybuild/software/EasyBuild/4.4.0/lib/python2.7/site-packages/easybuild/tools/run.py:565 >> in parse_cmd_output) >> == 2021-06-09 09:12:23,159 filetools.py:1876 INFO Removing lock >> /trinity/shared/easybuild/software/.locks/_trinity_shared_easybuild_software_MATLAB_2021a.lock... >> == 2021-06-09 09:12:23,160 filetools.py:358 INFO Path >> /trinity/shared/easybuild/software/.locks/_trinity_shared_easybuild_software_MATLAB_2021a.lock >> successfully removed. >> == 2021-06-09 09:12:23,161 filetools.py:1880 INFO Lock removed: >> /trinity/shared/easybuild/software/.locks/_trinity_shared_easybuild_software_MATLAB_2021a.lock >> == 2021-06-09 09:12:23,161 easyblock.py:3643 WARNING build failed (first >> 300 chars): cmd "export _JAVA_OPTIONS="-Xmx2048m" && >> /trinity/shared/easybuild/build/MATLAB/2021a/system-system/install >> -inputFile >> /trinity/shared/easybuild/build/MATLAB/2021a/system-system/my_installer_input.txt >> " exited with exit code 1 and output: >> Picked up _JAVA_OPTIONS: -Xmx2048m >> >> The EC contains >> >> java_options = '-Xmx2048m' >> >> If I overwrite this in a hook with >> >> self.cfg['java_options'] = '-Xmx256m' >> >> which is the default value, the build fails in the same way but with >> >> Picked up _JAVA_OPTIONS: -Xmx256m >> >> What am I doing wrong? >> >> Cheers, >> >> Loris >> > -- Dr. Loris Bennett (Hr./Mr.) ZEDAT, Freie Universität Berlin Email [email protected]

