Text archives Help
- From: Chris Butson <butson@sci.utah.edu>
- To: Jeroen Stinstra <jeroen@cvrti.utah.edu>
- Cc: scirun-users@sci.utah.edu
- Subject: Re: [SCIRUN-USERS] matlab interface engine address
- Date: Mon, 25 Apr 2005 13:23:46 -0600
Hi Jeroen. Thanks for the message. Using scirunremote -p 5517 works for
one remote machine running Suse 9.x but does not work on the SGI prism
running Altix (64 bit Redhat). I also noticed that scirunremote tends to
core dump quite a bit on the matlab host:
linux]$ ./scirunremote -p 5517
Loading services, please wait...
---------------------------------------------------------
SCIRun remote server: running
list of available services:
matlabengine(MatlabInterface) version=1.0
rcfile=/suse/home/butsonc/SCIRun/services/matlabengine.rc disabled=0
matlabenginefiletransfer(MatlabInterface) version=1.0
rcfile=/suse/home/butsonc/SCIRun/services/matlabengine.rc disabled=0
---------------------------------------------------------
type 'exit' or 'quit' to quit this program
Thread "service server"(pid 9188) caught signal SIGSEGV at address (nil)
(segmentation violation)
Backtrace:
/suse/home/butsonc/test_SCIRun/sci5/SCIRun/linux/lib/libCore_Thread.so(_ZN6SCIRun6Thread9niceAbortEv+0x18)
[0x400a675c]
/suse/home/butsonc/test_SCIRun/sci5/SCIRun/linux/lib/libCore_Thread.so
[0x400ab222]
/lib/tls/libc.so.6 [0x420277b8]
/usr/lib/libstdc++.so.5(_ZNSsC1ERKSs+0x5c) [0x405f0f4c]
/suse/home/butsonc/test_SCIRun/sci5/SCIRun/linux/lib/libCore_Services.so(_ZN6SCIRun12FileTransfer13close_serviceEv+0x4d)
[0x4015fd31]
/suse/home/butsonc/test_SCIRun/sci5/SCIRun/linux/lib/libCore_Services.so(_ZN6SCIRun13SimpleService7executeEv+0x34a)
[0x4015d5ee]
/suse/home/butsonc/test_SCIRun/sci5/SCIRun/linux/lib/libCore_Services.so(_ZN6SCIRun7Service3runEv+0x11)
[0x401466c9]
/suse/home/butsonc/test_SCIRun/sci5/SCIRun/linux/lib/libCore_Services.so(_ZN6SCIRun12ServiceFrame10runserviceEv+0x1fe)
[0x4015330e]
/suse/home/butsonc/test_SCIRun/sci5/SCIRun/linux/lib/libCore_Services.so(_ZN6SCIRun12ServiceFrame3runEv+0x2d)
[0x4014eecd]
/suse/home/butsonc/test_SCIRun/sci5/SCIRun/linux/lib/libCore_Thread.so(_ZN6SCIRun6Thread8run_bodyEv+0x12)
[0x400a61e2]
/suse/home/butsonc/test_SCIRun/sci5/SCIRun/linux/lib/libCore_Thread.so
[0x400aab44]
/lib/tls/libpthread.so.0 [0x40849484]
/lib/tls/libc.so.6(__clone+0x57) [0x420df147]
1094817792: main (state = running)
1079356208: external service manager (daemon, detached, state = running)
1105476400: service server (detached, state = running)
Abort signalled by pid: 9188
Occured for thread: "service server"
resume(r)/dbx(d)/cvd(c)/kill thread(k)/exit(e)?
The core dumps are triggered by exiting scirun on the remote machine.
Chris
On Mon, 25 Apr 2005, Jeroen Stinstra wrote:
>
Hi Chris,
>
>
I am sorry, for the inconvenience. The rand-matrix.net is an old one,
>
but that should not be the problem.
>
The new engine should make use of the program scirunremote, which is
>
compiled in the same directory as scirun,
>
did you run this program? This program is like a server program which
>
launches Matlab, try to run
>
'scirunremote -p 5517' on your local machine and then try to connect.
>
This program sets up the communication
>
protocol and must be run on the remote machine. The idea behind this is
>
that we do not need any mex code anymore
>
and the program is just run in a virtual shell, hence that is where the
>
program scirunremote is for. This part of the code
>
is still under development but it should work, I hope to extend the
>
code in the future to include the ssl protocol.
>
>
If that does not work could you send me the .rc file then I have a
>
look, I wrote most of the code for the new matlabengine,
>
so it should not be too hard for me to debug that part of the code. I
>
have not been running the engine remotely lately,
>
but any feed back on this would be great.
>
>
regards,
>
>
Jeroen
>
>
>
On Apr 25, 2005, at 1:18 PM, Chris Butson wrote:
>
>
> I'm trying to get MatlabInterface to work using a remote matlab
>
> installation. I began by testing this locally but am having problems.
>
> Specifically, if I run the rand-matrix.net network from
>
> MatlabInterface/nets it works fine if I leave the Matlab Engine Address
>
> and Port fields blank. But if I use 127.0.0.1 in the Address field and
>
> 5517 in the Port field it fails with the following messages:
>
>
>
> ERROR: Matlab: Could not open matlab engine (error=ServiceClient: Could
>
> not connect to service (Connection was refused by remote host))
>
> ERROR: Matlab: Make sure the matlab engine has not been disabled in
>
> $HOME/SCIRun/services/matlabengine.rc
>
> ERROR: Matlab: Check remote address information, or leave all fields
>
> except 'session' blank to connect to local matlab engine
>
> ERROR: Matlab: If using matlab engine on local machine start engine
>
> with
>
> '-eai' option
>
> ERROR: Matlab: Could not open matlab engine
>
>
>
> I modified the matlabengine.rc file to allow connections from any host
>
> in
>
> this domain but still no luck. Any ideas how to work around this?
>
>
>
> Thanks,
>
> Chris
>
>
>
> =======================================================================
>
> ====
>
> == The SCIRun Users mailing list: send email to majordomo@sci.utah.edu
>
> ==
>
> == for more details.
>
> ==
>
> == Please acknowledge use of SCIRun in your papers and reports:
>
> ==
>
> == see http://software.sci.utah.edu/scirun-biopse_citation.bib
>
> ==
>
> =======================================================================
>
> ====
>
>
>
----------------------------------------------------------------
>
Jeroen Stinstra
>
>
University of Utah
>
Nora Eccles Harrison CardioVascular Research and Training Institute
>
Room 207
>
95 South 2000 East
>
Salt Lake City, UT 84112-5000
>
>
e-mail: jeroen@cvrti.utah.edu
>
telephone: 801-587-9508
>
>
===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu ==
== for more details. ==
== Please acknowledge use of SCIRun in your papers and reports: ==
== see
http://software.sci.utah.edu/scirun-biopse_citation.bib ==
===========================================================================
Archive powered by MHonArc 2.6.16.