Hello. Since a few people asked me about using own library with PROOF session, this is my (not so complete) answer. At first, the instruction on ROOT page is none existing. If you do search on the web, these are the better instuctions found on the web. http://people.web.psi.ch/feichtinger/doc/proof_examples.html http://www-linux.gsi.de/~manteufe/docus/Introduction_version2.html Here is a simple instructions. A. Some simple instruction (may not be complete): (If you just want to load ready made library). 1. You need to create directory MyLibrary (or something else) 2. In there, you make other directory PROOF-INF 3. In this directory, make SETUP.C file Here, you write a simple root macro to load your library. for example, Int_t SETUP() { gSystem->Load("libBratModuleCent.so"); // here you might also set incldue path and other. return 1; } 4. Then, from MyLibrary directory, you create par package by tar -czvf MyLibrary.par MyLibrary 5. start root 6. start proof gROOT->Proof("proofserver","proof_config_file"); 7. gProof->UploadPackage("MyLibrary.par"); // this copy the files to all proof slaves. 8. gProof->EnablePackage("MyLibrary"); // this seems to excute your SETUP.C 9. The rest is the same as what you usually do for proof. TDSet etc.... B. If you have some library needed to compilied, you needs to the following additional steps. 1. In MyLibrary directory, copy all sources to that directory. 2. In MyLibrary directory, create Makefile for your library 3. In PROOF-INF directory, make BUILD.sh, which says "make" (or whatever the instuction to run your make file.) Hiro _______________________________________________ Brahms-dev-l mailing list Brahms-dev-l@lists.bnl.gov http://lists.bnl.gov/mailman/listinfo/brahms-dev-lReceived on Tue Aug 30 10:33:54 2005
This archive was generated by hypermail 2.1.8 : Tue Aug 30 2005 - 10:34:06 EDT