{"id":15876837,"url":"https://github.com/ulises-jeremias/fft-parallel","last_synced_at":"2025-03-16T05:31:03.639Z","repository":{"id":65638730,"uuid":"172302853","full_name":"ulises-jeremias/fft-parallel","owner":"ulises-jeremias","description":"Different pure C implementations of FFT Algorithms using PThreads and OpenMP","archived":false,"fork":false,"pushed_at":"2023-02-21T17:06:22.000Z","size":5531,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-27T09:04:12.781Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ulises-jeremias.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-24T06:08:27.000Z","updated_at":"2024-01-12T18:08:33.000Z","dependencies_parsed_at":"2024-10-06T02:01:17.321Z","dependency_job_id":null,"html_url":"https://github.com/ulises-jeremias/fft-parallel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulises-jeremias%2Ffft-parallel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulises-jeremias%2Ffft-parallel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulises-jeremias%2Ffft-parallel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulises-jeremias%2Ffft-parallel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ulises-jeremias","download_url":"https://codeload.github.com/ulises-jeremias/fft-parallel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806122,"owners_count":20350773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-06T02:01:07.263Z","updated_at":"2025-03-16T05:31:03.062Z","avatar_url":"https://github.com/ulises-jeremias.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fast Fourier Transform (FFT) algorithm\n\nThis is a parallel implementation of the Fast Fourier Transform (FFT) algorithm. The algorithm is implemented in C and provides multiple implementations using multiple backends. The backends are:\n\n- OpenMP\n- Pthreads\n\n## Table of Contents\n\n- [Fast Fourier Transform (FFT) algorithm](#fast-fourier-transform-fft-algorithm)\n  - [Table of Contents](#table-of-contents)\n  - [Using the library](#using-the-library)\n    - [Install Dependencies](#install-dependencies)\n  - [Running Tests](#running-tests)\n  - [Running Benchmarks](#running-benchmarks)\n  - [Build Options](#build-options)\n\n## Using the library\n\n\u003e NOTE: This will install in /usr/local. You probably don't want that. But this is a quick start. The best thing to do is to combine this library with your other code into a larger CMake project/solution.\n\nInstall the last release with [clib](https://github.com/clibs/clib):\n\n```shell\nclib install ulises-jeremias/fft-parallel\n```\n\nor,\n\ninstall from source code: First install the library [ScientificC/errno](https://github.com/ScientificC/errno). [_How to install the dependencies_](#install-dependencies)?\n\nThen, execute the following commands on the cli:\n\n```shell\ngit clone https://github.com/ulises-jeremias/fft-parallel.git\ncd fft-parallel\nsudo ./install\n```\n\nor you install it using different [_Build Options_](#build-options) with the following commands:\n\n```sh\ngit clone https://github.com/ulises-jeremias/fft-parallel.git\ncd fft-parallel\nmkdir build\ncd build\ncmake .. \u003cbuild options\u003e\nmake \u0026\u0026 sudo make install\n```\n\n### Install Dependencies\n\nTo install `ScientificC/errno` you can run the following commands on the cli:\n\n```sh\ncd /tmp\n\n# to install scic/errno\n\ngit clone https://github.com/ScientificC/errno.git\ncd errno\nmkdir build \u0026\u0026 cd build\ncmake ..\nmake \u0026\u0026 sudo make install\n```\n\n## Running Tests\n\nTo run the test suite from a command prompt, using a Makefile-like generator, execute the following:\n\n```shell\ngit clone https://github.com/ulises-jeremias/fft-parallel.git\ncd fft-parallel\nmkdir build\ncd build\ncmake .. \u003cbuild options\u003e\nmake \u0026\u0026 ctest\n```\n\n[_Build Options_](#build-options)\n\n## Running Benchmarks\n\nTo run the benchmark suite from a command prompt, using a Makefile-like generator, execute the following:\n\n```sh\ngit clone https://github.com/ulises-jeremias/fft-parallel.git\ncd fft-parallel\nmkdir build\ncd build\ncmake .. \u003cbuild options\u003e\nmake\n./build/benchmark/benchmark_scic_fft_static --times=10\n# or ./build/benchmark/benchmark_scic_fft_shared --times=10\n```\n\n## Build Options\n\n- FFT_BUILD_SHARED: (Default ON) Controls if the shared library is built\n\n```shell\ncmake .. -DFFT_BUILD_SHARED=ON\ncmake .. -DFFT_BUILD_SHARED=OFF\n```\n\n- FFT_BUILD_STATIC: (Default ON) Controls if the static library is built\n\n```shell\ncmake .. -DFFT_BUILD_STATIC=ON\ncmake .. -DFFT_BUILD_STATIC=OFF\n```\n\n- FFT_BUILD_TESTS: (Default ON) Build the unit tests\n\n```shell\ncmake .. -DFFT_BUILD_TESTS=ON\ncmake .. -DFFT_BUILD_TESTS=OFF\n```\n\n- CMAKE_BUILD_TYPE: (Default Release) Set this to 'Release' or 'Debug'\n\n```shell\ncmake .. -DCMAKE_BUILD_TYPE=Release\ncmake .. -DCMAKE_BUILD_TYPE=Debug\n```\n\n- CMAKE_INSTALL_PREFIX: (Default /usr/local) Allows you to specify where `make install` sends the output.\n\n```shell\ncmake .. -DCMAKE_INSTALL_PREFIX=~/fft/\ncmake .. -DCMAKE_INSTALL_PREFIX=~/Projects/myproject/\ncmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulises-jeremias%2Ffft-parallel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulises-jeremias%2Ffft-parallel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulises-jeremias%2Ffft-parallel/lists"}