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 Distributions

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

fckitlib-0.13.5.dev0-cp313-cp313-manylinux_2_28_x86_64.whl (13.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

fckitlib-0.13.5.dev0-cp312-cp312-manylinux_2_28_x86_64.whl (13.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

fckitlib-0.13.5.dev0-cp311-cp311-manylinux_2_28_x86_64.whl (13.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

fckitlib-0.13.5.dev0-cp310-cp310-manylinux_2_28_x86_64.whl (13.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

fckitlib-0.13.5.dev0-cp39-cp39-manylinux_2_28_x86_64.whl (13.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

File details

Details for the file fckitlib-0.13.5.dev0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.13.5.dev0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 46ff1d802bda317541d254076190b9c5b671824e299ee2250b16cd3077dc2524
MD5 a779ecf2f9c0d32ef8db99e648271069
BLAKE2b-256 ca2e686f6f96d1515a4692fd6d05fd97d2ef32caa8f2755d7e75ab5a522eef2a

See more details on using hashes here.

File details

Details for the file fckitlib-0.13.5.dev0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.13.5.dev0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3c7e50f87157cf15fc509aa8bddaa49fbc37212d1830aa6ebe64890694d6acb9
MD5 d4922d54cc86d55c212b3317976378cb
BLAKE2b-256 18f145bb289a6081c8c0f14e36fa8fa38b1b9379b971244d2719579bf18c5f80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fckitlib-0.13.5.dev0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 15f1eb1e04af746d30f9ee5731803d65d428b1024dbcbf48b47d3561a1051da0
MD5 d4acfa0acc2bbcf850951381ae5653ad
BLAKE2b-256 5cf5e89e3faba7a99501bdb7c2e4f9448f4fc3513a696549e0b6e01b603314dd

See more details on using hashes here.

File details

Details for the file fckitlib-0.13.5.dev0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.13.5.dev0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 44bbf295c46eb00337989dc1fbf0bd4d300b9eba986e463c0c294a6fcd479fd2
MD5 8f700517beaed381483770157f12e231
BLAKE2b-256 eb884c405ccbad01b7d87247e0391162a9dccdbecb4ab4f77bcaf9ba6bcef44f

See more details on using hashes here.

File details

Details for the file fckitlib-0.13.5.dev0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fckitlib-0.13.5.dev0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 13c48e4b606439c970db87bebb2276668600e44eb9d6762aa0f8988c48bbe477
MD5 c63bf95584caa39cebee2d988218a5f9
BLAKE2b-256 8c684decf5de6a87721991bc65119170a94d2d7dd57fe45dad4c64c0ccd5bd07

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