[opensuse] 32b compiled program not running in 64x environment - open SuSE 10.2
Hi, I have open SuSE 10.2 32 and 64 bit installed on the same machine. I compile a small matlab example under 32b (either by booting 32b linux or -m32 compiler flag) and run under 32 and 64 bit linux. The code compiles under both environments. However, the code runs normally under 32b linux, but the 64b linux runtime causes an error condition and the sample code exits. I have the 32 bit environment loaded under the 64b installation. Yet, there is a subtle difference which is causing this problem. I've checked the shared libs used in each case and they are identical. I cannot figure out what is causing this issue? Any help is greatly appreciated! Vahe ____________________________________________________________________________________Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007-08-29 15:31:01 -0700, Vahe Avedissian wrote:
I have open SuSE 10.2 32 and 64 bit installed on the same machine.
I compile a small matlab example under 32b (either by booting 32b linux or -m32 compiler flag) and run under 32 and 64 bit linux. The code compiles under both environments.
However, the code runs normally under 32b linux, but the 64b linux runtime causes an error condition and the sample code exits.
I have the 32 bit environment loaded under the 64b installation. Yet, there is a subtle difference which is causing this problem.
I've checked the shared libs used in each case and they are identical. I cannot figure out what is causing this issue?
Any help is greatly appreciated!
can you add the error message please. my crystal ball is overheated. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Aug 30 2007 00:38, Marcus Rueckert wrote:
On 2007-08-29 15:31:01 -0700, Vahe Avedissian wrote:
I have open SuSE 10.2 32 and 64 bit installed on the same machine.
I compile a small matlab example under 32b (either by booting 32b linux or -m32 compiler flag) and run under 32 and 64 bit linux. The code compiles under both environments.
However, the code runs normally under 32b linux, but the 64b linux runtime causes an error condition and the sample code exits.
I have the 32 bit environment loaded under the 64b installation. Yet, there is a subtle difference which is causing this problem.
I've checked the shared libs used in each case and they are identical. I cannot figure out what is causing this issue?
Any help is greatly appreciated!
can you add the error message please. my crystal ball is overheated.
Diamonds can hold until about 3500 deg celsius. I doubt it overheated. Jan -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jan Engelhardt wrote:
On Aug 30 2007 00:38, Marcus Rueckert wrote:
can you add the error message please. my crystal ball is overheated.
Diamonds can hold until about 3500 deg celsius. I doubt it overheated.
http://www.cartoonistgroup.com/store/add.php?iid=7015 -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 30 August 2007 00:31, Vahe Avedissian wrote: ...
I have open SuSE 10.2 32 and 64 bit installed on the same machine.
I compile a small matlab example under 32b (either by booting 32b linux or -m32 compiler flag) and run under 32 and 64 bit linux. The code compiles under both environments.
However, the code runs normally under 32b linux, but the 64b linux runtime causes an error condition and the sample code exits.
As a workaround, you can install and run the 32-bit version of Matlab under 64-bit openSUSE. On our servers, we put the 32-bit version into /lw/matlab/7.4 and the 64-bit one into /lw64/matlab/7.4. The command that simulates the 32-bit environment under 64-bit linux is "linux32": $ /lw64/matlab/7.4/bin/matlab # start 64-bit matlab $ linux32 /lw/matlab/7.4/bin/matlab # start 32-bit matlab To install the 32-bit version of Matlab, run "linux32 install". If I remember it right, several Matlab toolboxes were available for the 32-bit version only some time ago. In other words, they were 32-bit and didn't run under the 64-bit Matlab---just as your code. Mathworks may tell you more. -- A.M. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Alexandr Malusek
-
James Knott
-
Jan Engelhardt
-
Marcus Rueckert
-
Vahe Avedissian