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 listed in fckit/requirements.txt. 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:
python3 -m pip download -r requirements.txt -d <dir-to-store-dependencies> \
--only-binary=:all: --python-version 310 --platform manylinux_2_17_x86_64
  1. scp/rsync/copy the directory containing the dependencies to the offline system.

  2. Add the following two arguments to the fckit CMake configuration step:

-DENABLE_FCKIT_VENV_OFFLINE=ON -DFCKIT_VENV_WHEEL_DIR=<dir-containing-dependencies>

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 Distribution

If you're not sure about the file name format, learn more about wheel file names.

fckitlib-0.13.5.dev20250506-cp311-cp311-manylinux_2_28_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

File details

Details for the file fckitlib-0.13.5.dev20250506-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.13.5.dev20250506-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8d0bb3b4bdc0886198db4682e38adca6168004c3640f6db65a6d8e1d347032a4
MD5 cccf320dfa4cb0f4b247be5d3a6b0189
BLAKE2b-256 1b5cd1cf749e70e64063d8d7bcfac0c659cb106a2569fc33991f797d7de202bf

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