Matlab on FreeBSD 5.3
cali
calculus at softhome.net
Sun Feb 27 20:02:47 GMT 2005
I just got it to work, thanks to the encouragement of Santo Natale.
One thing is the architechture, to fix this you can edit the matlab binary,
which is actually a script
gvim /usr/local/bin/matlab
or whatever
if you read down you will see some stuff about
ARCH_LIST
go down below the fucntion check_archlist and at the bottom of it you will
see two conditionals that say:
ARCH=""
change these to
ARCH="glnx86"
or whatever your architechture is (it might be that you only need to change
one, but this isn't important)
Then another thing to make sure is that your hostname is set the same as the
SERVER line
in your matlab license manager file so if my hostname was "dork", then it
would say
SERVER dork ID=XXX
where you replace XXX with your user ID
you also have to make sure that you setup your options file properly in your
license file
you should have a line like:
DAEMON MLM /compat/linux/usr/local/matlab/etc/lm_matlab
options=/compat/linux/usr/local/matlab/etc/MLM.opt
and in MLM.opt it needs to say:
INCLUDE MATLAB USER blah
where blah is your user, note that I'm assuming you have a standalone
license
make sure you leave a blank line after the INCLUDE line, I know, sounds dumb
but otherwise it doesn't work.
then you just start the flexlm (not as root)
/usr/local/etc/rc.d/flexlm.sh start
and then start matlab underthe user you were configured for
matlab
and it should work... well I only just got it working so hopefully
everything works.
thanks
cali
More information about the freebsd-questions
mailing list