forked from ecmwf-ifs/ectrans
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Python binding ectrans4py
#6
Closed
AlexandreMary
wants to merge
141
commits into
ACCORD-NWP:main
from
AlexandreMary:ectrans4py_isolated_and_rebased
Closed
Python binding ectrans4py
#6
AlexandreMary
wants to merge
141
commits into
ACCORD-NWP:main
from
AlexandreMary:ectrans4py_isolated_and_rebased
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Remove non-standard SIZEOF from GPU subtree Resolves ecmwf-ifs#160.
This reverts commit 3cde5bc.
* use gather for dumping
ACCGPU is not defined because it is PRIVATE. _OPENACC is the right define to use here because it is enabled whenever the code is compiled with OpenACC support.
[ 97%] Building Fortran object ectrans/src/programs/CMakeFiles/ectrans-benchmark-gpu-dp.dir/ectrans-benchmark.F90.o Global is external, but doesn't have external or weak linkage! ptr @"str2int$ectrans_benchmark_" Global is external, but doesn't have external or weak linkage! ptr @"print_help$ectrans_benchmark_" LLVM ERROR: Broken module found, compilation aborted! ftn-2116 ftn: INTERNAL
At some point this error started appearing from CCE/17: Global is external, but doesn't have external or weak linkage! ptr @"str2int$ectrans_benchmark_" Global is external, but doesn't have external or weak linkage! ptr @"print_help$ectrans_benchmark_" LLVM ERROR: Broken module found, compilation aborted! ftn-2116 ftn: INTERNAL The error is resolved by moving the routine definitions above their first usage. Cause unknown.
The latter isn't supported with the Cray compiler. Co-authored-by: Lukas Mosimann <[email protected]>
Refresh AMD support
… reverted once ecmwf-ifs#151 is merged
…omials Compact legendre polynomials
Add missing C_LOC import
…riggering Add approved manual triggering of build-hpc action
…ate (trans, etrans, biper); only single include directory
…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.
Commit 8622da1 changed D%NSTAGTF from JPIM to JPIB.
(cherry picked from commit 8d9307f)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This branch, based on PRs ecmwf-ifs#203 and ecmwf-ifs#204, introduces the Python binding
ectrans4py
.This is a Python interface to some
ectrans
functions, mainly the necessary routines to be able to:It uses
ctypesForFortran
Python package for the Fortran<>Python interface.Note: version number is duplicated in
src/ectrans4py/__init__.py
for now, until better solution.Replaces PR ecmwf-ifs#199