Date: Sun, 12 Jul 2009 11:53:32 -0400 From: Daniel Underwood <djuatdelta@gmail.com> To: freebsd-questions@freebsd.org Subject: Installing MATLAB: processor is missing the SSE2 instructions Message-ID: <b6c05a470907120853x577a469ej30b8fb8a13fece51@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Trying to install MATLAB (R2008b) according to the directions here: <http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-matlab.html> 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: [daniel@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 [daniel@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b6c05a470907120853x577a469ej30b8fb8a13fece51>