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.13.5.dev20250529-cp312-cp312-macosx_13_0_arm64.whl (414.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

fckitlib-0.13.5.dev20250529-cp311-cp311-macosx_13_0_x86_64.whl (416.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

fckitlib-0.13.5.dev20250529-cp310-cp310-macosx_13_0_x86_64.whl (416.1 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

fckitlib-0.13.5.dev20250529-cp310-cp310-macosx_13_0_arm64.whl (414.2 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

fckitlib-0.13.5.dev20250529-cp39-cp39-macosx_13_0_arm64.whl (414.2 kB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

Details for the file fckitlib-0.13.5.dev20250529-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for fckitlib-0.13.5.dev20250529-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6cb0e361676a6c9f374b17a8ee3ed04dcc681d55d0b44b934cecd69a7d873a8e
MD5 ef40a1af2cfd7e61b060340df4c42369
BLAKE2b-256 c0745195bc4b4495aaebf09e01d2096966209ffa77f942d8716e365a0033fd81

See more details on using hashes here.

File details

Details for the file fckitlib-0.13.5.dev20250529-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.13.5.dev20250529-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fb7db30963d7cc62826d7d2f7560626cadbde8b6b5b18954096593f40e8bbc69
MD5 8d5eeea32c614d6f33cbf231e4f2158e
BLAKE2b-256 8f54ba55c0e5896b99f67972f71be8bcae1a8a3a91a40c45afe3dbdc62d477b1

See more details on using hashes here.

File details

Details for the file fckitlib-0.13.5.dev20250529-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.13.5.dev20250529-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 814ae0dbf3ad88ece91c9961da9c01fc46ae225ae00f1fc78b2dd2af711e3d0a
MD5 8526ebb725db2d6467a45e07cb437a44
BLAKE2b-256 01dc71ac90ac53d969958c285844dd9879e71d2dbe9ac840d737e21a57c55a8a

See more details on using hashes here.

File details

Details for the file fckitlib-0.13.5.dev20250529-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for fckitlib-0.13.5.dev20250529-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 00583571cb5e5a4d910b4f90805bb2584055cbaf4752c934154bc3589fb148a3
MD5 5e3e79296deb37daf3897ce5c7e09cec
BLAKE2b-256 2524b60076e04a17c9b12e55e0ebed8748699d2b484ea21b3e06bd1536078baa

See more details on using hashes here.

File details

Details for the file fckitlib-0.13.5.dev20250529-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for fckitlib-0.13.5.dev20250529-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f9c12f8f2500b6d549d512a98eead1778a758457da3149db40989a5619be171c
MD5 0898096d9b3bd5ba647532afe16f2e6f
BLAKE2b-256 b6a7925de34913e140486bbb5f3bf4743080cfea180a225136f09c6298d8b209

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