KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
IRODSDataRepository.cpp
1//Created by KVClassFactory on Thu Oct 18 10:38:52 2012
2//Author: John Frankland
3
4#include "IRODSDataRepository.h"
5#include "IRODS.h"
6#include "TSystem.h"
7#include "Riostream.h"
8using namespace std;
9
11
12
13
15
17{
18 // Default constructor
19 fDMS = new IRODS();// set up interface to IRODS
20}
21
22
23
26
31
32
33
35
37{
38 cout << "**********************************************************************************" << endl << endl;
39 cout << " The list of datasets which are available (i.e. for which data files are" << endl;
40 cout << " present on HPSS) will now be updated by consulting the IRODS catalogue." << endl;
41 cout << " This normally takes about 30 seconds to 1 minute to perform." << endl << endl;
42 cout << " However, if there is a problem with IRODS, this will block KaliVeda!" << endl;
43 cout << " Two kinds of problem exist:" << endl;
44 cout << " 1). IRODS is not functioning (check http://cc.in2p3.fr and" << endl;
45 cout << " http://webmail.in2p3.fr/wnr/thread.php?group=in2p3.cc.unix)" << endl;
46 cout << " SOLUTION : wait for Centre de Calcul to fix IRODS ;)" << endl;
47 cout << " 2). You have not authenticated your account for use with IRODS" << endl;
48 cout << " SOLUTION : see https://bugs.launchpad.net/kaliveda/+bug/1131725" << endl << endl;
49 cout << " We will now test if IRODS is functioning (for you)." << endl;
50 cout << " If everything is OK, at the end of this message you should see a listing like this :" << endl << endl;
51 cout << " /indra:" << endl;
52 cout << " C- /indra/campagne1" << endl;
53 cout << " C- /indra/campagne2" << endl;
54 cout << " etc. etc." << endl << endl;
55 cout << " If you DON'T see the listing then this is probably the last" << endl;
56 cout << " bit of activity you'll be seeing from KaliVeda for a while... :D" << endl << endl;
57 gSystem->Exec("echo '\n' | ils");
58 cout << endl;
59}
60
61
R__EXTERN TSystem * gSystem
Remote data repository using IRODS (Integrated Rule-Oriented Data System) DMS.
virtual ~IRODSDataRepository()
Destructor.
virtual void PrintAvailableDatasetsUpdateWarning() const
Interface to IRODS (Integrated Rule-Oriented Data System) DMS client.
Definition IRODS.h:15
virtual Int_t Exec(const char *shellcmd)
ClassImp(TPyArg)