Skip to content
Snippets Groups Projects
Unverified Commit bd867ac5 authored by Hernán Asorey's avatar Hernán Asorey
Browse files

Docker version is now ready. It runs a complete simulation without an ARTI...

Docker version is now ready. It runs a complete simulation without an ARTI compatible docker just by calling do_sims.sh
parent f1c9b760
No related branches found
No related tags found
No related merge requests found
......@@ -234,10 +234,21 @@ if [ "X$prj" == "X" ]; then
exit 1;
fi
if [ "X$wdir" == "X" ]; then
echo; echo -e "ERROR: You have to set the working directory (where corsika bin files are located)"
showhelp
exit 1;
if [ "X$ver" == "X" ]; then
ver="77402"
echo -e "# INFO: CORSIKA version was not provided. Using default: $ver"
fi
if ! $docker; then
if [ "X$wdir" == "X" ]; then
echo; echo -e "ERROR: You have to set the working directory (where corsika bin files are located)"
showhelp
exit 1;
fi
else
$wdir="/opt/corsika-${ver}/run"
echo -e "# INFO: Working directory fixed by DOCKER: $wdir"
fi
if [ "X$tim" == "X" ]; then
......@@ -250,11 +261,6 @@ if [ "X$procs" == "X0" ]; then
echo -e "# INFO: Processors should be >0, using default: $procs"
fi
if [ "X$ver" == "X" ]; then
ver="77402"
echo -e "# INFO: CORSIKA version was not provided. Using default: $ver"
fi
if [ "X$hig" == "X" ]; then
hig="QGSII"
echo -e "# INFO: High energy interaction model was not provided. Using default: $hig"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment