diff --git a/CheckOneApiCpu/cmake.bash b/CheckOneApiCpu/cmake.bash index 23475ec7158d3833aa0b09d0a9b753c2822b071e..1011ab4c71d860703e55e8c95a6b41035634aabe 100755 --- a/CheckOneApiCpu/cmake.bash +++ b/CheckOneApiCpu/cmake.bash @@ -1,5 +1,4 @@ #!/usr/bin/env bash -clear rm -rf build mkdir -p build cd build diff --git a/CheckOneApiCpu/make.bash b/CheckOneApiCpu/make.bash index 1fad9c1379f604cdb0ee61e71b05f2ae96b78ed3..ed6a6fc04c1471000eaa92a564618e0575cb8ef9 100755 --- a/CheckOneApiCpu/make.bash +++ b/CheckOneApiCpu/make.bash @@ -1,4 +1,3 @@ #!/usr/bin/env bash -clear cd build make all diff --git a/CheckOneApiCpu/run.bash b/CheckOneApiCpu/run.bash index ad7cd2ab28c4096ebf2562d5f7b7aa5d7e8ff78b..b17e5f323a6bbb0aadbadb31317982bdc487cd48 100755 --- a/CheckOneApiCpu/run.bash +++ b/CheckOneApiCpu/run.bash @@ -1,3 +1,2 @@ #!/usr/bin/env bash -clear ./build/main.exe 1 diff --git a/CheckOneApiCpu/sycl-ls.bash b/CheckOneApiCpu/sycl-ls.bash index 2fd631a91963b63a1602e8823448f1c6ed6d8422..978fdc2b351131f06d90612ebb987352ba7a8b75 100755 --- a/CheckOneApiCpu/sycl-ls.bash +++ b/CheckOneApiCpu/sycl-ls.bash @@ -1,3 +1,2 @@ #!/usr/bin/env bash -clear sycl-ls diff --git a/CheckOneApiCuda/cmake.bash b/CheckOneApiCuda/cmake.bash index 23475ec7158d3833aa0b09d0a9b753c2822b071e..1011ab4c71d860703e55e8c95a6b41035634aabe 100755 --- a/CheckOneApiCuda/cmake.bash +++ b/CheckOneApiCuda/cmake.bash @@ -1,5 +1,4 @@ #!/usr/bin/env bash -clear rm -rf build mkdir -p build cd build diff --git a/CheckOneApiCuda/make.bash b/CheckOneApiCuda/make.bash index 1fad9c1379f604cdb0ee61e71b05f2ae96b78ed3..ed6a6fc04c1471000eaa92a564618e0575cb8ef9 100755 --- a/CheckOneApiCuda/make.bash +++ b/CheckOneApiCuda/make.bash @@ -1,4 +1,3 @@ #!/usr/bin/env bash -clear cd build make all diff --git a/CheckOneApiCuda/run.bash b/CheckOneApiCuda/run.bash index d5540969f87ab7901061ddcbe534dbb17ee9a997..729fa99356ba49bc88bdc5a63f846f965e5b5f20 100755 --- a/CheckOneApiCuda/run.bash +++ b/CheckOneApiCuda/run.bash @@ -1,3 +1,2 @@ #!/usr/bin/env bash -clear ./build/main.exe 2 diff --git a/CheckOneApiCuda/sycl-ls.bash b/CheckOneApiCuda/sycl-ls.bash index 2fd631a91963b63a1602e8823448f1c6ed6d8422..978fdc2b351131f06d90612ebb987352ba7a8b75 100755 --- a/CheckOneApiCuda/sycl-ls.bash +++ b/CheckOneApiCuda/sycl-ls.bash @@ -1,3 +1,2 @@ #!/usr/bin/env bash -clear sycl-ls diff --git a/README.md b/README.md index 3d4c90d29f8f2caa4b40acc8711e09a738edc3f4..08cbc47e5545667a4a7f04e480b7333e009632b8 100644 --- a/README.md +++ b/README.md @@ -23,33 +23,28 @@ Because the default compilation options on Code Reckons only generate the code f ## Running on Intel DevCloud -Provided you have asked for an account ahead of time, on the [Intel Tiber Developer Cloud for oneAPI](https://devcloud.intel.com/oneapi/home/), and made the Intel recommended local ssh installation, that is how you may run the demo `SquareBuffers` on an intel integrated GPU: +Provided you have asked for an account ahead of time, on the [Intel Tiber Developer Cloud for oneAPI](https://devcloud.intel.com/oneapi/home/), and made the Intel recommended local ssh installation, that is how you may run the tests with `qsub`: ``` ssh devcloud -git clone https://gitlab.in2p3.fr/chamont/grayscottchallenge.git -cd GrayScottChallenge -qsub -l nodes=1:gpu:ppn=2 -d . cmake-oneapi.sh -cd SquareBuffers -qsub -l nodes=1:gpu:ppn=2 -d . make.sh -qsub -l nodes=1:gpu:ppn=2 -d . run.sh -qstat -qdel ... +git clone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclSetup.git + +# check CPU nodes +cd GrayScottSyclSetup/CheckOneApiCpu +qsub -l nodes=1:xeon:ppn=2 -d . sycl-ls.bash +qsub -l nodes=1:xeon:ppn=2 -d . cmake.bash +qsub -l nodes=1:xeon:ppn=2 -d . make.bash +qsub -l nodes=1:xeon:ppn=2 -d . run.bash + +# Check GPU nodes +cd ../GrayScottSyclSetup/CheckOneApiCuda +qsub -l nodes=1:gpu:ppn=2 -d . sycl-ls.bash +qsub -l nodes=1:gpu:ppn=2 -d . cmake.bash +qsub -l nodes=1:gpu:ppn=2 -d . make.bash +qsub -l nodes=1:gpu:ppn=2 -d . run.bash ``` -Or, if you prefer to run on cpu: - -``` -... -qsub -l nodes=1:xeon:ppn=2 -d . cmake-oneapi.sh -... -qsub -l nodes=1:xeon:ppn=2 -d . make.sh -qsub -l nodes=1:xeon:ppn=2 -d . run.sh -... -``` - -## Using MUST conputing center - +One can check the status of current jobs with `qstat`, and remove them with `qdel`. ## Running Intel oneAPI with docker