Im trying to make “Grid Runnig” step from ATLAS SOFTWARE TUTORIAL and I receave following error: No member named ‘scanRucio’ in namespace ‘SH’.
This is my macros:
ATestSubmit.cxx (2.2 KB)
My steps:
setupATLAS
lsetup panda
cd ../build
asetup --restore
source x86_64-*/setup.sh
cd ../build/
cmake ../source/
make
cd ../run
export ALRB_TutorialData=/cvmfs/atlas.cern.ch/repo/tutorials/asg/cern-feb2021
-voms-proxy-init voms-atlas
Username and password, authorized
lsetup rucio
The output of above command is here:
************************************************************************
Requested: rucio ...
Setting up emi 4.0.2-1_200423.fix3 ...
Skipping: grid middleware already setup (from UI)
Setting up rucio 1.25.3 ...
Info: Setting compatibility to centos7
Setting up xrootd 5.1.1-x86_64-centos7 ...
Skipping: Skipping xrootd for x86_64-centos7-gcc8-opt since Athena has it.
---------------------- Information for user ----------------------------
emi:
Your proxy has 11h:56m:29s remaining
Read this on when and how to setup your proxy ...
http://cern.ch/go/66jM
Your RFC proxy has a nonRepudiation key.
Please report this to DAST with any site access issues
A temporary workaround is: voms-proxy-init -voms atlas -old
rucio:
Warning: An ATLAS release was setup and rucio may not work.
If you have rucio issues, retry with the wrapper version.
eg: lsetup "rucio -w"
-----------------------------------------------------------------------------------
After this I tried to start macros
root -l -b -q $ROOTCOREDIR/scripts/load_packages.C ../source/MyAnalysis/share/ATestSubmit.cxx\(\"myGridJob\"\)
Here the output from terminal:
Processing /cvmfs/atlas.cern.ch/repo/sw/software/21.2/AnalysisBase/21.2.139/InstallArea/x86_64-centos7-gcc8-opt/scripts/load_packages.C...
xAOD::Init INFO Environment initialised for data access
Processing ../source/MyAnalysis/share/ATestSubmit.cxx("myGridJob")...
In file included from input_line_16:1:
/afs/cern.ch/user/o/ogavva/ROOTAnalysisTutorial/source/MyAnalysis/share/ATestSubmit.cxx:22:7: error: no member named 'scanRucio' in namespace 'SH'
SH::scanRucio(sh, "data16_13TeV.periodAllYear.physics_Main.PhysCont.DAOD_ZMUMU.repro21_v01/");
~~~~^
TInterpreter::TCling::... WARNING Problems in declaring string 'namespace DataVector_detail { template <typename B1, typename B2, typename B3> class VirtBases; }' were encountered.
TInterpreter::TCling::... WARNING Problems in declaring string 'template <typename T, typename BASE> class DataVector;' were encountered.
TInterpreter::TCling::... WARNING Problems in compiling forward declarations for module libEventLoop: '
#line 1 "libEventLoop dictionary forward declarations' payload"
#pragma clang diagnostic ignored "-Wkeyword-compat"
#pragma clang diagnostic ignored "-Wignored-attributes"
#pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
extern int __Cling_Autoloading_Map;
namespace std{template <typename _T1, typename _T2> struct __attribute__((annotate("$clingAutoload$bits/stl_pair.h"))) __attribute__((annotate("$clingAutoload$string"))) pair;
}
namespace std{template <typename _Tp> class __attribute__((annotate("$clingAutoload$bits/allocator.h"))) __attribute__((annotate("$clingAutoload$string"))) allocator;
}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/Algorithm.h"))) Algorithm;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/AnaAlgorithmWrapper.h"))) AnaAlgorithmWrapper;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/Driver.h"))) __attribute__((annotate("$clingAutoload$EventLoop/BatchDriver.h"))) Driver;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/BatchDriver.h"))) BatchDriver;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/JobConfig.h"))) __attribute__((annotate("$clingAutoload$EventLoop/BatchJob.h"))) JobConfig;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/Job.h"))) __attribute__((annotate("$clingAutoload$EventLoop/BatchJob.h"))) Job;}
namespace EL{struct __attribute__((annotate("$clingAutoload$EventLoop/BatchJob.h"))) BatchJob;}
namespace EL{struct __attribute__((annotate("$clingAutoload$EventLoop/BatchSegment.h"))) BatchSegment;}
namespace EL{struct __attribute__((annotate("$clingAutoload$EventLoop/BatchSample.h"))) BatchSample;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/CondorDriver.h"))) CondorDriver;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/DirectDriver.h"))) DirectDriver;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/GEDriver.h"))) GEDriver;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/KubernetesDriver.h"))) KubernetesDriver;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/LLDriver.h"))) LLDriver;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/LSFDriver.h"))) LSFDriver;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/LocalDriver.h"))) LocalDriver;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/OutputStream.h"))) OutputStream;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/MetricsSvc.h"))) MetricsSvc;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/SoGEDriver.h"))) SoGEDriver;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/TorqueDriver.h"))) TorqueDriver;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/VomsProxySvc.h"))) VomsProxySvc;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoop/SlurmDriver.h"))) SlurmDriver;}
class __attribute__((annotate("$clingAutoload$AsgMessaging/StatusCode.h"))) __attribute__((annotate("$clingAutoload$EventLoop/Algorithm.h"))) StatusCode;
namespace EL{typedef ::StatusCode StatusCode __attribute__((annotate("$clingAutoload$EventLoop/StatusCode.h"))) __attribute__((annotate("$clingAutoload$EventLoop/Algorithm.h"))) ;}
'
TInterpreter::AutoParse ERROR Error parsing payload code for class EL::Job with content:
#line 1 "libEventLoop dictionary payload"
#ifndef HAVE_PRETTY_FUNCTION
#define HAVE_PRETTY_FUNCTION 1
#endif
#ifndef HAVE_64_BITS
#define HAVE_64_BITS 1
#endif
#ifndef __IDENTIFIER_64BIT__
#define __IDENTIFIER_64BIT__ 1
#endif
#ifndef ATLAS
#define ATLAS 1
#endif
#ifndef ROOTCORE
#define ROOTCORE 1
#endif
#ifndef XAOD_STANDALONE
#define XAOD_STANDALONE 1
#endif
#ifndef XAOD_ANALYSIS
#define XAOD_ANALYSIS 1
#endif
#ifndef ROOTCORE_RELEASE_SERIES
#define ROOTCORE_RELEASE_SERIES 25
#endif
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "EventLoop-00-00-00"
#endif
#ifndef PACKAGE_VERSION_UQ
#define PACKAGE_VERSION_UQ EventLoop-00-00-00
#endif
#ifndef USE_CMAKE
#define USE_CMAKE 1
#endif
#define _BACKWARD_BACKWARD_WARNING_H
// Inline headers
#include "EventLoop/Algorithm.h"
#include "EventLoop/AnaAlgorithmWrapper.h"
#include "EventLoop/BatchDriver.h"
#include "EventLoop/BatchJob.h"
#include "EventLoop/BatchSegment.h"
#include "EventLoop/BatchSample.h"
#include "EventLoop/CondorDriver.h"
#include "EventLoop/DirectDriver.h"
#include "EventLoop/GEDriver.h"
#include "EventLoop/Job.h"
#include "EventLoop/KubernetesDriver.h"
#include "EventLoop/LLDriver.h"
#include "EventLoop/LSFDriver.h"
#include "EventLoop/LocalDriver.h"
#include "EventLoop/OutputStream.h"
#include "EventLoop/MetricsSvc.h"
#include "EventLoop/SoGEDriver.h"
#include "EventLoop/StatusCode.h"
#include "EventLoop/TorqueDriver.h"
#include "EventLoop/VomsProxySvc.h"
#include "EventLoop/SlurmDriver.h"
#undef _BACKWARD_BACKWARD_WARNING_H
/afs/cern.ch/user/o/ogavva/ROOTAnalysisTutorial/source/MyAnalysis/share/ATestSubmit.cxx:34:7: error: no type named 'Job' in namespace 'EL'
EL::Job job;
~~~~^
/afs/cern.ch/user/o/ogavva/ROOTAnalysisTutorial/source/MyAnalysis/share/ATestSubmit.cxx:37:33: error: no member named 'Job' in namespace 'EL'
job.options()->setString( EL::Job::optSubmitDirMode, "unique-link");
~~~~^
TInterpreter::TCling::... WARNING Problems in declaring string 'namespace DataVector_detail { template <typename B1, typename B2, typename B3> class VirtBases; }' were encountered.
TInterpreter::TCling::... WARNING Problems in declaring string 'template <typename T, typename BASE> class DataVector;' were encountered.
TInterpreter::TCling::... WARNING Problems in compiling forward declarations for module libAnaAlgorithmDict: '
#line 1 "libAnaAlgorithmDict dictionary forward declarations' payload"
#pragma clang diagnostic ignored "-Wkeyword-compat"
#pragma clang diagnostic ignored "-Wignored-attributes"
#pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
extern int __Cling_Autoloading_Map;
namespace EL{class __attribute__((annotate("$clingAutoload$AnaAlgorithm/AnaAlgorithm.h"))) AnaAlgorithm;}
namespace EL{class __attribute__((annotate("$clingAutoload$AnaAlgorithm/AnaAlgorithmConfig.h"))) AnaAlgorithmConfig;}
'
TInterpreter::AutoParse ERROR Error parsing payload code for class EL::AnaAlgorithmConfig with content:
#line 1 "libAnaAlgorithmDict dictionary payload"
#ifndef HAVE_PRETTY_FUNCTION
#define HAVE_PRETTY_FUNCTION 1
#endif
#ifndef HAVE_64_BITS
#define HAVE_64_BITS 1
#endif
#ifndef __IDENTIFIER_64BIT__
#define __IDENTIFIER_64BIT__ 1
#endif
#ifndef ATLAS
#define ATLAS 1
#endif
#ifndef ROOTCORE
#define ROOTCORE 1
#endif
#ifndef XAOD_STANDALONE
#define XAOD_STANDALONE 1
#endif
#ifndef XAOD_ANALYSIS
#define XAOD_ANALYSIS 1
#endif
#ifndef ROOTCORE_RELEASE_SERIES
#define ROOTCORE_RELEASE_SERIES 25
#endif
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "AnaAlgorithm-00-00-00"
#endif
#ifndef PACKAGE_VERSION_UQ
#define PACKAGE_VERSION_UQ AnaAlgorithm-00-00-00
#endif
#ifndef EIGEN_DONT_VECTORIZE
#define EIGEN_DONT_VECTORIZE 1
#endif
#define _BACKWARD_BACKWARD_WARNING_H
// Inline headers
#ifndef ANA_ALGORITHM__ANA_ALGORITHM_DICT_H
#define ANA_ALGORITHM__ANA_ALGORITHM_DICT_H
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#include "AnaAlgorithm/AnaAlgorithm.h"
#ifdef ROOTCORE
#include "AnaAlgorithm/AnaAlgorithmConfig.h"
#endif
#endif
#undef _BACKWARD_BACKWARD_WARNING_H
/afs/cern.ch/user/o/ogavva/ROOTAnalysisTutorial/source/MyAnalysis/share/ATestSubmit.cxx:40:7: error: no type named 'AnaAlgorithmConfig' in namespace 'EL'
EL::AnaAlgorithmConfig alg;
~~~~^
TInterpreter::TCling::... WARNING Problems in compiling forward declarations for module libEventLoopGrid: '
#line 1 "libEventLoopGrid dictionary forward declarations' payload"
#pragma clang diagnostic ignored "-Wkeyword-compat"
#pragma clang diagnostic ignored "-Wignored-attributes"
#pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
extern int __Cling_Autoloading_Map;
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoopGrid/GridDriver.h"))) GridDriver;}
namespace EL{class __attribute__((annotate("$clingAutoload$EventLoopGrid/PrunDriver.h"))) PrunDriver;}
'
TInterpreter::AutoParse ERROR Error parsing payload code for class EL::PrunDriver with content:
#line 1 "libEventLoopGrid dictionary payload"
#ifndef HAVE_PRETTY_FUNCTION
#define HAVE_PRETTY_FUNCTION 1
#endif
#ifndef HAVE_64_BITS
#define HAVE_64_BITS 1
#endif
#ifndef __IDENTIFIER_64BIT__
#define __IDENTIFIER_64BIT__ 1
#endif
#ifndef ATLAS
#define ATLAS 1
#endif
#ifndef ROOTCORE
#define ROOTCORE 1
#endif
#ifndef XAOD_STANDALONE
#define XAOD_STANDALONE 1
#endif
#ifndef XAOD_ANALYSIS
#define XAOD_ANALYSIS 1
#endif
#ifndef ROOTCORE_RELEASE_SERIES
#define ROOTCORE_RELEASE_SERIES 25
#endif
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "EventLoopGrid-00-00-00"
#endif
#ifndef PACKAGE_VERSION_UQ
#define PACKAGE_VERSION_UQ EventLoopGrid-00-00-00
#endif
#ifndef USE_CMAKE
#define USE_CMAKE 1
#endif
#ifndef USE_CMAKE
#define USE_CMAKE 1
#endif
#define _BACKWARD_BACKWARD_WARNING_H
// Inline headers
#include "EventLoopGrid/GridDriver.h"
#include "EventLoopGrid/PrunDriver.h"
#undef _BACKWARD_BACKWARD_WARNING_H
/afs/cern.ch/user/o/ogavva/ROOTAnalysisTutorial/source/MyAnalysis/share/ATestSubmit.cxx:54:5: error: no type named 'PrunDriver' in namespace 'EL'
EL::PrunDriver driver;
~~~~^
