[7694] in Release_7.7_team

home help back first fref pref prev next nref lref last post

Re: 32-bit apps

daemon@ATHENA.MIT.EDU (Anders Kaseorg)
Wed Jan 4 19:33:20 2012

Date: Wed, 4 Jan 2012 19:33:15 -0500 (EST)
From: Anders Kaseorg <andersk@MIT.EDU>
To: Alex T Prengel <alexp@MIT.EDU>
cc: Geoffrey Thomas <geofft@MIT.EDU>, release-team@MIT.EDU
In-Reply-To: <1325718363.16616.17.camel@dit>
Message-ID: <alpine.DEB.2.02.1201041841420.21244@dr-wily.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=UTF-8
Content-Transfer-Encoding: 8bit

On Wed, 4 Jan 2012, Alex T Prengel wrote:
> Well, a situation just came up a couple of weeks ago where a student
> ybirdja needed to install a Matlab add-on called FluidProp that only
> comes with 32 bit libs (and won't work on 64 bit machines). It installs
> in your home dir, not in the locker, so it doesn't affect anyone else
> that I know of. I told him to try linerva and I think it worked there...

The 32-bit version of Matlab seems to run fine on athena.dialup:

  echo export MATLAB_ARCH=glnx86 > ~/.matlab7rc.sh
  echo export MATLAB_JAVA=/mit/java/current/distrib/i386_ubuntu1004/jre >> ~/.matlab7rc.sh
  cat /mit/matlab/current/distrib/bin/.matlab7rc.sh >> ~/.matlab7rc.sh
  matlab

(MATLAB_ARCH can be set as an environment variable on the command line 
instead of ~/.matlab7rc.sh.  So could MATLAB_JAVA if you didn’t 
unconditionally overwrite it in /mit/matlab/current/distrib/bin/matlab.)

> The other case I can recall is that the Maple "traditional" graphical
> interface ("add maple; maple" launches it)  is only available for 32 bit
> machines. I have no idea if anyone would care if there weren't any more
> machines to run it on...

Have you tried running the 32-bit version on a 64-bit machine?

  maple -binary IBM_INTEL_LINUX

I can’t get it to run on either linerva or athena.dialup over X 
forwarding, but in both cases it gets as far as spewing an X error to 
/dev/null, which according to strace looks like

X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  54
  Current serial number in output stream:  55

So presumably it might work if I had the right fonts installed.

Anders


home help back first fref pref prev next nref lref last post