Skip to content
Snippets Groups Projects
Commit ff642993 authored by JM Etancelin's avatar JM Etancelin
Browse files

[skip ci] update readme

parent 76a985a3
No related branches found
No related tags found
No related merge requests found
Pipeline #202210 skipped
......@@ -96,7 +96,7 @@ Your local directory 'hysop' is then shared inside the Docker Container in `shar
* `[imgname]` is either `ci_cpu_intel`,
which corresponds to Ubuntu 22.04 running with python3.12 and an Intel CPU OpenCL platform, or `ci_gpu_nvidia`, with an Nvidia GPU OpenCL platform (it requires host system driver compatible with cuda 12.0).
Next step is to install HySoP manually inside this containeri (see [installation instruction](#installation)).
Next step is to install HySoP manually inside this container (see [installation instruction](#installation) below).
From Sources:
============
......@@ -175,22 +175,26 @@ Components options :
Testing:
-------
HySoP installation:
First test that HySoP package have been properly installed (both python part and compiled library)
```
python3 -c "import hysop; print(hysop); print(dir(hysop))"
python3 -c "from hysop import f2hysop; print(f2hysop);print(dir(f2hysop))"
meson test -C ${BUILD_DIR}
```
To know if Opencl is present?
Then launch units tests shipped with the code
```
clinfo
meson test -C ${BUILD_DIR}
```
or
Finally one can try to launch all the provided examples from top directory of HySoP sources:
```
python3 -c 'import hysop; from hysop.testsenv import iter_clenv, __HAS_OPENCL_BACKEND__; print(next(iter(iter_clenv())) if __HAS_OPENCL_BACKEND__ else "");'
EXAMPLE_DIR=./hysop_examples/examples ./ci/scripts/run_examples.sh
```
Dependencies:
------------
Installing HySoP dependencies can be a lengthy process. That's why we prefer to use Docker Images to avoid this tedious installation phase. However, Docker utilities are rarely available on cluster computers, in which case all HySoP dependencies will have to be installed.
......
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