[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New version of SM ready



Hello,

The daemon-less version of the Storage Manager is now ready and the
components have been copied to the LaunchGCA directory.
There is a common config file (gc.config) which is used by all SM
components. There is also a class that can parse that file. The class is
called Config and is located in ~nordberg/gc/QE/gc_config.h. It makes
reading the config file very easy.
The format of the config file is:

common*foo=bar
myprefix*hi=there

All components read the variables with the prefix common* and the
component tells the Config class what it's prefix is (myprefix) and
then  Config reads those variables too. It's really quite simple. Check
out the header file (gc_config.h).

Cheers, Henrik
___________________________________________________________
Henrik Nordberg <HNordberg@lbl.gov> http://nordberg.lbl.gov
Scientific Data Management Research Group
Lawrence Berkeley Laboratory