Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10881660
hepmc_10.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
837 B
Subscribers
None
hepmc_10.sh
View Options
#!/bin/sh
### Check WHIZARD for a simple test process
echo
"Running script
$0
"
if
test
-f HEPMC_FLAG -a -f OCAML_FLAG
;
then
name
=
`
basename @script@
`
./run_whizard.sh @script@ --no-logging --model QCD
echo
"Contents of
${
name
}
a.weights.dat"
>>
$name
.log
cat
${
name
}
a.weights.dat
|
sed -e
's/..E/XXE/g'
>>
$name
.log
echo
"Contents of
${
name
}
b.weights.dat"
>>
$name
.log
cat
${
name
}
b.weights.dat
|
sed -e
's/..E/XXE/g'
>>
$name
.log
echo
"Contents of
${
name
}
c.weights.dat"
>>
$name
.log
cat
${
name
}
c.weights.dat
|
sed -e
's/..E/XXE/g'
>>
$name
.log
diff ref-output/
`
basename @script@
`
.ref
`
basename @script@
`
.log
else
echo
"|=============================================================================|"
echo
"HepMC disabled or no O'Mega matrix elements available, test skipped"
exit
77
fi
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, May 3, 6:40 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4974910
Default Alt Text
hepmc_10.sh (837 B)
Attached To
rWHIZARDSVN whizardsvn
Event Timeline
Log In to Comment