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.dev20250909-cp312-cp312-macosx_13_0_arm64.whl (411.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

fckitlib-0.14.1.dev20250909-cp311-cp311-macosx_13_0_arm64.whl (411.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

fckitlib-0.14.1.dev20250909-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.dev20250909-cp310-cp310-macosx_13_0_arm64.whl (411.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250909-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7dd1457d14973cd8d24f8cf504a0457bbc483dc6e505bb26d3da842fc93367b2
MD5 5bb2f809eac31dadd81161ce3a59c34e
BLAKE2b-256 a99341d6b062f9687d5da2e2ce5207412cdb1cb482ffcaeb8729e090e9877857

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250909-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0330c8ed0c2a97b6dfb878dfc856e207d0797396cf3590e6579dcf0833ddab03
MD5 ac47e3a1395314c8699c45c65c1c2334
BLAKE2b-256 d991ff7fb74be1805ebf983e74c6004f9b1ee6ec1263660df81c3524c049919e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250909-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c3ccdd58440a30fa637de4d7575722539f2eba64c3cbe014b156f5309079c667
MD5 6e9e27fb0e276e015810d7b8285eee12
BLAKE2b-256 ad2e899b53f54576bee1c4c08be7046ee1276fae95e735952619a9e0294d4d55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fckitlib-0.14.1.dev20250909-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 57fef8bdb3d271cfd3eba2a393416bd29f625ae96e2d11302a8d5e7d04762352
MD5 4038844191518c2902f74563d9a18ff1
BLAKE2b-256 f4cba4312087b1e22cf1149b5d6a8bf9cf5a488314a546a77d872151e9a9c979

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