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

But I failed to run the validation code:

root@84VFRC2:/mnt/c/Users/marratia/Linux/Delphes-3.4.2# ./validation/ cards/delphes_card_CMS.tcl 10000
./validation/ 54: ./validation/ function: not found
./validation/ 59: ./validation/ 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/ 62: ./validation/ Syntax error: "}" unexpected

Please advice.

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:

comment:3 Changed 6 months ago by pavel

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