# How to install a mathlink executable on a remote platform running a different OS? [closed]

I have a local machine running MacOS (four 64-bit CPU cores), and a remote machine running Linux (two 32-bit CPU cores), and I can install and run commands from the respective (architecture-dependent) MathLink C executable on each machine separately. Is it possible to parallelize a computation that uses the native MathLink executable on each machine, from a single Mma evaluation on one machine?

Having set up remote kernels in the preferences, I am able to confirm remote functionality using

LaunchKernels[];
ParallelEvaluate[$MachineName]  {"mac", "mac", "mac", "mac", "linux", "linux"}  I thought this might work: kernels=Kernels[]; (* first four are local machine, last two are remote machine *) (* Install local executable on local kernels *) ParallelEvaluate[Install["path to local MathLink executable"], kernels[[1;;4]]]; (* Install remote executable on remote kernels *) ParallelEvaluate[Install["path to remote MathLink executable"], kernels[[5;;6]]]  but the 2nd evaluation returns LinkOpen::linke: Could not find MathLink executable. LinkOpen::linke: Could not find MathLink executable. {$Failed, \$Failed}


I also tried copying the remote executable to the local machine, and used that path for the remote kernel ParallelEvaluate call. The evaluation simply hangs in this case.

-
 Which method is used to launch the remote Linux kernels (Lightweight Grid, Cluster Integration or Remote Kernels)? – sakra Apr 4 '12 at 20:12 @sakra Remote Kernels – JxB Apr 5 '12 at 4:22 Double check that the path to remote MathLink program is executable for the SSH user that is used to login to the remote Linux machine. – sakra Apr 5 '12 at 8:09 I am voting to close this one as TL since it should work if the paths are correct, but it is not clear what paths have been entered here. – Oleksandr R. Mar 27 at 8:54

## closed as too localized by Oleksandr R., whuber, m_goldberg, rm -rf♦Mar 28 at 5:25

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.