Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93585830
run.csh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 29, 23:03
Size
824 B
Mime Type
text/x-shellscript
Expires
Sun, Dec 1, 23:03 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22651637
Attached To
R1448 Lenstool-HPC
run.csh
View Options
#!/bin/tcsh
# Script(!) for running the lenstool on the nfw and gnfw arcletstat examples
# Sand and Marshall (UCSB) 2007-11-30
#
# Sole argument is string 'nfw' or 'gnfw', eg
# run.csh gnfw
# Results to compare agasint should be in "ref_?nfw" directories...
if
(
$#argv
==
0
)
then
echo
"Usage: run.csh [nfw/gnfw]"
goto
FINISH
else if
(
$argv
[
1
]
==
'nfw'
)
then
set
parfile
=
nfw.par
set
subdir
=
results_nfw
else if
(
$argv
[
1
]
==
'gnfw'
)
then
set
parfile
=
gnfw.par
set
subdir
=
results_gnfw
else
echo
"ERROR: unrecognised run name '$argv[1]'"
echo
"Usage: run.csh [nfw/gnfw]"
goto
FINISH
endif
echo
"Running lenstool on $parfile in subdirectory ./$subdir..."
set
datafile
=
nfw_arclet.cat
mkdir -p
$subdir
chdir
$subdir
ln -sf ../
$datafile
.
ln -sf ../
$parfile
.
lenstool
$argv
[
1
]
-n
FINISH:
Event Timeline
Log In to Comment