Matlab on FreeBSD 5.3

2005-05-02 Thread Brett Brown
Cali,

What version of MatLab did you have success with? I'm trying to install MatLab 
Student Version 7.0.1 (R14) service pack1 and could really use some help.

brett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Matlab on FreeBSD 5.3

2005-05-02 Thread Albert Shih
 Le 02/05/2005 à 09:46:21-0500, Brett Brown a écrit
 Cali,
 
 What version of MatLab did you have success with? I'm trying to install 
 MatLab Student Version 7.0.1 (R14) service pack1 and could really use some 
 help.
 
I've use (well not me, but my users) matlab-7.0.0 on FreeBSD 5.2.1 without
any problem.

Butyou must (well I do) perform the installation of Matlab on a Linux
box, then you make a copy of the directory from linux-box to freebsd-box.

And you can create a file (like matlab ;-) ) in /usr/local/bin with

#!/bin/sh
/compat/linux/bin/sh /usr/local/matlab/bin/matlab  /dev/null 21

HTH.

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Mon May 2 16:49:34 CEST 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Matlab on FreeBSD 5.3

2005-02-27 Thread cali
I've tried installing Matlab 13 on FBSD5.3 according to the handbook but I 
can't get it to work. This is pretty annoying since it cost a lot of money. 
I was really stupid, in that, I had a years technical support from 
Mathwords, but kind of gave up because their suggestions got me nowhere and 
it was quicker just to use a pirated copy on windows than follow their 
suggestions when really that was the perfect opportunity to continually 
badger them; since I was paying for it they were obliged to respond...

The problem is the license manager as far as I can tell, I can't seem to get 
it to start.

OK, there are a lot of different pieces of information I could post at this 
point, but I'm not sure which are most relevant. So, first of all, I think a 
sensible question I should ask is this:

Has anyone on this list got Matlab 13 (aka 6.5) running on FBSD5.3? If so, 
did you do this by following the instructions in the handbook verbatim, or 
some other way?

thanks
cali 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Matlab on FreeBSD 5.3

2005-02-27 Thread Santo Natale
Hi,
I managed to install matlab 6.5 on a freebsd 5.3, but I can't tell you exactly 
how I
did now, since I have no matlab here.
I remember that I played a bit with scripts regarding the detection of 
architecture ( I
just edited these scripts and forcely set environment variable to i386 or so ) 
and did few
other modifications, but they were quite simple.
You should manage to get it running, however.
hope this gives you one more hope :)
regards,
santo natale

On Sun, Feb 27, 2005 at 11:37:04AM -, cali wrote:
 I've tried installing Matlab 13 on FBSD5.3 according to the handbook but I 
 can't get it to work. This is pretty annoying since it cost a lot of money. 
 I was really stupid, in that, I had a years technical support from 
 Mathwords, but kind of gave up because their suggestions got me nowhere and 
 it was quicker just to use a pirated copy on windows than follow their 
 suggestions when really that was the perfect opportunity to continually 
 badger them; since I was paying for it they were obliged to respond...
 
 The problem is the license manager as far as I can tell, I can't seem to 
 get it to start.
 
 OK, there are a lot of different pieces of information I could post at this 
 point, but I'm not sure which are most relevant. So, first of all, I think 
 a sensible question I should ask is this:
 
 Has anyone on this list got Matlab 13 (aka 6.5) running on FBSD5.3? If so, 
 did you do this by following the instructions in the handbook verbatim, or 
 some other way?
 
 thanks
 
 cali 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Matlab on FreeBSD 5.3

2005-02-27 Thread cali
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 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]