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


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

Confused about Export on a remote kernel

Started byExportConfused <rm3@ips.edu>
First post2012-12-20 08:19 +0000
Last post2012-12-21 10:37 +0000
Articles 2 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  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

#12896 — Confused about Export on a remote kernel

FromExportConfused <rm3@ips.edu>
Date2012-12-20 08:19 +0000
SubjectConfused about Export on a remote kernel
Message-ID<kauhma$iqe$1@smc.vnet.net>
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?

[toc] | [next] | [standalone]


#12908

FromExportConfused <rm3@ips.edu>
Date2012-12-21 10:37 +0000
Message-ID<kb1e5n$ouk$1@smc.vnet.net>
In reply to#12896
Some extra information: 

*  I have not been able to reproduce the Export working, so I must have done something else to get the file to show up in the directory system (maybe I ran it local once?).  

* Export of graphics does not seem to work without the FrontEnd.  A quick search on mathematica.stackexchange.com shows several threads on the topic.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web