Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Arti
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LAGO
Software
Arti
Commits
606c7794
Commit
606c7794
authored
4 years ago
by
Hernán Asorey
Browse files
Options
Downloads
Patches
Plain Diff
Now produce S1 files. Includes a while loop for cp issues
parent
5c83d820
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
analysis/do_showers.sh
+4
-6
4 additions, 6 deletions
analysis/do_showers.sh
with
4 additions
and
6 deletions
analysis/do_showers.sh
+
4
−
6
View file @
606c7794
...
...
@@ -52,9 +52,6 @@
# /************************************************************************/
#
VERSION
=
"v1r0"
# First release, mar 20 abr 2021 11:00:00 CEST
VERSION
=
"v1r1"
# parallel analysis, jue 29 abr 2021 12:52:12 CEST
arti_path
=
"
${
LAGO_ARTI
}
"
odir
=
""
wdir
=
"
${
PWD
}
"
...
...
@@ -82,7 +79,7 @@ showhelp() {
echo
echo
-e
" -o <origin directory> : Origin dir, where the DAT files are located"
echo
-e
" -r <ARTI directory> : ARTI installation directory, generally pointed by
\$
LAGO_ARTI (default)"
echo
-e
" -w <workding directory>
: Working dir, where the analysis will be done (default is current directory,
${
wdir
}
)"
echo
-e
" -w <workding directory> : Working dir, where the analysis will be done (default is current directory,
${
wdir
}
)"
echo
-e
" -r <ARTI directory> : ARTI installation directory, generally pointed by
\$
LAGO_ARTI (default)"
echo
-e
" -e <energy bins> : Number of energy secondary bins (default:
$energy_bins
"
echo
-e
" -d <distance bins> : Number of distance secondary bins (default:
$distance_bins
"
...
...
@@ -213,6 +210,7 @@ fi
if
[
"X
$prj
"
==
"X"
]
;
then
prj
=
$(
basename
$odir
)
prj
=
${
prj
/S0/S1
}
echo
;
echo
-e
"# WARNING: Project base name not provided. Using
$prj
"
fi
...
...
@@ -260,7 +258,7 @@ for i in ${odir}/DAT??????.bz2; do
if
[
$dirlw
-gt
0
]
;
then
run
=
"bzip2 -d -k
$i
; echo
$j
|
${
arti_path
}
/analysis/lagocrkread |
${
arti_path
}
/analysis/analysis -p
${
u
}
; rm
${
j
}
"
else
run
=
"cp -a
$i
$wdir
/; bzip2 -d
$j
.bz2; echo
$j
|
${
arti_path
}
/analysis/lagocrkread |
${
arti_path
}
/analysis/analysis -p
${
u
}
; rm
$wdir
/
${
j
}
"
run
=
"
while !
cp -a
$i
$wdir
/;
do sleep 5; done;
bzip2 -d
$j
.bz2; echo
$j
|
${
arti_path
}
/analysis/lagocrkread |
${
arti_path
}
/analysis/analysis -p
${
u
}
; rm
$wdir
/
${
j
}
"
fi
echo
$run
>>
$prj
.run
done
...
...
@@ -309,5 +307,5 @@ if [ $prims -gt 0 ]; then
fi
# final remarks
rm
$prj
.run
#
rm $prj.run
rm
*
.log
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment