|
Rich N <richnicholson@gmail.com> wrote:
> I've been trying to diagnose a startup problem for someone who has
> recently installed MATLAB - we've set up the MLM_LICENSE_FILE
> environment variable to point at the correct FLEXlm servers, but he
> has installed some other software which also uses FLEXlm and is
> pointing at a different server, which is defined in the
> LM_LICENSE_FILE variable.
>
> MATLAB currently fails to start as it is using LM_LICENSE_FILE, is
> there any way that I can tell it to use MLM_LICENSE_FILE in
> preference?
>
The license adminsitration guide doesn't specify an order of precedence for
LM_LICENSE_FILE and VENDOR_LICENSE_FILE, but I guess you have worked one
out, and it isn't the direction you like.
The best I can think of is to append the contents of MLM_LICENSE_FILE to
the existing LM_LICENSE_FILE. Flexlm has no problem with multiple paths to
license files.
As an alternative, you could perhaps hack the registry entry
HKEY_LOCAL_MACHINE\Software\FLEXlm License Manager> under Windows,
or the $HOME/.flexlmrc file under UNIX.
Or, you could create a license file for MATLAB, and place it in their
$MATLABROOT/etc folder, or whereever the Windows equivalent is.
--
Dr Tristram J. Scott
Energy Consultant
|