[Date Index] [Thread Index] [Author Index]
Confused about Export on a remote kernel
I'm stumped by this one. I'm running a Mathematica frontend on my laptop connected to a MathKernel on a server. I create a plot and use Export["plot1.pdf", g1] to create a PDF of the graphics g1. If I ssh into the server the exported graphics is there. A bit later, with a new graphics, I run Export["plot2.pdf", g2] and no sign of the plot. But if instead I type Export["/tmp/plot2.pdf", g2] the plot shows on /tmp of my laptop, not the server. The In and Out labels still say that it was the server kernel that executed the command (as indicated by the label in the Evaluator option of the Notebook). Executing Run[ "ls -1 > /tmp/listing"]; FilePrint["/tmp/listing"] I still get a listing of my home directory on the server and there is a lingering /tmp/listing file on the server. Shouldn't Export run on the server and save its output to the server's filesystem? I'm still on Mathematica 8.0.4 for Mac on the laptop and the server is at 8.0.4 for Linux. Any ideas how I debug this?