comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Problems with long IDL background jobs
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Problems with long IDL background jobs [message #37014 is a reply to message #37009] Thu, 06 November 2003 09:11 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Hi

I know this problem too. My solution is to start the session without the
X-Server. If I did only a ssh -C then it works while ssh -XC doesn't.

If you have only a terminal connection then nothing which requires X is
started. I think the problem belongs more to the OS or user environment
as to idl.


regards
Reimar




J.K. wrote:
> I have some processing that takes about 12hrs so
> I'd like to run this in the background. I'm on
> IRIX. It must be something simple that I'm doing
> wrong. After I log out and close my X11 connections,
> I'll get a message in my log file:
>
> XIO: fatal IO error 131 (Connection reset by peer) on X server "xxxxxxxx:0.0"
> after 116 requests (116 known processed) with 0 events remaining.
>
> Am I not redirecting standard out properly?
> Below is what I'm doing. Any help appreciated.
>
> idlstartbg.pro startup file, I only set the path, no device commands.
> !PATH=!PATH+":~/idl:~/wave/wvproc:~/wave/fermi98
>
> runidl batch file:
> #!/bin/csh
> setenv IDL_STARTUP idlstartbg.pro
> idl $1 >& log.$1 &
>
> runback.pro
> .run sdsnan
> exit
>
> sdsnan.pro is a main
> filelist = strarr(600)
> openr, unit, "list",/get_lun
> i = -1
> fn = ' '
> while (not eof(unit)) do begin
> i = i + 1
> readf, unit, fn
> filelist(i) = fn
> print, i,filelist(i)
> endwhile
> close, unit
> ; do lots of other stuff with some print statments
> end
>
> How I execute:
> nohup runidl runback >& out &
>
> exit (close X window)
>
>
> Produces:
> out: empty
> log.runback has standard out but also the X11 message and job does not
> complete.
>
> What am I doing wrong?
> If I change all print to printf in sdsnan.pro to write to a file it
> works but why can't I capture the standard out?
>
> Thanks,
> John K.


--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Is it possible to change the title of a WIDGET_SLIDER?
Next Topic: Problem on the location of xtickname

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 01:29:37 PDT 2025

Total time taken to generate the page: 1.83502 seconds