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

Home » Public Forums » archive » Multiple journal files on linux
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: Multiple journal files on linux [message #31213 is a reply to message #31108] Wed, 19 June 2002 06:34 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
markmcg4@hotmail.com (Mark McGrath) writes:

> Thanks David, that is almost what I was looking for.
>
> This routine makes an `almost' unique file. An example:
> Running IDL on a linux cluster, as we do here, if the machine clocks
> are a litle out of sync it would be possible to over write the file
> that had been opened already, no? (Not much info lost there though,
> but the more serious case of the clocks being a lot out of sync then
> large amounts of info in the journal file could be lost.)
>
> I have hunted about a bit and come across this:
> Add it to .cshrc/.tcshrc or equiv:
>

I don't understand. Why not do the logic within your IDL_STARTUP
file, in which case you can execute arbitrary IDL code? You would
modify David's JOURNAL_UNIQUE procedure to test that the file exists
before opening it, and if it does, append a unique suffix or whatever,
and then retest. No need for alias-nasties!

Good luck,
Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: widget_table without scroll bars
Next Topic: axis is too thin? - test.ps (0/1)

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

Current Time: Thu Apr 30 15:38:01 PDT 2026

Total time taken to generate the page: 4.39990 seconds