When I run the generation of the analysis code, I get this error: libSUSYToolsDict.so, [...] Failed to load Dynamic link library [...]
You can get this error when you have more folders under your Athena
testarea/
directory, because you have installed different versions of Athena.
In this case you have to check the
CMT
requirements
file in each of your Athena folders.
Let's say you are working with
AtlasWatchMan in the folder
~/testarea/15.2.0
.
You have to make sure that your
requirements
file inside
~/testarea/15.2.0/cmthome
is similar to this one:
#---------------------------------------------------------------------
set CMTSITE CERN
set SITEROOT /afs/cern.ch
macro ATLAS_DIST_AREA ${SITEROOT}/atlas/software/dist
macro ATLAS_TEST_AREA ${HOME}/scratch0/testarea/15.2.0
apply_tag setup
apply_tag oneTest
apply_tag 32
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
#---------------------------------------------------------------------
Otherwise, if you don't specify the
15.2.0
in the
macro ATLAS_TEST_AREA
option, and/or you don't specify the tag
oneSetup
, it's possible that you get another link to the
libSUSYToolsDict.so
pointing to some other
InstallArea
in the installation folder of another Athena version, and you get errors or, in the
worse case, an
undefined behaviour , because the library that the programs loads for you is not that one you think you are using: it's possible that you get silently (without errors) another version, maybe an older one, and you use that one instead of the current one you are editing.
If you got once this error, it means that some of your
requirements
files are not correct with respect of this problem.
Check the
~/testarea/InstallArea/i686.../lib/
folder and delete all the occurrencies (symbolic links) of the incriminated library (that one which failed to be loaded) pointing to other Athena folders.
Then check all your
requirements
files inside all your incriminated Athena versions, fix them, and then recompile the incriminated package.
Now you should not get any link concerning the incriminated library inside
~/testarea/InstallArea/i686.../lib
, but only under the various single folders like
~/testarea/15.2.0/InstallArea/i686.../lib/
--
RiccardoMariaBianchi - 24 Jul 2009