Static Linking / run Root-Macro on grid-cluster

From: Stephan Zimmer <zimmerst_at_googlemail.com>
Date: Fri, 23 Oct 2009 11:45:30 +0200


Hi Rooters,
@Philippe thanks for your latest reply and I've figured out some of the mistakes I made. However this email is kind of related to the previous one. As I've outlined I am using a C-macro which I load into ROOT using root -l main.C. Within main.C I request root to compile some external C-files and create the shared libraries. I do this using gROOT->ProcessLine(".L Macro1.C+") (see below). I want to make this analysis code cluster compatible. The local installation is a RedHat Enterprise 5 whereas most of the clusters have SL5. Thus I ran into problems regarding dynamic linking. One possible workaround I could think about is to compile those "macros" using gcc or even ROOT and load them afterwards as shared libs. But just doing "g++ Macro1.C 'root-config --cflags --glibs'" creates tons of error messages though according to CINT my code is okay... Any ideas? Thanks,
Stephan Received on Fri Oct 23 2009 - 11:45:57 CEST

This archive was generated by hypermail 2.2.0 : Fri Oct 23 2009 - 17:50:02 CEST