diff --git a/SimulacionFluenciaDocker.ipynb b/SimulacionFluenciaDocker.ipynb index 857949dd594b93ceb36e7551d3e4736a6ce9b466..90d32912a9cbfc363a5682263d4c845d4f0e5f4f 100644 --- a/SimulacionFluenciaDocker.ipynb +++ b/SimulacionFluenciaDocker.ipynb @@ -25,11 +25,13 @@ ] }, { - "cell_type": "raw", - "id": "255d2ec7", + "cell_type": "code", + "execution_count": null, + "id": "238cfbd8", "metadata": {}, + "outputs": [], "source": [ - " sudo apt-get install docker" + "sudo apt-get install docker" ] }, { @@ -41,11 +43,13 @@ ] }, { - "cell_type": "raw", - "id": "84de51f9", + "cell_type": "code", + "execution_count": null, + "id": "319b87f6", "metadata": {}, + "outputs": [], "source": [ - " sudo docker build --no-cache --build-arg ARTI_BRANCH=\"master\" -t arti:2022.01 - < Dockerfile-arti" + "sudo docker build --no-cache --build-arg ARTI_BRANCH=\"master\" -t arti:2022.01 - < Dockerfile-arti" ] }, { @@ -57,9 +61,11 @@ ] }, { - "cell_type": "raw", - "id": "ed540156", + "cell_type": "code", + "execution_count": null, + "id": "b5cacc2d", "metadata": {}, + "outputs": [], "source": [ "sudo docker images -a" ] @@ -73,9 +79,11 @@ ] }, { - "cell_type": "raw", - "id": "86d4dd09", + "cell_type": "code", + "execution_count": null, + "id": "530250af", "metadata": {}, + "outputs": [], "source": [ "sudo docker run -it arti:2022.01" ] @@ -89,9 +97,11 @@ ] }, { - "cell_type": "raw", - "id": "2429a8b1", + "cell_type": "code", + "execution_count": null, + "id": "52ac143c", "metadata": {}, + "outputs": [], "source": [ "sudo docker ps -a" ] @@ -105,9 +115,11 @@ ] }, { - "cell_type": "raw", - "id": "34b62fc6", + "cell_type": "code", + "execution_count": null, + "id": "3b308b7d", "metadata": {}, + "outputs": [], "source": [ "sudo docker stop ID" ] @@ -121,9 +133,11 @@ ] }, { - "cell_type": "raw", - "id": "1248d34d", + "cell_type": "code", + "execution_count": null, + "id": "3c8dab97", "metadata": {}, + "outputs": [], "source": [ "sudo docker cp ID:path/to/file path/to/host" ] @@ -137,17 +151,19 @@ ] }, { - "cell_type": "raw", - "id": "7a11672e", + "cell_type": "markdown", + "id": "3aaab247", "metadata": {}, "source": [ "Primero vamos a ir al directorio donde se encuentran los ejecutables de la simulación" ] }, { - "cell_type": "raw", - "id": "408896ba", + "cell_type": "code", + "execution_count": null, + "id": "d0a4578c", "metadata": {}, + "outputs": [], "source": [ "/opt/arti/sims" ] @@ -161,9 +177,11 @@ ] }, { - "cell_type": "raw", - "id": "77a67a63", + "cell_type": "code", + "execution_count": null, + "id": "52f69114", "metadata": {}, + "outputs": [], "source": [ "./do_sims.sh -?" ] @@ -177,9 +195,11 @@ ] }, { - "cell_type": "raw", - "id": "34c92ae6", + "cell_type": "code", + "execution_count": null, + "id": "c9ba8ef6", "metadata": {}, + "outputs": [], "source": [ "./do_sims.sh version v1r0\n", "\n", @@ -227,9 +247,11 @@ ] }, { - "cell_type": "raw", - "id": "34dbf1de", + "cell_type": "code", + "execution_count": null, + "id": "03b6a687", "metadata": {}, + "outputs": [], "source": [ "./do_sims.sh -w /opt/lago-corsika-77402/run/ -p miPrimeraSimulacion -v 77402 -u MiNombre -t 60 -s bga" ] @@ -271,9 +293,11 @@ ] }, { - "cell_type": "raw", - "id": "023c780f", + "cell_type": "code", + "execution_count": null, + "id": "328072e2", "metadata": {}, + "outputs": [], "source": [ "ls -lR | bzgrep \"END OF RUN\" *lst.bz2 | wc -l" ] @@ -288,9 +312,11 @@ ] }, { - "cell_type": "raw", - "id": "1de5511f", + "cell_type": "code", + "execution_count": null, + "id": "b7ce01ab", "metadata": {}, + "outputs": [], "source": [ "for i in DAT??????.bz2; do j=$(echo $i | sed -e 's/.bz2//'); u=$(echo $j | sed -e 's/DAT//'); bzip2 -d -k $i; echo $j | ../../../arti/analysis/lagocrkread | ../../../arti/analysis/analysis -p -v $u; rm $j; done" ]