Fork me on GitHub

Opened 6 months ago

Last modified 6 months ago

#1427 new Bug

Error running validation

Reported by: miguelarratia Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: validation Cc:

Description (last modified by pavel)

I did install Delphes 3.4.2 and linked to Pythia8.
I did run ./DelphesPythia8 cards/delphes_card_CMS.tcl examples/Pythia8/configNoLHE.cmnd delphes_nolhe.root
successfully

But I failed to run the validation code:

root@84VFRC2:/mnt/c/Users/marratia/Linux/Delphes-3.4.2# ./validation/validation.sh cards/delphes_card_CMS.tcl 10000
./validation/validation.sh: 54: ./validation/validation.sh: function: not found
./validation/validation.sh: 59: ./validation/validation.sh: cannot create validation/cards/configParticleGun_cards/delphes_card_CMS.tcl.cmnd: Directory nonexistent
SysError in <TFile::TFile>: file report_delphes_card_CMS/root/particleGun_cards/delphes_card_CMS.tcl_delphes_card_CMS.root can not be opened (No such file or directory)
** ERROR: can't create output file report_delphes_card_CMS/root/particleGun_cards/delphes_card_CMS.tcl_delphes_card_CMS.root
./validation/validation.sh: 62: ./validation/validation.sh: Syntax error: "}" unexpected

Please advice.
Thanks,
Miguel

Change History (3)

comment:1 Changed 6 months ago by pavel

Thanks for finding this problem. Looks like the validation script uses some bash features. So, the first line should be changed to #!/bin/bash.

comment:2 Changed 6 months ago by pavel

This problem is now fixed in our git repository. Here is a link to the corresponding changeset:
354b7f3b4971bbc093e3e857259c677d3322fab7/git

comment:3 Changed 6 months ago by pavel

  • Description modified (diff)
Note: See TracTickets for help on using tickets.