Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ jobs:
make html
shell: micromamba-shell {0}

- name: Compile examples
run: |
mkdir examples/cpp/build && cd examples/cpp/build
cmake -DCMAKE_VERBOSE_MAKEFILE=yes -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX ..
make -j3
shell: micromamba-shell {0}

- name: Try to import libMobility
run: |
python -c "import libMobility"
Expand All @@ -73,7 +66,13 @@ jobs:
#Only SelfMobility tests can run in the CPU
pytest -sv -k SelfMobility tests/test*py
shell: micromamba-shell {0}


- name: Run examples
run: |
cd examples/
python example.py
shell: micromamba-shell {0}

- name: Install via pip
run: |
pip install -vv .
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:
dependencies:
- python <3.13
- cmake >=3.24
- cuda-version
- cuda-version <=13.1
- gxx >9,<15
- cuda-libraries-dev
- cuda-nvcc
Expand Down
File renamed without changes.
41 changes: 0 additions & 41 deletions examples/cpp/CMakeLists.txt

This file was deleted.

20 changes: 0 additions & 20 deletions examples/cpp/README.md

This file was deleted.

98 changes: 0 additions & 98 deletions examples/cpp/example.cu

This file was deleted.

112 changes: 0 additions & 112 deletions examples/cpp/example_gpu.cu

This file was deleted.

2 changes: 1 addition & 1 deletion examples/python/example.py → examples/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@

# Some solvers (e.g. SelfMobility) have no thermal drift and return all zeros.
# In general, the thermal drift is non-zero and other solvers (e.g. DPStokes) return a non-zero value.
linear_drift, _ = solver.thermalDrift()
linear_drift, _ = solver.divM()
print("Thermal drift:", linear_drift)
solver.clean()
Loading