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 of src/fckit/fckit_yaml_reader.
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:
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.
-
scp/rsync/copy the directory containing the dependencies to the offline system.
-
Add the path to the
artifactsdirectory to the fckit CMake configuration step, i.e.-DARTIFACTS_DIR=<path-to-artifacts-dir>.
License
Please read LICENSE.
ECMWF
Metadata
Release files for fckitlib 0.13.5.dev20250529
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| fckitlib-0.13.5.dev20250529-cp312-cp312-macosx_13_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 13.0+ ARM64 | Details |
| fckitlib-0.13.5.dev20250529-cp311-cp311-macosx_13_0_x86_64.whl | CPython 3.11 | CPython 3.11 | macOS 13.0+ x86-64 | Details |
| fckitlib-0.13.5.dev20250529-cp310-cp310-macosx_13_0_x86_64.whl | CPython 3.10 | CPython 3.10 | macOS 13.0+ x86-64 | Details |
| fckitlib-0.13.5.dev20250529-cp310-cp310-macosx_13_0_arm64.whl | CPython 3.10 | CPython 3.10 | macOS 13.0+ ARM64 | Details |
| fckitlib-0.13.5.dev20250529-cp39-cp39-macosx_13_0_arm64.whl | CPython 3.9 | CPython 3.9 | macOS 13.0+ ARM64 | Details |
Total release size: 2.1 MB
Release files / fckitlib-0.13.5.dev20250529-cp312-cp312-macosx_13_0_arm64.whl
| Download URL | fckitlib-0.13.5.dev20250529-cp312-cp312-macosx_13_0_arm64.whl |
|---|---|
| Size | 414.2 kB |
| Tags | CPython 3.12 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6cb0e361676a6c9f374b17a8ee3ed04dcc681d55d0b44b934cecd69a7d873a8e
|
|
BLAKE2b-256 checksum How to use checksums |
c0745195bc4b4495aaebf09e01d2096966209ffa77f942d8716e365a0033fd81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.9
|
Release files / fckitlib-0.13.5.dev20250529-cp311-cp311-macosx_13_0_x86_64.whl
| Download URL | fckitlib-0.13.5.dev20250529-cp311-cp311-macosx_13_0_x86_64.whl |
|---|---|
| Size | 416.1 kB |
| Tags | CPython 3.11 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
fb7db30963d7cc62826d7d2f7560626cadbde8b6b5b18954096593f40e8bbc69
|
|
BLAKE2b-256 checksum How to use checksums |
8f54ba55c0e5896b99f67972f71be8bcae1a8a3a91a40c45afe3dbdc62d477b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.11
|
Release files / fckitlib-0.13.5.dev20250529-cp310-cp310-macosx_13_0_x86_64.whl
| Download URL | fckitlib-0.13.5.dev20250529-cp310-cp310-macosx_13_0_x86_64.whl |
|---|---|
| Size | 416.1 kB |
| Tags | CPython 3.10 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
814ae0dbf3ad88ece91c9961da9c01fc46ae225ae00f1fc78b2dd2af711e3d0a
|
|
BLAKE2b-256 checksum How to use checksums |
01dc71ac90ac53d969958c285844dd9879e71d2dbe9ac840d737e21a57c55a8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.16
|
Release files / fckitlib-0.13.5.dev20250529-cp310-cp310-macosx_13_0_arm64.whl
| Download URL | fckitlib-0.13.5.dev20250529-cp310-cp310-macosx_13_0_arm64.whl |
|---|---|
| Size | 414.2 kB |
| Tags | CPython 3.10 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
00583571cb5e5a4d910b4f90805bb2584055cbaf4752c934154bc3589fb148a3
|
|
BLAKE2b-256 checksum How to use checksums |
2524b60076e04a17c9b12e55e0ebed8748699d2b484ea21b3e06bd1536078baa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.16
|
Release files / fckitlib-0.13.5.dev20250529-cp39-cp39-macosx_13_0_arm64.whl
| Download URL | fckitlib-0.13.5.dev20250529-cp39-cp39-macosx_13_0_arm64.whl |
|---|---|
| Size | 414.2 kB |
| Tags | CPython 3.9 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f9c12f8f2500b6d549d512a98eead1778a758457da3149db40989a5619be171c
|
|
BLAKE2b-256 checksum How to use checksums |
b6a7925de34913e140486bbb5f3bf4743080cfea180a225136f09c6298d8b209
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.21
|