Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5093
| From | Andrew <haines42@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Parallel remote kernel: MathLink connection not active |
| Date | 2011-09-20 10:14 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j59p2v$qv$1@smc.vnet.net> (permalink) |
Hi all I'm struggling to set up parallel remote kernels, and searching around it seems that I am not alone but I could not find a solution. In my case, both client and server are running Windows; the server is running CopSSH and I have successfully set up a single remote kernel using mathssh: java -jar "`mathssh`" user@server "math -mathlink -LinkMode Connect - LinkProtocol TCPIP -LinkName `linkname` -LinkHost x.x.x.x" where x.x.x.x is the client's IP. I can set a notebook to use this remote kernel, and executing $MachineName gives the name of the server, so everything is working as expected. However, I can't seem to get the same to work for parallel kernels. I have pretty much just copied the configuration across and tweaked the replacements: java -jar "C:\Program Files\Wolfram \ Research\Mathematica\8.0\SystemFiles\Java\WolframSSH.jar" user@`1` "math -mathlink -LinkMode Connect -LinkProtocol TCPIP -LinkName `2` - LinkHost x.x.x.x -subkernel -noinit >& /dev/null &" However, when it fires up, the server kernel spits out the error LinkConnect::linkc: LinkObject[55512@x.x.x.x,55513@x.x.x.x, 1, 1] which "is generated by an attempt to access a MathLink connection that is not active". Any ideas?
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Parallel remote kernel: MathLink connection not active Andrew <haines42@gmail.com> - 2011-09-20 10:14 +0000 Re: Parallel remote kernel: MathLink connection not active Sebastian Hofer <sebhofer@gmail.com> - 2011-09-21 09:32 +0000 Re: Parallel remote kernel: MathLink connection not active "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-09-21 09:37 +0000
csiph-web