Say, you run Mathematica 5.x locally on a system (Mac OSX 10.4.1 for intel with Rosetta, for instance) where communication between the frontend and MathKernel has problems. You can work around the problem running remotely the local kernel. Here's how:
- create a /sbin/math.sh file with this one line of text
/[path to Mathematica /directory/Mathematica 5.2.app/Contents/MacOS/MathKernel $@
- chmod +x /sbin/math.sh
of course. Of course you have to know how to use the Terminal and some basic unix knowledge.
- ssh-keygen -t rsa
you have to be logged on as the user you use normally (not root)
- Enable remote login in System Preferences - Sharing - this enables sshd
- Start the fronted, go to Kernel, Kernel options, add a new remote kernel using /sbin/math.sh 2&>/dev/null as remote command, localhost as remote host. Define the defaults at your will. Upon launching the kernel you should be asked for the user password, but at last the frontend should communicate normally with the kernel.
Sunday, 11 September 2005
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment