From 2547e0fc111a3f732758d0636e4de4b4508b42ca Mon Sep 17 00:00:00 2001
From: David Chamont <chamont@in2p3.fr>
Date: Tue, 2 Jul 2024 10:04:03 +0200
Subject: [PATCH] ...

---
 README.md                                           | 7 +++++++
 docker/ubuntu_cuda_light/Dockerfile                 | 6 +++---
 docker/ubuntu_cuda_micromama_code_server/Dockerfile | 6 +++---
 docker/ubuntu_cuda_micromama_vscode/Dockerfile      | 6 +++---
 docker/ubuntu_light/Dockerfile                      | 5 ++---
 docker/ubuntu_micromama_code_server/Dockerfile      | 5 ++---
 docker/ubuntu_micromama_vscode/Dockerfile           | 5 ++---
 env.bash                                            | 2 +-
 8 files changed, 23 insertions(+), 19 deletions(-)

diff --git a/README.md b/README.md
index f0bc08a..1384ee2 100644
--- a/README.md
+++ b/README.md
@@ -73,6 +73,13 @@ cd GrayScottSeq
 ./coliru.bash
 ```
 
+## Virtual tutors
+
+*currently require a password*
+
+Prototyped with [Corolair](https://corolair.com/):
+- [Syclops](https://app.corolair.com/student/tutor/fdc62121-e847-4be5-a0df-a50c1bbd5b0a/chat) has read the [Data Parallel C++](https://link.springer.com/book/10.1007/978-1-4842-9691-2) book and can answer your questions the best he can. [Ask him !](https://app.corolair.com/student/tutor/fdc62121-e847-4be5-a0df-a50c1bbd5b0a/chat)
+
 
 ## SYCL Webography
 
diff --git a/docker/ubuntu_cuda_light/Dockerfile b/docker/ubuntu_cuda_light/Dockerfile
index 7279e94..dbbc3bb 100644
--- a/docker/ubuntu_cuda_light/Dockerfile
+++ b/docker/ubuntu_cuda_light/Dockerfile
@@ -1,9 +1,9 @@
 FROM ubuntu:22.04
 
 COPY docker/ubuntu_micromama_code_server/README.md /home/$MAMBA_USER/Examples/README.md
-COPY CheckOneApiCpu /home/$MAMBA_USER/Examples/CheckOneApiCpu
-COPY CheckOneApiCuda /home/$MAMBA_USER/Examples/CheckOneApiCuda
-COPY GrayScottSeq /home/$MAMBA_USER/Examples/GrayScottSeq
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclSetup.git
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclCpu.git
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclGpu.git
 
 # micromamba dockerfile makes use of SHELL. If it is overwritten
 # the auto-activate might not work
diff --git a/docker/ubuntu_cuda_micromama_code_server/Dockerfile b/docker/ubuntu_cuda_micromama_code_server/Dockerfile
index a025216..371090b 100644
--- a/docker/ubuntu_cuda_micromama_code_server/Dockerfile
+++ b/docker/ubuntu_cuda_micromama_code_server/Dockerfile
@@ -1,9 +1,9 @@
 FROM gitlab-registry.in2p3.fr/cta-lapp/cours/lecturedockerimages/ubuntu_micromamba_code_server:0.1
 
 COPY docker/ubuntu_micromama_code_server/README.md /home/$MAMBA_USER/Examples/README.md
-COPY CheckOneApiCpu /home/$MAMBA_USER/Examples/CheckOneApiCpu
-COPY CheckOneApiCuda /home/$MAMBA_USER/Examples/CheckOneApiCuda
-COPY GrayScottSeq /home/$MAMBA_USER/Examples/GrayScottSeq
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclSetup.git
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclCpu.git
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclGpu.git
 
 # micromamba dockerfile makes use of SHELL. If it is overwritten
 # the auto-activate might not work
diff --git a/docker/ubuntu_cuda_micromama_vscode/Dockerfile b/docker/ubuntu_cuda_micromama_vscode/Dockerfile
index 5e5d6ce..d4a16af 100644
--- a/docker/ubuntu_cuda_micromama_vscode/Dockerfile
+++ b/docker/ubuntu_cuda_micromama_vscode/Dockerfile
@@ -1,9 +1,9 @@
 FROM gitlab-registry.in2p3.fr/cta-lapp/cours/lecturedockerimages/ubuntu_micromamba_vscode:0.1
 
 COPY docker/ubuntu_micromama_code_server/README.md /home/$MAMBA_USER/Examples/README.md
-COPY CheckOneApiCpu /home/$MAMBA_USER/Examples/CheckOneApiCpu
-COPY CheckOneApiCuda /home/$MAMBA_USER/Examples/CheckOneApiCuda
-COPY GrayScottSeq /home/$MAMBA_USER/Examples/GrayScottSeq
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclSetup.git
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclCpu.git
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclGpu.git
 
 # micromamba dockerfile makes use of SHELL. If it is overwritten
 # the auto-activate might not work
diff --git a/docker/ubuntu_light/Dockerfile b/docker/ubuntu_light/Dockerfile
index 48aaa71..d05cfaa 100644
--- a/docker/ubuntu_light/Dockerfile
+++ b/docker/ubuntu_light/Dockerfile
@@ -1,9 +1,8 @@
 FROM ubuntu:22.04
 
 COPY docker/ubuntu_micromama_code_server/README.md /home/$MAMBA_USER/Examples/README.md
-COPY CheckOneApiCpu /home/$MAMBA_USER/Examples/CheckOneApiCpu
-COPY CheckOneApiCuda /home/$MAMBA_USER/Examples/CheckOneApiCuda
-COPY GrayScottSeq /home/$MAMBA_USER/Examples/GrayScottSeq
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclSetup.git
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclCpu.git
 
 # micromamba dockerfile makes use of SHELL. If it is overwritten
 # the auto-activate might not work
diff --git a/docker/ubuntu_micromama_code_server/Dockerfile b/docker/ubuntu_micromama_code_server/Dockerfile
index 8281b54..206658a 100644
--- a/docker/ubuntu_micromama_code_server/Dockerfile
+++ b/docker/ubuntu_micromama_code_server/Dockerfile
@@ -1,9 +1,8 @@
 FROM gitlab-registry.in2p3.fr/cta-lapp/cours/lecturedockerimages/ubuntu_micromamba_code_server:0.1
 
 COPY docker/ubuntu_micromama_code_server/README.md /home/$MAMBA_USER/Examples/README.md
-COPY CheckOneApiCpu /home/$MAMBA_USER/Examples/CheckOneApiCpu
-COPY CheckOneApiCuda /home/$MAMBA_USER/Examples/CheckOneApiCuda
-COPY GrayScottSeq /home/$MAMBA_USER/Examples/GrayScottSeq
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclSetup.git
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclCpu.git
 
 # micromamba dockerfile makes use of SHELL. If it is overwritten
 # the auto-activate might not work
diff --git a/docker/ubuntu_micromama_vscode/Dockerfile b/docker/ubuntu_micromama_vscode/Dockerfile
index 1672906..883054f 100644
--- a/docker/ubuntu_micromama_vscode/Dockerfile
+++ b/docker/ubuntu_micromama_vscode/Dockerfile
@@ -1,9 +1,8 @@
 FROM gitlab-registry.in2p3.fr/cta-lapp/cours/lecturedockerimages/ubuntu_micromamba_vscode:0.1
 
 COPY docker/ubuntu_micromama_code_server/README.md /home/$MAMBA_USER/Examples/README.md
-COPY CheckOneApiCpu /home/$MAMBA_USER/Examples/CheckOneApiCpu
-COPY CheckOneApiCuda /home/$MAMBA_USER/Examples/CheckOneApiCuda
-COPY GrayScottSeq /home/$MAMBA_USER/Examples/GrayScottSeq
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclSetup.git
+RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclCpu.git
 
 # micromamba dockerfile makes use of SHELL. If it is overwritten
 # the auto-activate might not work
diff --git a/env.bash b/env.bash
index 5d93fdf..580ce69 100644
--- a/env.bash
+++ b/env.bash
@@ -14,7 +14,7 @@ export PATH="${SCRIPT_DIR}/scripts:${PATH}"
 
 # aliases
 
-alias qclean=qclean.bash
+#alias qclean=qclean.bash
 
 # oneAPI setup
 
-- 
GitLab