Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Merge PyChaste #22

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add test instructions
  • Loading branch information
bdevans committed Oct 3, 2024
commit 3df46381b61710c3d87e9922d446d76865786583
3 changes: 2 additions & 1 deletion scripts/build_chaste.sh
Original file line number Diff line number Diff line change
@@ -54,14 +54,15 @@ cmake -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE} \

if [ "$Chaste_ENABLE_PYCHASTE" = "ON" ]; then
# Build and install PyChaste

echo "Building PyChaste..."
# make --no-print-directory -j$NCORES -C $CHASTE_BUILD_DIR
make --no-print-directory -j$NCORES -C $CHASTE_BUILD_DIR pychaste
python -m pip install --no-cache-dir --user numpy matplotlib petsc4py jupyterlab xvfbwrapper
# python -m pip install --no-cache-dir --user --no-deps pychaste/package
python -m pip install --no-cache-dir --user --no-deps $CHASTE_BUILD_DIR/pychaste/package

# Test PyChaste
# xvfb-run --server-args="-screen 0 1024x768x24" ctest -L pychaste
else
echo "PyChaste is not enabled."
make --no-print-directory -j$NCORES -C $CHASTE_BUILD_DIR # -f $CHASTE_BUILD_DIR/Makefile