Hi Marcus,
I have checked my matlab installation and I can launch standalone matlab under
both 32 and 64 linux.
The code snippet from Mathworks is:
/*
* Start the MATLAB engine locally by executing the string
* "matlab"
*
* To start the session on a remote host, use the name of
* the host as the string rather than \0
*
* For more complicated cases, use any string with whitespace,
* and that string will be executed literally to start MATLAB
*/
if (!(ep = engOpen("\0"))) {
fprintf(stderr, "\nCan't start MATLAB engine\n");
return EXIT_FAILURE;
}
...
Under 32b linux the program continues and executes sample commands.
Under 64b linux, the return code from engOpen is *not* zero and I get the
can't start matlab engine error.
Thanks again,
Vahe
----- Original Message ----
From: Marcus Rueckert <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, August 29, 2007 3:38:51 PM
Subject: Re: [opensuse] 32b compiled program not running in 64x environment -
open SuSE 10.2
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]