From 0c8fc45e5c980f2154edeba0136ef53d5c5c8950 Mon Sep 17 00:00:00 2001 From: Martin Schroschk <martin.schroschk@tu-dresden.de> Date: Fri, 4 Mar 2022 14:36:44 +0100 Subject: [PATCH] Add missing prompts #274 --- .../jobs_and_resources/checkpoint_restart.md | 2 +- .../docs/software/containers.md | 16 ++++++++-------- .../docs/software/scs5_software.md | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc.zih.tu-dresden.de/docs/jobs_and_resources/checkpoint_restart.md b/doc.zih.tu-dresden.de/docs/jobs_and_resources/checkpoint_restart.md index 38d6686d7..39fb25e95 100644 --- a/doc.zih.tu-dresden.de/docs/jobs_and_resources/checkpoint_restart.md +++ b/doc.zih.tu-dresden.de/docs/jobs_and_resources/checkpoint_restart.md @@ -64,7 +64,7 @@ of MPI applications, you have to add the parameters `--ib --rm` and put it betwe application call, e.g.: ```bash -srun dmtcp_launch --ib --rm ./my-mpi-application +marie@login$ srun dmtcp_launch --ib --rm ./my-mpi-application ``` !!! note diff --git a/doc.zih.tu-dresden.de/docs/software/containers.md b/doc.zih.tu-dresden.de/docs/software/containers.md index 0d96479e3..5d96ea37f 100644 --- a/doc.zih.tu-dresden.de/docs/software/containers.md +++ b/doc.zih.tu-dresden.de/docs/software/containers.md @@ -175,20 +175,20 @@ recommended. The steps are: ```console # Start a docker registry -$ docker run -d -p 5000:5000 --restart=always --name registry registry:2 +marie@local$ docker run -d -p 5000:5000 --restart=always --name registry registry:2 # Push local docker container to it -$ docker tag alpine localhost:5000/alpine -$ docker push localhost:5000/alpine +marie@local$ docker tag alpine localhost:5000/alpine +marie@local$ docker push localhost:5000/alpine # Create def file for singularity like this... -$ cat example.def +marie@local$ cat example.def Bootstrap: docker Registry: <a href="http://localhost:5000" rel="nofollow" target="_blank">http://localhost:5000</a> From: alpine # Build singularity container -$ singularity build --nohttps alpine.sif example.def +marie@local$ singularity build --nohttps alpine.sif example.def ``` #### Start from a Dockerfile @@ -325,20 +325,20 @@ singularity build my-container.sif example.def Then you can run your application via ```console -singularity run my-container.sif first_arg 2nd_arg +marie@login$ singularity run my-container.sif first_arg 2nd_arg ``` Alternatively you can execute the container directly which is equivalent: ```console -./my-container.sif first_arg 2nd_arg +marie@login$ ./my-container.sif first_arg 2nd_arg ``` With this you can even masquerade an application with a singularity container as if it was an actual program by naming the container just like the binary: ```console -mv my-container.sif myCoolAp +marie@login$ mv my-container.sif myCoolAp ``` ### Use-Cases diff --git a/doc.zih.tu-dresden.de/docs/software/scs5_software.md b/doc.zih.tu-dresden.de/docs/software/scs5_software.md index 134d81204..e6a4fee01 100644 --- a/doc.zih.tu-dresden.de/docs/software/scs5_software.md +++ b/doc.zih.tu-dresden.de/docs/software/scs5_software.md @@ -49,7 +49,7 @@ still work under SCS5. That's why those modenv versions are hidden. Example: ```Bash -$ ml modenv/classic ansys/19.0 +marie@login$ ml modenv/classic ansys/19.0 The following have been reloaded with a version change: 1) modenv/scs5 => modenv/classic -- GitLab