On 3/12/19 1:25 PM, Loris Bennett wrote:
> This is not for MDCS - we don't have that.  This is also the setup we
> had working on our previous cluster, but where we didn't use Easybuild.
> 
>> If you install matlab using
>> env LM_LICENSE_FILE=port@host eb MATLAB...eb then the LM_LICENSE_FILE is
>> at least supposed to be written into the module file automatically. If
>> it isn't then let us know.
> 
> This works.

Good.

>> As far as i know there is no reason to set MATLABROOT or MCR_HOME (not
>> even sure what the last one is supposed to do...).
> 
> These are settings which are required for running MATLAB scripts which
> have been compiled with the MATLAB compiler
> 
>> We don't set any of them and things work perfectly as far as our users
>> are concerned.
> 
> Do you use the MATLAB compiler?

I don't use MATLAB at all :-) but we do have users that uses the matlab
compiler. I haven't heard of any problems from them so far.

But if so, I think you should use.
modextravars = {
    'MATLABROOT': '%(installdir)s', # If this is even needed at all...
    'MCR_HOME': '%(installdir)s',
}

And then the modlua/tclfooter thingie as suggested by Stefan.

-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: [email protected]   Phone: +46 90 7866134 Fax: +46 90-580 14
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se

Reply via email to