3

I have a machine capable of running Mathematica on 24 cores which I would like to take advantage of :) The only problem is that this is a remote machine to which I cannot connect directly, I have to pass through a front-end machine first.

My computer (A) can connect to (B) and (B) can ssh to (C), which is the powerful machine, but my computer connect directly to (C).

Any suggestions how I could make this connection?

m_goldberg
  • 107,779
  • 16
  • 103
  • 257
Rho Phi
  • 1,420
  • 11
  • 21
  • It can be done using "ssh tunneling", which allows mapping some ports of C to B. The "remote kernel strategies" package by Sascha Kratky makes this easier. This should get you started, but I expect the process to be messy. Unfortunately I don't have the time to figure out a complete working answer, it would take quite bit of work and experimenting, just too much time. – Szabolcs Jan 26 '15 at 16:52
  • See also http://mathematica.stackexchange.com/q/11682/12 – Szabolcs Jan 26 '15 at 16:53
  • opening a tunnel on machine B sounds like a good strategy. I'll work on that and we will see how far I get ... – Rho Phi Jan 26 '15 at 17:20
  • I am terribly bad writer. my issue has only in part to do with (C) being hidden to (A). I realized that tunneling does not help because (B) access to (C) by submitting a job to an interactive LSF queue ... not quite the same as ssh tunnel. In any case I can open a MathKerel running on (C) with a ssh command issued on (A). I guess this is all that matters ... the question now is hot make Mathematica FrontEnd on (A) work with this MathKernel from (C) – Rho Phi Jan 26 '15 at 17:38
  • Take a look at sakra's comment here as well, it links to a newer version of the package. What it does is precisely let you connect the front end on A to the kernel on C. The reason why I couldn't use it at the time when I asked the question was that my front end (version 8) kept locking up on a 32-bit Windows XP. Supposedly this problem should be gone in newer 64-bit versions but I never tried it. I always felt that it was just too much trouble. What I do instead is run non-interactively on the fast computer, ... – Szabolcs Jan 26 '15 at 17:44
  • ... save the results, and send them back for plotting. – Szabolcs Jan 26 '15 at 17:46
  • @RobertoFranceschini Please move your comments to the question body :) – Kuba Dec 16 '15 at 07:50

0 Answers0