clang: error: no such file or directory: 'libDelphesNoFastJet.so'

Asked by Esteban Chalbaud

Dear all,

I am trying to install Delphes in Madgraph 3.1.1 in a mac OS 12.1 Monterey, but I am getting this:

MG5_aMC>install Delphes
   You are installing 'Delphes', please cite ref(s): arXiv:1307.6346.
Downloading http://cp3.irmp.ucl.ac.be/downloads/Delphes-3-current.tar.gz
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 5294k 100 5294k 0 0 7633k 0 --:--:-- --:--:-- --:--:-- 7740k
compile Delphes. This might take a while.
>> Generating tmp/classes/ClassesDict.cc
>> Compiling tmp/classes/ClassesDict.cc
>> Generating tmp/external/ExRootAnalysis/ExRootAnalysisDict.cc
>> Compiling tmp/external/ExRootAnalysis/ExRootAnalysisDict.cc
>> Generating tmp/modules/ModulesDict.cc
>> Compiling tmp/modules/ModulesDict.cc
>> Compiling classes/DelphesClasses.cc
>> Compiling classes/DelphesCylindricalFormula.cc
>> Compiling classes/DelphesFactory.cc
>> Compiling classes/DelphesFormula.cc
>> Compiling classes/DelphesHepMC2Reader.cc
>> Compiling classes/DelphesHepMC3Reader.cc
>> Compiling classes/DelphesLHEFReader.cc
>> Compiling classes/DelphesModule.cc
>> Compiling classes/DelphesPileUpReader.cc
>> Compiling classes/DelphesPileUpWriter.cc
>> Compiling classes/DelphesSTDHEPReader.cc
>> Compiling classes/DelphesStream.cc
classes/DelphesStream.cc:93:31: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare]
    if(fFirstLongMin && value == LONG_MIN)
                        ~~~~~ ^ ~~~~~~~~
classes/DelphesStream.cc:98:36: warning: result of comparison of constant 9223372036854775807 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare]
    else if(fFirstLongMax && value == LONG_MAX)
                             ~~~~~ ^ ~~~~~~~~
2 warnings generated.
>> Compiling classes/DelphesTF2.cc
>> Compiling classes/DelphesXDRReader.cc
>> Compiling classes/DelphesXDRWriter.cc
>> Compiling external/ExRootAnalysis/ExRootConfReader.cc
>> Compiling external/ExRootAnalysis/ExRootFilter.cc
>> Compiling external/ExRootAnalysis/ExRootProgressBar.cc
>> Compiling external/ExRootAnalysis/ExRootResult.cc
>> Compiling external/ExRootAnalysis/ExRootTask.cc
>> Compiling external/ExRootAnalysis/ExRootTreeBranch.cc
>> Compiling external/ExRootAnalysis/ExRootTreeReader.cc
>> Compiling external/ExRootAnalysis/ExRootTreeWriter.cc
>> Compiling external/ExRootAnalysis/ExRootUtilities.cc
>> Compiling external/Hector/H_AbstractBeamLine.cc
>> Compiling external/Hector/H_Aperture.cc
>> Compiling external/Hector/H_Beam.cc
>> Compiling external/Hector/H_BeamLine.cc
>> Compiling external/Hector/H_BeamLineParser.cc
>> Compiling external/Hector/H_BeamParticle.cc
>> Compiling external/Hector/H_CircularAperture.cc
>> Compiling external/Hector/H_Dipole.cc
>> Compiling external/Hector/H_Drift.cc
>> Compiling external/Hector/H_EllipticAperture.cc
>> Compiling external/Hector/H_HorizontalKicker.cc
>> Compiling external/Hector/H_HorizontalQuadrupole.cc
>> Compiling external/Hector/H_Kicker.cc
>> Compiling external/Hector/H_Marker.cc
>> Compiling external/Hector/H_OpticalElement.cc
>> Compiling external/Hector/H_Parameters.cc
>> Compiling external/Hector/H_Quadrupole.cc
>> Compiling external/Hector/H_RecRPObject.cc
>> Compiling external/Hector/H_RectEllipticAperture.cc
>> Compiling external/Hector/H_RectangularAperture.cc
>> Compiling external/Hector/H_RectangularCollimator.cc
>> Compiling external/Hector/H_RectangularDipole.cc
>> Compiling external/Hector/H_RomanPot.cc
>> Compiling external/Hector/H_SectorDipole.cc
>> Compiling external/Hector/H_TransportMatrices.cc
>> Compiling external/Hector/H_VerticalKicker.cc
>> Compiling external/Hector/H_VerticalQuadrupole.cc
>> Compiling external/TrackCovariance/AcceptanceClx.cc
>> Compiling external/TrackCovariance/ObsTrk.cc
>> Compiling external/TrackCovariance/SolGeom.cc
>> Compiling external/TrackCovariance/SolGridCov.cc
>> Compiling external/TrackCovariance/SolTrack.cc
>> Compiling external/TrackCovariance/TrkUtil.cc
>> Compiling external/TrackCovariance/VertexFit.cc
>> Compiling modules/AngularSmearing.cc
>> Compiling modules/BTagging.cc
>> Compiling modules/BeamSpotFilter.cc
>> Compiling modules/Calorimeter.cc
>> Compiling modules/Cloner.cc
>> Compiling modules/ClusterCounting.cc
>> Compiling modules/ConstituentFilter.cc
>> Compiling modules/DecayFilter.cc
>> Compiling modules/Delphes.cc
>> Compiling modules/DenseTrackFilter.cc
>> Compiling modules/DualReadoutCalorimeter.cc
>> Compiling modules/Efficiency.cc
>> Compiling modules/EnergyScale.cc
>> Compiling modules/EnergySmearing.cc
>> Compiling modules/ExampleModule.cc
>> Compiling modules/Hector.cc
>> Compiling modules/IdentificationMap.cc
>> Compiling modules/ImpactParameterSmearing.cc
>> Compiling modules/Isolation.cc
>> Compiling modules/JetFakeParticle.cc
>> Compiling modules/JetFlavorAssociation.cc
>> Compiling modules/JetPileUpSubtractor.cc
>> Compiling modules/LeptonDressing.cc
>> Compiling modules/Merger.cc
>> Compiling modules/MomentumSmearing.cc
>> Compiling modules/OldCalorimeter.cc
>> Compiling modules/ParticleDensity.cc
>> Compiling modules/ParticlePropagator.cc
>> Compiling modules/PdgCodeFilter.cc
>> Compiling modules/PhotonConversions.cc
>> Compiling modules/PhotonID.cc
>> Compiling modules/PileUpJetID.cc
>> Compiling modules/PileUpMerger.cc
>> Compiling modules/RecoPuFilter.cc
>> Compiling modules/SimpleCalorimeter.cc
>> Compiling modules/StatusPidFilter.cc
>> Compiling modules/TaggingParticlesSkimmer.cc
>> Compiling modules/TauTagging.cc
>> Compiling modules/TimeOfFlight.cc
>> Compiling modules/TimeSmearing.cc
>> Compiling modules/TrackCountingBTagging.cc
>> Compiling modules/TrackCountingTauTagging.cc
>> Compiling modules/TrackCovariance.cc
>> Compiling modules/TrackPileUpSubtractor.cc
>> Compiling modules/TrackSmearing.cc
>> Compiling modules/TreeWriter.cc
>> Compiling modules/TruthVertexFinder.cc
>> Compiling modules/UniqueObjectFinder.cc
>> Compiling modules/VertexFinder.cc
>> Compiling modules/VertexFinderDA4D.cc
>> Compiling modules/VertexSorter.cc
>> Compiling modules/Weighter.cc
>> Compiling external/tcl/panic.c
>> Compiling external/tcl/tclAlloc.c
>> Compiling external/tcl/tclAsync.c
>> Compiling external/tcl/tclBasic.c
>> Compiling external/tcl/tclCkalloc.c
>> Compiling external/tcl/tclCmdAH.c
>> Compiling external/tcl/tclCmdIL.c
>> Compiling external/tcl/tclCmdMZ.c
>> Compiling external/tcl/tclCompExpr.c
>> Compiling external/tcl/tclCompile.c
external/tcl/tclCompile.c:6513:17: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast]
            objIndex = (int) Tcl_GetHashValue(hPtr);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/tcl/tclCompile.c:6554:2: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
        Tcl_SetHashValue(hPtr, objIndex);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/tcl/tcl.h:820:55: note: expanded from macro 'Tcl_SetHashValue'
#define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value))
                                                      ^~~~~~~~~~~~~~~~~~~~
2 warnings generated.
>> Compiling external/tcl/tclExecute.c
external/tcl/tclExecute.c:275:5: warning: expression result unused; should this cast be to 'void'? [-Wunused-value]
    (VOID *) memset(opName, 0, sizeof(opName));
    ^ ~
1 warning generated.
>> Compiling external/tcl/tclGet.c
>> Compiling external/tcl/tclHash.c
>> Compiling external/tcl/tclIndexObj.c
external/tcl/tclIndexObj.c:89:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
        *indexPtr = (int) objPtr->internalRep.twoPtrValue.ptr2;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/tcl/tclIndexObj.c:131:44: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
    objPtr->internalRep.twoPtrValue.ptr2 = (VOID *) index;
                                           ^~~~~~~~~~~~~~
external/tcl/tclIndexObj.c:293:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
                    tablePtr[(int) objv[i]->internalRep.twoPtrValue.ptr2],
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
>> Compiling external/tcl/tclLink.c
>> Compiling external/tcl/tclListObj.c
>> Compiling external/tcl/tclNamesp.c
external/tcl/tclNamesp.c:2638:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
        for (p = (arg + 9); (*p == ' '); p++) {
                              ~~~^~~~~~
external/tcl/tclNamesp.c:2638:27: note: remove extraneous parentheses around the comparison to silence this warning
        for (p = (arg + 9); (*p == ' '); p++) {
                             ~ ^ ~
external/tcl/tclNamesp.c:2638:27: note: use '=' to turn this equality comparison into an assignment
        for (p = (arg + 9); (*p == ' '); p++) {
                                 ^~
                                 =
1 warning generated.
>> Compiling external/tcl/tclObj.c
external/tcl/tclObj.c:461:3: warning: cast to smaller integer type 'int' from 'Tcl_Obj *' (aka 'struct Tcl_Obj *') [-Wpointer-to-int-cast]
        ((int)(&(tmp[1])) - (int)(&(tmp[0])));
         ^~~~~~~~~~~~~~~~
external/tcl/tclObj.c:461:22: warning: cast to smaller integer type 'int' from 'Tcl_Obj *' (aka 'struct Tcl_Obj *') [-Wpointer-to-int-cast]
        ((int)(&(tmp[1])) - (int)(&(tmp[0])));
                            ^~~~~~~~~~~~~~~~
2 warnings generated.
>> Compiling external/tcl/tclParse.c
>> Compiling external/tcl/tclPreserve.c
>> Compiling external/tcl/tclProc.c
>> Compiling external/tcl/tclResolve.c
>> Compiling external/tcl/tclStringObj.c
>> Compiling external/tcl/tclUtil.c
>> Compiling external/tcl/tclVar.c
>> Building libDelphesNoFastJet.so
clang: error: no such file or directory: 'libDelphesNoFastJet.so'
make: *** [libDelphesNoFastJet.so] Error 1

Any ideas how to solve it?
Thanks in advance

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

Not really, I would suggest to contact Delphes author about that. They should know.

Cheers,

Olivier

Revision history for this message
Sebastian Urrutia-Quiroga (sgurruti) said :
#2

Hi,

I got a similar, macOS-specific error message:

>> Building libDelphesNoFastJet.dylib
ld: -rpath can only be used when targeting Mac OS X 10.5 or later
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libDelphesNoFastJet.dylib] Error 1

If you have some updates, please let me know. Thank you very much.

Can you help with this problem?

Provide an answer of your own, or ask Esteban Chalbaud for more information if necessary.

To post a message you must log in.