From: Robert F. <rjf...@as...> - 2017-03-17 23:00:40
|
When i run things on a cluster i usually get this error message (probably from leaving the win_flags=.true.) PGPLOT /xw: cannot connect to X server [] PGPLOT /xw: cannot connect to X server [] but file saving still runs fine, I think as along as X is running you'll be okay. This is without me doing anything special, though maybe the sysadmins configured things differently. Rob On Fri, Mar 17, 2017 at 3:55 PM, RICHARD H D TOWNSEND < tow...@as...> wrote: > I wonder if pgplot will still try to create a remote X session when you > start up, even if no windows are opened. > > If this occurs, you can make the X session local to the (remote) server by > setting the DISPLAY environment variable to localhost:0.0 > > But you’ll need appropriate permissions to access the X server, and may > have to play with xhost and/or .Xauthority files. It’s a bit messy. > > cheers, > > Rich > > > On Mar 17, 2017, at 3:51 PM, Robert Farmer <rjf...@as...> wrote: > > > > Hi > > All the pgplots have the option to save a png with the _file_ flags, for > instance for the abundance plots: > > > > Abundance_file_flag = .true. > > Abundance_file_dir = 'png' > > Abundance_file_prefix = 'abund_' > > Abundance_file_interval = 5 ! output when > mod(model_number,Abundance_file_interval)==0 > > > > writes an abundance plot to file every 5 steps to a folder called png > > > > The options > > > > file_device = 'png' > > file_extension = 'png' > > > > can be used to output either png or ps (for postscript files). > > > > Rob > > > > > > > > On Fri, Mar 17, 2017 at 3:42 PM, Martin C. <mar...@gm...> wrote: > > Hi all, > > > > I'm running MESA on a remote server. I'd like to run PGPLOT so I can > output png files so that I can later make videos from them. > > > > I can use > > ssh -Y ... > > but that forces me to stream the plots to my local computer which I > don't want. > > So how can I run PGLOT remotely only. > > Any tips? > > > > thanks, > > > > Martin > > -- > > Martin C. > > > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > _______________________________________________ > > mesa-users mailing list > > mes...@li... > > https://lists.sourceforge.net/lists/listinfo/mesa-users > > > > > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot______ > _________________________________________ > > mesa-users mailing list > > mes...@li... > > https://lists.sourceforge.net/lists/listinfo/mesa-users > > |