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.14.1.dev20250909
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.14.1.dev20250909-cp312-cp312-macosx_13_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 13.0+ ARM64 | Details |
| fckitlib-0.14.1.dev20250909-cp311-cp311-macosx_13_0_arm64.whl | CPython 3.11 | CPython 3.11 | macOS 13.0+ ARM64 | Details |
| fckitlib-0.14.1.dev20250909-cp310-cp310-macosx_13_0_x86_64.whl | CPython 3.10 | CPython 3.10 | macOS 13.0+ x86-64 | Details |
| fckitlib-0.14.1.dev20250909-cp310-cp310-macosx_13_0_arm64.whl | CPython 3.10 | CPython 3.10 | macOS 13.0+ ARM64 | Details |
Total release size: 1.7 MB
Release files / fckitlib-0.14.1.dev20250909-cp312-cp312-macosx_13_0_arm64.whl
| Download URL | fckitlib-0.14.1.dev20250909-cp312-cp312-macosx_13_0_arm64.whl |
|---|---|
| Size | 411.6 kB |
| Tags | CPython 3.12 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7dd1457d14973cd8d24f8cf504a0457bbc483dc6e505bb26d3da842fc93367b2
|
|
BLAKE2b-256 checksum How to use checksums |
a99341d6b062f9687d5da2e2ce5207412cdb1cb482ffcaeb8729e090e9877857
|
| 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.14.1.dev20250909-cp311-cp311-macosx_13_0_arm64.whl
| Download URL | fckitlib-0.14.1.dev20250909-cp311-cp311-macosx_13_0_arm64.whl |
|---|---|
| Size | 411.5 kB |
| Tags | CPython 3.11 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0330c8ed0c2a97b6dfb878dfc856e207d0797396cf3590e6579dcf0833ddab03
|
|
BLAKE2b-256 checksum How to use checksums |
d991ff7fb74be1805ebf983e74c6004f9b1ee6ec1263660df81c3524c049919e
|
| 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.14.1.dev20250909-cp310-cp310-macosx_13_0_x86_64.whl
| Download URL | fckitlib-0.14.1.dev20250909-cp310-cp310-macosx_13_0_x86_64.whl |
|---|---|
| Size | 417.3 kB |
| Tags | CPython 3.10 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
c3ccdd58440a30fa637de4d7575722539f2eba64c3cbe014b156f5309079c667
|
|
BLAKE2b-256 checksum How to use checksums |
ad2e899b53f54576bee1c4c08be7046ee1276fae95e735952619a9e0294d4d55
|
| 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.14.1.dev20250909-cp310-cp310-macosx_13_0_arm64.whl
| Download URL | fckitlib-0.14.1.dev20250909-cp310-cp310-macosx_13_0_arm64.whl |
|---|---|
| Size | 411.6 kB |
| Tags | CPython 3.10 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
57fef8bdb3d271cfd3eba2a393416bd29f625ae96e2d11302a8d5e7d04762352
|
|
BLAKE2b-256 checksum How to use checksums |
f4cba4312087b1e22cf1149b5d6a8bf9cf5a488314a546a77d872151e9a9c979
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.16
|