Re: Installing MATLAB: processor is missing the SSE2 instructions

2009-07-12 Thread Daniel Underwood
Upon further investigation, I've learned that I can disregard the sse2 error.

I changed:

expr "`cat /proc/cpuinfo`" : '.* sse2 .*$'

to:

#expr "`cat /proc/cpuinfo`" : '.* sse2 .*$'
echo 1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Installing MATLAB: processor is missing the SSE2 instructions

2009-07-12 Thread Daniel Underwood
Trying to install MATLAB (R2008b) according to the directions here:


Here's what happens when I try to install:

devil # /compat/linux/bin/sh /home/daniel/matlab-install/install
expr: illegal option -- r
usage: expr [-e] expression
/home/daniel/matlab-install/install: line 197: [: -ne: unary operator expected

Error: Your computer processor is missing the SSE2 instructions that
   are required for MATLAB to run correctly.
   For system requirements consult http://www.mathworks.com ...


Ignore, for now, the line 197 error.  The following is an excerpt from
the install script:

instructioncheck() { # check /proc/cpuinfo on glnx86 for
 # correct level of instructions
 # Output the flag location. A zero mean
 # no flag.
case $Arch in
glnx86)
# Example: Be sure that the platform has flag sse2
#  There are many ways to do this.
#  Output the flag location.
expr "`cat /proc/cpuinfo`" : '.* sse2 .*$'
return
;;
*)
;;
esac


This "sse2" flag is not found in /compat/linux/proc/cpuinfo:

[dan...@devil ~]$ cat /compat/linux/proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 7
model name  : Intel(R) Core(TM)2 Duo CPU T7700  @ 2.40GHz
stepping: 10
processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 7
model name  : Intel(R) Core(TM)2 Duo CPU T7700  @ 2.40GHz
stepping: 10
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 b19 b21 mmxext mmx fxsr xmm b26 b27 b28 b29 3dnow
cpu MHz : 2394.02
bogomips: 2394.02
[dan...@devil ~]$

Surely my cpu supports the needed instructions sets for MATLAB,
because I've installed and used this exact MATLAB distribution on this
machine when running Linux.

What exactly is going on here?  How do I fix this problem?

TIA,
Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"