Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12896

Confused about Export on a remote kernel

From ExportConfused <rm3@ips.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Confused about Export on a remote kernel
Date 2012-12-20 08:19 +0000
Message-ID <kauhma$iqe$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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?

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Confused about Export on a remote kernel ExportConfused <rm3@ips.edu> - 2012-12-20 08:19 +0000
  Re: Confused about Export on a remote kernel ExportConfused <rm3@ips.edu> - 2012-12-21 10:37 +0000

csiph-web