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.dev20250725-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.dev20250725-cp313-cp313-macosx_13_0_arm64.whl (411.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

fckitlib-0.14.1.dev20250725-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.dev20250725-cp312-cp312-macosx_13_0_arm64.whl (411.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

fckitlib-0.14.1.dev20250725-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.dev20250725-cp311-cp311-macosx_13_0_arm64.whl (411.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

fckitlib-0.14.1.dev20250725-cp310-cp310-macosx_13_0_x86_64.whl (417.3 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

fckitlib-0.14.1.dev20250725-cp310-cp310-macosx_13_0_arm64.whl (411.5 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

fckitlib-0.14.1.dev20250725-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.dev20250725-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.dev20250725-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250725-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bc6d95d4e9f95c61d01b88e5a86c62d086558a8861ccd3db05ff98e16e39b3c3
MD5 b3d0f9dbfdd5fa89f0aacb93fa64ecf1
BLAKE2b-256 663772b1eaa202d2357f498948dd39ff73c28c1986b4124a833bb0bb3508c99e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250725-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fa918ba428e2e9a463d9648a003965144ba2b7877d6a325ee0b45bf7745bed72
MD5 477aedfdd2c26cc2f30d256d6250f9cf
BLAKE2b-256 321f4cc658ef0faa729d898f282425de43140c51908fff5100d14fc075deb328

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250725-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dbc541679b1e49d039b869b8db428b46ed625899fd0164d1b3065a7cd1ed2eff
MD5 2516cd7e580c03de639eb39158f81854
BLAKE2b-256 230735d384da2ee0cfbdbb172ca8423ebf91182588164cfdab1d0ea5dcc7b458

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250725-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250725-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ffa9cfccfe97f42e941756cdff244e35d5172f400dedcab312735a031e7f6800
MD5 5b070be82c08bfee3dd9d429f75a9d5a
BLAKE2b-256 8c6de7579c705913fbebe25226a51499fa9846920d7922dcf1337cba405de3ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250725-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 64981d89dd6537296b6e62b26ebd8a6f8e161edba0342bca902a48ee85e02fac
MD5 6d620b1e41c84a94318c9aa15bb184c5
BLAKE2b-256 e18c75b22822f6b37929e9f9523a10c9490012cf502c902c0264f0cc63309d82

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250725-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250725-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f58c075ae6e569959f56af94d3c357e8de9c6a9322a2d265c391a07b44a1562e
MD5 55a147159828ae5eef97a4d8bab99eee
BLAKE2b-256 2c3f013a7c2fa5b86c3a3c8b3c3569676d0e8df30a4dfcaa7db9909c00d90add

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250725-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250725-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 799b79ca7255cb8974633238d97dfff90bdea89f07c4e012dc2c63e3cf3e029d
MD5 f21f8b7e424c5407ac23543eaeb1dec0
BLAKE2b-256 7398d9835b16a52cb3634e056da6115e17cf48be2c40cd610871423edf5819e0

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.1.dev20250725-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250725-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0e32f32afde3df41d0dab76c865f53d91ff186c895576b483104fbddd8c8cb26
MD5 66bcc5c23e21cece86d2c0776bdce324
BLAKE2b-256 01ab8d765edbf7f32c012b73d82e9b06fbb55124faf89a1a925a1d8c277010b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250725-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 42bf74c392c264981538f5575e8c78f84399ab2aeb99720f9a2f56b52ab1dcc1
MD5 c735d312cb04e3f5ad8c3ec7c25421cb
BLAKE2b-256 b5aa983e59825b441f0f8bee32182c46fb29d839bdc1892d425ff87671bb4a85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250725-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 50a6c645d7ebdd2733539520025348d5bc1d748c391b167f2cb6bfb20c280c2b
MD5 b2599fefbc1b8c5471542b10f288e587
BLAKE2b-256 8898be8831a9b95ecbd0680e5f213c1866ae469c7fde54fb1dd9716e124c798c

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