Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F11222473
run_whizard.sh.in
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
835 B
Subscribers
None
run_whizard.sh.in
View Options
#!/bin/sh
### Check the WHIZARD configuration using sample model and input file
### Usage: run_whizard.sh BASENAME [OPTIONS]
script="$1"
basename="`basename $script`"
shift
# Make sure the path to the installed version is completely known
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
# Normalize the library name so that it can be used as
# part of a Fortran module name (no '-'s in particular...)
libname="`echo $basename | sed s/[^A-Za-z0-9_]/_/g`"
# Run either the local version or the installed version of WHIZARD
export OMP_NUM_THREADS
OMP_NUM_THREADS=1
if test -f TESTFLAG; then
@DYLD_FLAGS@
../../src/whizard --logfile $basename.log --no-banner --library ${libname}_lib --rebuild $* $script.sin
else
$bindir/whizard --logfile $basename.log --no-banner --library ${libname}_lib --rebuild $* $script.sin
fi
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Wed, May 14, 11:57 AM (1 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5044275
Default Alt Text
run_whizard.sh.in (835 B)
Attached To
rWHIZARDSVN whizardsvn
Event Timeline
Log In to Comment