Re: [ROOTDEV] Linking ROOT on lxplus

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Thu, 23 Jul 2009 10:11:49 -0500


Hi Fulvio,

It might be that in the 'batch' case, your are running under a bash shell rather than
a tcsh (in which case you need to update your script to use the bash syntax).

Cheers,
Philippe

Fulvio Piccinini wrote:
> Hello,
>
> I am trying to run on lxplus a code which needs to link against
> some ROOT libraries. For the moment I am using the release 5.16 of ROOT
> which I found
> in /afs/cern.ch/sw/lcg/external/root/5.16.00/slc4_ia32_gcc34/root.
> I think that I have set correctly all the environmental variables needed,
> I mean ROOTSYS and LD_LIBRARY_PATH, since I can successfully compile
> my code and run it. But there is still something wrong that I do not
> understand
> since, when I try to run my code in batch mode, I get the following
> message:
>
> error while loading shared libraries: libCore.so: cannot open shared
> object file: No such file or directory
>
> Jul 22 19:38:49 2009 21282 3 7.03 copyFile: ls_ropen() failed. File
> operation failed: Is a directory.
> Jul 22 19:38:49 2009 21282 3 7.03 lsrcp: main() failed, try rcp....
> lxplus248.cern.ch: Connection refused
> Jul 22 19:39:23 2009 25181 3 7.03 copyFile: ls_ropen() failed. File
> operation failed: Is a directory.
> Jul 22 19:39:23 2009 25181 3 7.03 lsrcp: main() failed, try rcp....
> lxplus211.cern.ch: Connection refused
>
> It seems like if the environmental variable about the location of the .so
> libraries
> of ROOT is forgotten by the system when I try to run my code inserting
> this
> job in one of the available queues.
>
> Could you help me? In the attachment you can find the script that I have
> used to run my code.
>
> Thank you in advance.
>
> Best regards
>
> Fulvio Piccinini
>
Received on Thu Jul 23 2009 - 17:11:55 CEST

This archive was generated by hypermail 2.2.0 : Thu Jul 23 2009 - 23:50:01 CEST