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.0.1-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.0.1-cp313-cp313-macosx_13_0_x86_64.whl (417.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

fckitlib-0.14.0.1-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.0.1-cp311-cp311-macosx_13_0_x86_64.whl (417.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

fckitlib-0.14.0.1-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.0.1-cp310-cp310-macosx_13_0_x86_64.whl (417.2 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file fckitlib-0.14.0.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.0.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 652df1258c5a100f990407d2c3cc8e9c3fbb54232069bc9324cce029f3f3c468
MD5 578ce947a9f5a3655fac0d5eaf938750
BLAKE2b-256 841e7b57ddb94ac2e216e0f60c2c7826fd6171e4352a94fcedada0ef02cad2c3

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.0.1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.0.1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 037c9e3a65d5cebbdc4635559f94bf1190a5cc9072c75c3b563eabdf1e611403
MD5 78d9a2e3538b804346bd157a3c16d401
BLAKE2b-256 fad68ef213717585ef4c4b7e6eaa757cea9a9b81a3e42ccb87e6c4107365fe44

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.0.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.0.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6319652ff7f97333bd02da0ef3384cce257c1c76e84e4b4b4edf127b4fdb7387
MD5 c9df8d47713ec9b0d9e677734e582ceb
BLAKE2b-256 753006cae263542de74b0e210ceccd6fcba7cfc29d8c5b06ee60998a403639ec

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.0.1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.0.1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fa7f7c672213352a1868c05a9127313558de59baed367895f534248dd3400e35
MD5 b2e4b5b7e6a1dec30907cb12641e394b
BLAKE2b-256 6e9b32bf776867fb17159c717bd48289b0023a8a4221ad05bca340804a5673a4

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.0.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.0.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7d76c3b17e5f482222852b4da4c27dcf7cf72375cdd5ca9c46cea959acf7681a
MD5 23802250671919f5d03fb212a1bc35e5
BLAKE2b-256 795624470324018835be5bb9d021be201b53928e2543dad0babef4e18b3de9ad

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.0.1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.0.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 308bdecf4f4fd9767095fabb77ddced05e0c313469db93a174a3815bab575263
MD5 ee80f2e9c6d33dc50b06c1db31d46926
BLAKE2b-256 2c581b519f86a079782c370fd2ec7e217fcbc2e960bc89ce4bc3e395aabcf555

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.0.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.0.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4374b6b6fb645a305e3f590771cad50725715dfb0af2d19f6aa9090960a8ac68
MD5 c04402e234299e40d4256eda7020a784
BLAKE2b-256 91b339924955b8f96f0f1ade11379936e6c215c49283ca33b3a9d6493b727462

See more details on using hashes here.

File details

Details for the file fckitlib-0.14.0.1-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.14.0.1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 62aad47eac8809152174675b755530044992dd6ec7f5081cc95827128e69ded5
MD5 b7d5800a6da5afd1049a486c036c0318
BLAKE2b-256 eb1333f082c894e0ac7a345189eca7ffd5dad29f8d59d667175ba9b78946b654

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