-
Notifications
You must be signed in to change notification settings - Fork 38
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
Ectrans4py tests rebased #199
Ectrans4py tests rebased #199
Conversation
…ate (trans, etrans, biper); only single include directory
(cherry picked from commit 8d9307f)
…ans/cpu/; (ii) create separate ectrans_etrans_* libraries instead of patching ectrans_* libraries; (iii) re-introduced FFT992, but put it under a switch WITH_FFT992 everywhere; compiling/running with FFT992 instead of FFTW is probably still broken; (iv) temporarily added ellips.F90, which in fact should go into fiat.
I added some info in the README about how to build the python wheel and run tests |
Hey @AlexandreMary - thanks for this. This separate PR should make it easier to merge another PR that just contains CY50 contributions. Regarding your FFTW question, I am guessing that your CMake configure step is failing with "cannot find FFTW package" or something? Do you already have FFTW installed? You can compile it manually, or you can install it with a package manager. Once it's installed, you should be able to make it known to CMake by setting the CMake variable https://ecbuild.readthedocs.io/en/latest/find/FindFFTW.html If you have Intel MKL you can set the CMake variable Let me know how that goes. On every machine I've used it has "just worked" so I've not actually been through this myself. Happy to add some instructions to the README.md if you let me know if these instructions work. |
The ectrans4py python interface relies on ctypesForPython, which appears to be licensed under the CECILL-C license. |
Hi Olivier, As for splitting the first PR, OK, but now that the initial contribution has been rebased, and that Daan added some corrections, how can we get back to a version without ectrans4py ? With reverts ? :-( Alexandre |
@samhatfield with |
Okay, here's what I propose: we break up this pull request into three smaller pull requests:
They can be merged in this order. The 27 commits in this PR are neatly separated so we can build these three smaller PRs using cherry picking. I've prepared a branch for 1. here. It compares cleanly with develop: https://github.com/ecmwf-ifs/ectrans/compare/develop...samhatfield:add_etrans?expand=1 How does this look? If you're both happy with this, I can open the PR. |
OK for that, I can do the second branch, atop of the first one from Sam. |
@ddegrauwe can you confirm you're OK with Sam's branch ? |
No problem, I'll handle the third branch/PR. |
PR #203 opened. |
I have an issue building upon your
|
Good spot - it may be that we have to change the order of the PR creation so the "3. other contributions" comes first. Let me take a look :) |
Replaced by #205 |
As requested by @wdeconinck,
here are some tests of
ectrans4py
feature.They are python tests, as the purpose of this
ectrans4py
package is to call spectral transforms from Python (inEPyGrAM
).These tests were developed and passed on the original branch
ACCORD-NWP/to_CY50
(PR #171) but I wasn't able to test after rebasing onACCORD-NWP/to_CY50_rebased
(PR #172) because of I wasn't able to link with FFTW at build time, which is now mandatory apparently.Could you tell me (or rather document in the README) how to link properly with FFTW ?
Alexandre