Skip to main content

"fckitlib"

Project description

FCKit

fckit release version travis master travis develop codecov

Fortran toolkit for interoperating Fortran with C/C++.

In addition useful algorithms from ecKit are wrapped with Fortran.

Project website and reference documentation on released versions: https://confluence.ecmwf.int/display/FCKIT

fctest

Unit Testing Framwork for Fortran, made easy.

  • C Preprocessor Macros are used to make writing tests extremely fast
  • Tests in one file are bundled in a Test Suite (Fortran Module)
  • Python script generates a main program for a Test Suite
  • Driven by CMake build system ( and ctest )

To use in your ecbuild project

Simply add following line to your project's CMakeLists.txt

ecbuild_add_option( FEATURE FCTEST  DEFAULT ${ENABLE_TESTS}
                    DESCRIPTION "Fortran Unit Testing Framework"
                    REQUIRED_PACKAGES "NAME fckit" )

See src/examples folder how to add and create the unit-tests.

fckit

Various Fortran modules helpful to create mixed-language applications

  • MPI
  • Logging

Offline build of fckit Python virtual environment

An offline build/installation of the fckit Python virtual environment can be completed as follows:

  1. Download all necessary Python dependencies of src/fckit/fckit_yaml_reader. ruamel.yaml.clib is not a pure Python package, so we have to ensure a wheel compatible with the target platform is downloaded. pip compatibility tags for any system can be displayed using python3 -m pip debug --verbose, and buit-distributions (i.e. wheels) for ruamel.yaml.clib can be found here. For a linux installation based on an x86 architecture using Python3.10, the following command can be used:
FCKIT_WHEEL_ARCH=manylinux_2_17_x86_64 FCKIT_WHEEL_PYTHON_VERSION=310 ./populate

This will download all the wheels to <source-dir>/artifacts. It should be noted that if FCKIT_WHEEL_ARCH and FCKIT_WHEEL_PYTHON_VERSION are not specified then the wheels are downloaded for the calling system's Python interpreter.

  1. scp/rsync/copy the directory containing the dependencies to the offline system.

  2. Add the path to the artifacts directory to the fckit CMake configuration step, i.e. -DARTIFACTS_DIR=<path-to-artifacts-dir>.

License

Please read LICENSE.


ECMWF

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.

fckitlib-0.14.1.dev20250908-cp313-cp313-manylinux_2_28_x86_64.whl (13.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

fckitlib-0.14.1.dev20250908-cp313-cp313-macosx_13_0_x86_64.whl (417.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

fckitlib-0.14.1.dev20250908-cp313-cp313-macosx_13_0_arm64.whl (411.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

fckitlib-0.14.1.dev20250908-cp312-cp312-manylinux_2_28_x86_64.whl (13.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

fckitlib-0.14.1.dev20250908-cp312-cp312-macosx_13_0_x86_64.whl (417.3 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

fckitlib-0.14.1.dev20250908-cp311-cp311-manylinux_2_28_x86_64.whl (13.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

fckitlib-0.14.1.dev20250908-cp311-cp311-macosx_13_0_x86_64.whl (417.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

fckitlib-0.14.1.dev20250908-cp310-cp310-manylinux_2_28_x86_64.whl (13.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

fckitlib-0.14.1.dev20250908-cp39-cp39-manylinux_2_28_x86_64.whl (13.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

fckitlib-0.14.1.dev20250908-cp39-cp39-macosx_13_0_x86_64.whl (417.3 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

fckitlib-0.14.1.dev20250908-cp39-cp39-macosx_13_0_arm64.whl (411.5 kB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

Details for the file fckitlib-0.14.1.dev20250908-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250908-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e2cde44a224c43ee2693e1acda6c2ca0c03067c5a2df7e2b96becbb2592aff03
MD5 c73be70ee7fca7f43fd75ada8b0627ad
BLAKE2b-256 1a52fac348f20dac019e64a59b017baae9e7b5485f77c3af9499bccf77eceb23

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250908-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250908-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 43f3740083b159a1c69704a79d98489bb8860cefb2c4355b97bbed9438c565ab
MD5 a7693c01f592626add512e8587ad8796
BLAKE2b-256 c5e6970e97a6549e31396567ea81b7971be7f95f29e5095cb1d7ee06d30af460

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250908-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250908-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2ed13d6ad4115bf886112b5b3afe3f1e93a98ef51472e78f7fe16de57ad66f47
MD5 7041cdf9e5f011d3b9811ed259fccea3
BLAKE2b-256 4739861c0c26f984b605bd2ad541649730659d465827f17c0a0431ee53d40494

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250908-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250908-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 33befd376da999891887fad034e22e077b26073ae73c0bacde96ea32af490a65
MD5 9537f96e51676d4ea7ef823e5b75f63a
BLAKE2b-256 f53e8d309c3a5c5153033bcb7634193df078f2ba4dd0171d4342303841da40fb

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250908-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250908-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f7e8928518aaf8b4501a4b044197c12de65c86c7bea8744ff59ff544331c7d03
MD5 0d60c18278c3bbec8da97a0fc160014b
BLAKE2b-256 7d3c82de1485559d4fc5ec1be50889de711f0a7db15beda682a4e29da6b9f3e0

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250908-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250908-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 48d695985bba649d82a44909c53cb5dd706a2cd1ce9e06ee2c1b6e7d3436258b
MD5 6a4d5f25b6619c5987335744631353ca
BLAKE2b-256 18876ce79bf3732bf152dad318da83f52890d0d4a2981d9e9055b39b573955c4

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250908-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250908-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cf32e5dc631b99f13caff474f4e109c8cf5024241c28bec4df6123dbebc1ae3d
MD5 1fe1b69a585b1beae2c3297bf5517d7a
BLAKE2b-256 d72f5277da5ed0034f3cefdc93ab231d4777472dc8f9edeff53462a64220b69a

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250908-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250908-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 28b3c4a4e67eaca2ba1e0fd41b65337a8b0d00f4f9822952965dce486d48e7a2
MD5 53c1443b0ebfc7854b02989ec6f31f15
BLAKE2b-256 a25e05badbab401cbfb5c566546d7017b9c75743192a4dc9f8763f8eea948278

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250908-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250908-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d405d1023794270714074518bc8c26a546372ae73336e57dccd102a4c7676a83
MD5 2835904577161bbfebc416b73c89cf43
BLAKE2b-256 917629532baf3440784e9ce3a0671894b44e883f5f81e8b14acc97002446cceb

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250908-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250908-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 09dd3dbda62e07a79849609000707ffc64c088a4a586eace09dee8f029da4c44
MD5 244dbe28695a64573686d2b5c63ca6f3
BLAKE2b-256 213b34646af28a501a963b63710a19892e05ffa5be73b4eaec3f6d140805cd30

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250908-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250908-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d68a7746e7063d44a9dcb0f4e9b0c0eda9fdee807dad17c0510c776eab883f72
MD5 7bbb11e2c8da3ccb808b18d3afc42ef1
BLAKE2b-256 769978834092267120f3181d44d3f357860fe20765c4b6364a40fdf13fe68cbf

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