Skip to content

151 use pyccel 210#153

Merged
spossann merged 8 commits intodevelfrom
151-use-pyccel-210
Dec 12, 2025
Merged

151 use pyccel 210#153
spossann merged 8 commits intodevelfrom
151-use-pyccel-210

Conversation

@spossann
Copy link
Copy Markdown
Member

@spossann spossann commented Dec 12, 2025

Solves the following issue(s):

Closes #151

Things that did not work for me with pyccel 2.1:

  • using pyccel make ... I get the mysterious numpy error. Using pyccel compile ... I don't get this error.
  • pyccel make -d kernel_file.txt did not behave like a make file, i.e. it recompiled everything on the second call.
  • pyccel clean did not remove the .so files; pyccel clean -s removed alos numpy and scipy stuff that I had to reinstall afterwards.

@spossann spossann added the pyccel Compilation with pyccel label Dec 12, 2025
@spossann spossann linked an issue Dec 12, 2025 that may be closed by this pull request
@spossann
Copy link
Copy Markdown
Member Author

spossann commented Dec 12, 2025

Regarding the unit tests, the step for MPI unit tests says:

collecting ... testmon: The packages installed in your Python environment have been changed. All tests have to be re-executed. environment: default

Possible solutions:

  1. split serial from MPI tests in separate workflow
  2. run MPI tests first, then de-install mpi4py and run serial

I vote for option 1.

@spossann spossann marked this pull request as ready for review December 12, 2025 10:19
@spossann spossann requested a review from max-models December 12, 2025 10:19
Comment thread src/struphy/utils/utils.py
@spossann spossann merged commit 97dd3d3 into devel Dec 12, 2025
9 checks passed
@spossann spossann deleted the 151-use-pyccel-210 branch December 12, 2025 12:40
max-models pushed a commit that referenced this pull request Mar 20, 2026
**Solves the following issue(s):**

Closes #151

Things that did not work for me with pyccel 2.1:

- using `pyccel make ...` I get the [mysterious numpy
error](https://struphy-hub.github.io/struphy/sections/install.html#compilation-problems).
Using `pyccel compile ...` I don't get this error.
- `pyccel make -d kernel_file.txt` did not behave like a make file, i.e.
it recompiled everything on the second call.
- `pyccel clean` did not remove the .so files; `pyccel clean -s` removed
alos numpy and scipy stuff that I had to reinstall afterwards.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pyccel Compilation with pyccel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use pyccel 2.1.0

2 participants