Re: TMapFile on seperate computers

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Aug 25 1999 - 18:25:13 MEST


Hi Greg,

   the mapfile is cached by nfs and it seems it does not get updated
after the first access. I don't know directly how to force flushing of
the nfs cache (any tips are welcome). However, it would probably be more
efficient to use a client/server aproach to get your histgrams (see the
$ROOTYS/tutorials/hserv.C and hclient.C).

Cheers, Fons.


  
Greg Holden wrote:
> 
> Hello Rooters,
> 
> I have a program setup where a producer creates and adds to a mapfile and
> a consumer reads from it.  Everything works well if both are on the same
> computer.  Now, I am trying to run them on seperate computers, but in the
> same directory on the network.  The consumer can read in the mapfile and
> get what's there the first time, but after that, it does not get any of
> the updates.  The consumer is opening the mapfile in READ (default) mode
> and the producer in RECREATE mode.  Is there a way to do this?
> 
> Thanks,
> Greg.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET