This release is a pre-release and may not be stable for production use.
FCKit
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:
- Download all necessary Python dependencies listed in fckit/requirements.txt.
ruamel.yaml.clibis 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 usingpython3 -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
-
scp/rsync/copy the directory containing the dependencies to the offline system.
-
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
Metadata
Release files for fckitlib 0.13.5.dev20250507
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fckitlib-0.13.5.dev20250507-cp311-cp311-manylinux_2_28_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.28+ x86-64 | Details |
| fckitlib-0.13.5.dev20250507-1-cp311-cp311-manylinux_2_28_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.28+ x86-64 | Details |
Total release size: 2.8 MB
Release files / fckitlib-0.13.5.dev20250507-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | fckitlib-0.13.5.dev20250507-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
5c19e001a4bc1b8416638640d6ad5a90bc939b04f5775d372ce09c87d87ad14e
|
|
BLAKE2b-256 checksum How to use checksums |
9a684c04fda3a5cec476a8d06315b4835f6869bb918a71d002fc70ae24d92a80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.10
|
Release files / fckitlib-0.13.5.dev20250507-1-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | fckitlib-0.13.5.dev20250507-1-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
4feede941e8d42a003084e3310dc7e3d6a19ed34a522fd48821f7cf00487d59c
|
|
BLAKE2b-256 checksum How to use checksums |
73cdd58801219e5a73cc5b69feb4b10b93e88ad97d275135a2d09cd5bf2b3c5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.10
|