Skip to content

Commit

Permalink
Fix Gitpod integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed May 31, 2023
1 parent 442de9f commit 2ae797e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ tasks:
init: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends build-essential cmake ffmpeg libboost-all-dev libfftw3-dev libgsl-dev libpython3-dev openmpi-common
pip install --no-cache cython
pip install --no-cache numpy scipy matplotlib pint tqdm --constraint requirements.txt
pip install --no-cache cython numpy scipy matplotlib pint tqdm --constraint requirements.txt
pip install --no-cache nbformat notebook jupyterlab 'jupyter_contrib_nbextensions==0.5.1'
jupyter contrib nbextension install --user
jupyter nbextension enable rubberband/main
Expand All @@ -18,12 +17,11 @@ tasks:
command: |
mkdir build
cd build
cmake .. -D ESPRESSO_BUILD_WITH_GSL=ON
cmake .. -D ESPRESSO_BUILD_WITH_GSL=ON -D ESPRESSO_BUILD_WITH_WALBERLA=ON
make
make tutorials
for f in doc/tutorials/*/*.ipynb; do echo "configuring ${f}"; ./pypresso doc/tutorials/convert.py exercise2 --to-vscode-jupyter ${f}; done
sed -i 's/espressomd.lb.LBFluidGPU/espressomd.lb.LBFluid/; s/LB_BOUNDARIES_GPU/LB_BOUNDARIES/;' doc/tutorials/lattice_boltzmann/lattice_boltzmann_poiseuille_flow.ipynb
sed -i 's/espressomd.lb.LBFluidGPU/espressomd.lb.LBFluid/; s/, \\"CUDA\\"\]/]/;' doc/tutorials/active_matter/active_matter.ipynb
sed -i 's/espressomd.lb.LBFluidWalberlaGPU/espressomd.lb.LBFluidWalberla/; s/, \\"CUDA\\"\]/]/;' doc/tutorials/lattice_boltzmann/lattice_boltzmann_poiseuille_flow.ipynb doc/tutorials/active_matter/active_matter.ipynb
vscode:
extensions:
Expand Down

0 comments on commit 2ae797e

Please sign in to comment.