* Matlab and Alpha Linux ?
@ 2001-11-07 15:41 Tomcat
2001-11-07 16:59 ` Robert M. Riches Jr.
2001-11-08 10:26 ` Måns Rullgård
0 siblings, 2 replies; 8+ messages in thread
From: Tomcat @ 2001-11-07 15:41 UTC (permalink / raw)
Hi,
i'm running Red Hat 6.2 on a Compaq DS10 (21264 Processor, EV6 466) and i
needed Matlab. I found some doc online explaining how to modify the Matlab
scripts to make them launch the DEC/Unix version. It worked fine but i just
modified an existing installed application, shared over a NFS system. This
version is a 5.2 ; i had to copy the /sbin/loader file from a Dec/Unix
machine, change some "case Linux)" in the scripts and here you go.
Now i just installed RedHat 7.1 on a brand new DS10 and on an older XP900.
I have the new version of Matlab (R12 or 6, as you like) and i tried to
install it on the DS10 (EV67 600). I had to modify the uname utility so as
it now says 'OSF1' when invoked. And the installation script launched. I
have a valid license file but after the license step, the installation
crashes, saying 'cannot stat /usr/local/matlab' or any other destination dir
that i chose.
Anyway, the same method as i used for the 6.2 does not work with Red Hat 7.1
: Matlab launches but the program prompt never comes up. The software just
displays the start screen until i kill the whole thing.
Has anybody encountered the problem, or been able to install and run Matlab
5.2 or 6 on an alpha linux box ? I really need it and would like to upgrade
my old 6.2 system, too... but i wont do it as long as Matlab does not work
:/
Any help appreciated, thx !
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Matlab and Alpha Linux ?
2001-11-07 15:41 Matlab and Alpha Linux ? Tomcat
@ 2001-11-07 16:59 ` Robert M. Riches Jr.
2001-11-07 17:08 ` Tomcat
2001-11-07 17:23 ` Tomcat
2001-11-08 10:26 ` Måns Rullgård
1 sibling, 2 replies; 8+ messages in thread
From: Robert M. Riches Jr. @ 2001-11-07 16:59 UTC (permalink / raw)
On Wed, 7 Nov 2001 16:41:01 +0100, Tomcat <tomcat@racedriver.com> wrote:
>Hi,
>
>i'm running Red Hat 6.2 on a Compaq DS10 (21264 Processor, EV6 466) and i
>needed Matlab. I found some doc online explaining how to modify the Matlab
>scripts to make them launch the DEC/Unix version. It worked fine but i just
>modified an existing installed application, shared over a NFS system. This
>version is a 5.2 ; i had to copy the /sbin/loader file from a Dec/Unix
>machine, change some "case Linux)" in the scripts and here you go.
>
>Now i just installed RedHat 7.1 on a brand new DS10 and on an older XP900.
>I have the new version of Matlab (R12 or 6, as you like) and i tried to
>install it on the DS10 (EV67 600). I had to modify the uname utility so as
>it now says 'OSF1' when invoked. And the installation script launched. I
>have a valid license file but after the license step, the installation
>crashes, saying 'cannot stat /usr/local/matlab' or any other destination dir
>that i chose.
>
>Anyway, the same method as i used for the 6.2 does not work with Red Hat 7.1
>: Matlab launches but the program prompt never comes up. The software just
>displays the start screen until i kill the whole thing.
>
>Has anybody encountered the problem, or been able to install and run Matlab
>5.2 or 6 on an alpha linux box ? I really need it and would like to upgrade
>my old 6.2 system, too... but i wont do it as long as Matlab does not work
When running OSF/Tru64/DU stuff on Linux, one thing is to make
sure you make a symlink from /usr/bin/sh to /bin/sh. The RH7.1
(and 7.0 and perhaps before, IIRC) Netscape has hardcoded
/usr/bin/sh when calling an application such as RealPlayer or
Acroread. I suggested the symlink be added to the RPM to make
this automagic.
Robert Riches
richesr1@inetarena.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Matlab and Alpha Linux ?
2001-11-07 16:59 ` Robert M. Riches Jr.
@ 2001-11-07 17:08 ` Tomcat
2001-11-07 17:23 ` Tomcat
1 sibling, 0 replies; 8+ messages in thread
From: Tomcat @ 2001-11-07 17:08 UTC (permalink / raw)
> When running OSF/Tru64/DU stuff on Linux, one thing is to make
> sure you make a symlink from /usr/bin/sh to /bin/sh.
i'm going to try it, thx for the answer :)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Matlab and Alpha Linux ?
2001-11-07 16:59 ` Robert M. Riches Jr.
2001-11-07 17:08 ` Tomcat
@ 2001-11-07 17:23 ` Tomcat
2001-11-08 3:55 ` HH
1 sibling, 1 reply; 8+ messages in thread
From: Tomcat @ 2001-11-07 17:23 UTC (permalink / raw)
The symlink was indeed lacking but that does not appear to be the problem.
I did not edit/modify the install script but there seems to be a bad use of
/bin/sh...
This is what i get :
+++++
Welcome to the MATLAB R12 installer.
(c) Copyright 1984-2000 by The MathWorks, Inc.
(508) 647-7000
Enter the MATLAB root directory > [/mnt/cdrom] /usr/local/matlab
ioctl: SIOCGIFCONF: Invalid argument
------------------------------INSTALLATION-----------------------------
-----------------------------Base Products-----------------------------
1)* FLEXlm
--------------------------------Platforms------------------------------
2) Solaris 3) SGI 4) HP-700
5) HP-UX 6) IBM/AIX 7)* Alpha
8) Linux
--------------------------------Products------------------------------
.
.
.
Do you want to create symbolic links to $MATLAB/bin scripts ? ([y]/n)
Enter the location for the links to $MATLAB/bin directory > [/usr/local/bin]
Begin Installation ? ([y]/n)
Stat of directory "%s" failed.
Help not available for %d
++++
I do not have too much time for script modification now, so if somebody had
an idea about the interpretation of %s by sh... Thx in advance !
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Matlab and Alpha Linux ?
2001-11-07 17:23 ` Tomcat
@ 2001-11-08 3:55 ` HH
0 siblings, 0 replies; 8+ messages in thread
From: HH @ 2001-11-08 3:55 UTC (permalink / raw)
"Tomcat" <tomcat@racedriver.com> wrote in message news:<3be96df2$0$21079$ba620e4c@news.skynet.be>...
> The symlink was indeed lacking but that does not appear to be the problem.
> I did not edit/modify the install script but there seems to be a bad use of
> /bin/sh...
>
> This is what i get :
>
> +++++
>
> Welcome to the MATLAB R12 installer.
> (c) Copyright 1984-2000 by The MathWorks, Inc.
> (508) 647-7000
>
> Enter the MATLAB root directory > [/mnt/cdrom] /usr/local/matlab
> ioctl: SIOCGIFCONF: Invalid argument
>
> ------------------------------INSTALLATION-----------------------------
> -----------------------------Base Products-----------------------------
> 1)* FLEXlm
> --------------------------------Platforms------------------------------
> 2) Solaris 3) SGI 4) HP-700
> 5) HP-UX 6) IBM/AIX 7)* Alpha
> 8) Linux
> --------------------------------Products------------------------------
> .
> .
> .
> Do you want to create symbolic links to $MATLAB/bin scripts ? ([y]/n)
> Enter the location for the links to $MATLAB/bin directory > [/usr/local/bin]
> Begin Installation ? ([y]/n)
>
> Stat of directory "%s" failed.
>
>
> Help not available for %d
>
> ++++
>
> I do not have too much time for script modification now, so if somebody had
> an idea about the interpretation of %s by sh... Thx in advance !
This may not be the information you are looking for, but Wolfram
(makers of Mathmatica) have an Alpha-Linux native version of
Mathmatica. Again, may not be an option in your case.
Harry
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Matlab and Alpha Linux ?
2001-11-07 15:41 Matlab and Alpha Linux ? Tomcat
2001-11-07 16:59 ` Robert M. Riches Jr.
@ 2001-11-08 10:26 ` Måns Rullgård
2001-11-14 4:52 ` Pierre Asselin
1 sibling, 1 reply; 8+ messages in thread
From: Måns Rullgård @ 2001-11-08 10:26 UTC (permalink / raw)
"Tomcat" <tomcat@racedriver.com> writes:
> Has anybody encountered the problem, or been able to install and run Matlab
> 5.2 or 6 on an alpha linux box ? I really need it and would like to upgrade
> my old 6.2 system, too... but i wont do it as long as Matlab does not work
> :/
I tried to get matlab 5.3 running on my alpha. The problem was the
license server would not start since it could not get the hostid of
the system. The hostid is the mac-address of the ethernet card, but it
somehow failed to get it. strace shows it is doing some unrecognized
ioctls on a socket. I modified the kernel (net/core.c) to accept these
ioctls as aliases for the normal linux equivalents, but it still
doesn't work. If anyone has succesfully run the matlab license server
on alphalinux I would like to know how to do it.
As for matlab 6 it is probably difficult since it uses pthreads and
the osf and linux implementations differ considerably.
--
M�ns Rullg�rd
e99_mru@e.kth.se
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Matlab and Alpha Linux ?
2001-11-08 10:26 ` Måns Rullgård
@ 2001-11-14 4:52 ` Pierre Asselin
2001-11-14 8:58 ` Måns Rullgård
0 siblings, 1 reply; 8+ messages in thread
From: Pierre Asselin @ 2001-11-14 4:52 UTC (permalink / raw)
mru@users.sf.net (=?iso-8859-1?q?M=E5ns_Rullg=E5rd?=) writes:
>"Tomcat" <tomcat@racedriver.com> writes:
>> Has anybody encountered the problem, or been able to install and run Matlab
>> 5.2 or 6 on an alpha linux box ? I really need it and would like to upgrade
>> my old 6.2 system, too... but i wont do it as long as Matlab does not work
>> :/
>I tried to get matlab 5.3 running on my alpha. The problem was the
>license server would not start since it could not get the hostid of
>the system. The hostid is the mac-address of the ethernet card, but it
>somehow failed to get it. strace shows it is doing some unrecognized
>ioctls on a socket. I modified the kernel (net/core.c) to accept these
>ioctls as aliases for the normal linux equivalents, but it still
>doesn't work. If anyone has succesfully run the matlab license server
>on alphalinux I would like to know how to do it.
Hmmm, that sounds like what I had to do 2 years ago to convince
flexlm that I really had a licence. I implemented the DEC ioctl
SIOCRPHYSADDR. In my case, the affected files were include/linux/sockios.h
and net/ipv4/af_inet.c .
I can email you a patch if you think it'll help, but keep in mind that
was two years ago, off of kernel 2.2.11 . I have not propagated the
patch to more recent kernels.
>As for matlab 6 it is probably difficult since it uses pthreads and
>the osf and linux implementations differ considerably.
--
Pierre Asselin
Westminster, Colorado
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Matlab and Alpha Linux ?
2001-11-14 4:52 ` Pierre Asselin
@ 2001-11-14 8:58 ` Måns Rullgård
0 siblings, 0 replies; 8+ messages in thread
From: Måns Rullgård @ 2001-11-14 8:58 UTC (permalink / raw)
lpa@cutter.rexx.com (Pierre Asselin) writes:
> mru@users.sf.net (=?iso-8859-1?q?M=E5ns_Rullg=E5rd?=) writes:
> >I tried to get matlab 5.3 running on my alpha. The problem was the
> >license server would not start since it could not get the hostid of
> >the system. The hostid is the mac-address of the ethernet card, but it
> >somehow failed to get it. strace shows it is doing some unrecognized
> >ioctls on a socket. I modified the kernel (net/core.c) to accept these
> >ioctls as aliases for the normal linux equivalents, but it still
> >doesn't work. If anyone has succesfully run the matlab license server
> >on alphalinux I would like to know how to do it.
>
> Hmmm, that sounds like what I had to do 2 years ago to convince
> flexlm that I really had a licence. I implemented the DEC ioctl
> SIOCRPHYSADDR. In my case, the affected files were include/linux/sockios.h
> and net/ipv4/af_inet.c .
>
> I can email you a patch if you think it'll help, but keep in mind that
> was two years ago, off of kernel 2.2.11 . I have not propagated the
> patch to more recent kernels.
I'd appreciate that, thanks.
--
M�ns Rullg�rd
e99_mru@e.kth.se
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2001-11-14 8:58 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-07 15:41 Matlab and Alpha Linux ? Tomcat
2001-11-07 16:59 ` Robert M. Riches Jr.
2001-11-07 17:08 ` Tomcat
2001-11-07 17:23 ` Tomcat
2001-11-08 3:55 ` HH
2001-11-08 10:26 ` Måns Rullgård
2001-11-14 4:52 ` Pierre Asselin
2001-11-14 8:58 ` Måns Rullgård
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox