Skip to main content

ECTRANS interface for Python

Project description

ecTrans


Introduction

ecTrans is the global spherical Harmonics transforms library, extracted from the IFS. It is using a hybrid of MPI and OpenMP parallelisation strategies. The package contains both single- and double precision Fortran libraries (trans_sp, trans_dp), as well as a C interface to the double-precision version (transi_dp)

License

Trans is distributed under the Apache License Version 2.0. See LICENSE file for details.

Installing ecTrans

Supported Platforms

  • Linux
  • Apple MacOS

Other UNIX-like operating systems may work too out of the box.

Requirements

Further optional recommended dependencies:

Building ecTrans

Building and installing Trans happens via CMake, which provides automatic detection for third-party libraries in standard locations and helps cross-plaform portability. There are multiple ways to help CMake discover packages in non-standard locations. One explicit way is to e.g. set environment variables for each dependency.

Environment variables

$ export ecbuild_ROOT=<path-to-ecbuild>
$ export fiat_ROOT=<path-to-fiat>
$ export CC=<path-to-C-compiler>
$ export FC=<path-to-Fortran-compiler>

You must compile FIAT out-of-source, so create a build-directory (anywhere)

$ mkdir build && cd build

Configuration of the build happens through standard CMake

$ cmake

Extra options can be added to the cmake command to control the build:

  • -DCMAKE_BUILD_TYPE=<Debug|RelWithDebInfo|Release|Bit> default=RelWithDebInfo (typically -O2 -g)
  • -DENABLE_TESTS=<ON|OFF> default=ON
  • -DENABLE_SINGLE_PRECISION=<ON|OFF> default=ON
  • -DENABLE_DOUBLE_PRECISION=<ON|OFF> default=ON
  • -DENABLE_TRANSI=<ON|OFF> default=ON
  • -DENABLE_MKL=<ON|OFF> default=ON
  • -DCMAKE_INSTALL_PREFIX=<install-prefix>

More options to control compilation flags, only when defaults are not sufficient

  • -DCMAKE_Fortran_FLAGS=<fortran-flags>
  • -DCMAKE_C_FLAGS=<c-flags>

Once this has finished successfully, run make and make install.

Optionally, tests can be run to check succesful compilation, when the feature TESTS is enabled (-DENABLE_TESTS=ON, default ON)

$ ctest

Reporting Bugs

TODO

Contributing

TODO

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ectrans4py-1.2.51-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ x86-64

ectrans4py-1.2.51-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

ectrans4py-1.2.51-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

ectrans4py-1.2.51-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

ectrans4py-1.2.51-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

Details for the file ectrans4py-1.2.51-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ectrans4py-1.2.51-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8611ccb1b271899dfd67d2b4be872e67e7124041bef942274650aaf14b748427
MD5 ae1c571b58d4a57763af4fed7ec2e698
BLAKE2b-256 4d0a7dc0004ba13a8db1e168a1bddfd1f839d000121d3805b437dc7439ae6bf7

See more details on using hashes here.

File details

Details for the file ectrans4py-1.2.51-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ectrans4py-1.2.51-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 36da4b38657ba340e492204d45c07a32f425d44d4ffc80581da6c7feb035a478
MD5 a168e502ad615db876ef22077a91f3f7
BLAKE2b-256 2aa3dcb3fcb4f82e9643be4b9e5a19e39c567222780e2c94448d5f3931db8aa7

See more details on using hashes here.

File details

Details for the file ectrans4py-1.2.51-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ectrans4py-1.2.51-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0ad397d31bc9eaea6b71105eb367eb512668d0b9185d42858a22bce9164fa28d
MD5 e2d8a6f544167d05acab4771b343bf68
BLAKE2b-256 e69b8122fae3a19f40fbd1f5f2b2c5af4bdece917e07605bb61a45792b5d4151

See more details on using hashes here.

File details

Details for the file ectrans4py-1.2.51-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ectrans4py-1.2.51-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 59f175609460357e22c90e2f3c0b9b009f3115aee781b1748fe95d7a80b5c106
MD5 218560da06520e85e9ae6a94b403225f
BLAKE2b-256 6f544eac6b4971f9544d1905e127cff04c21281443653de834f8ac651adb1e0d

See more details on using hashes here.

File details

Details for the file ectrans4py-1.2.51-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ectrans4py-1.2.51-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6ce8aa97d3f95559fd42c2b792121270b16acfe4cfcd649784efee9fde3f7424
MD5 a2f139ddeb41ab8c23074d6fb61ebdd7
BLAKE2b-256 f53e932efdae1b3a1018799f8b4801012ded90c6b76cd86e8a39bfc8751e8156

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page