Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added NFSFT interface for Julia and Python #143

Open
wants to merge 185 commits into
base: feature/julia/nfsft
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
86aa9dc
Merge branch 'release/3.3.1'
jenskeiner Apr 24, 2016
f67c356
Merge branch 'release/3.3.2'
jenskeiner Oct 16, 2016
c726d47
Merge branch 'release/3.4.0'
jenskeiner Oct 21, 2017
27f887b
Merge branch 'release/3.4.1'
tvolkmer Apr 16, 2018
2532679
Merge branch 'release/3.5.0'
michaelquellmalz Jan 28, 2019
f88170a
create fastsum NFFT interface
mischmi96 Jun 20, 2019
16a0952
update configure, Makefile
mischmi96 Jul 3, 2019
9b0c291
adds NFST Julia interface #86
mischmi96 Jul 16, 2019
ed24151
fixes output in nfst simple test
mischmi96 Jul 16, 2019
906b4bb
Update Travis and Windows script for Julia-NFCT
michaelquellmalz Jul 16, 2019
bd4332f
Update .travis.yml
michaelquellmalz Jul 16, 2019
1932754
Merge pull request #99 from NFFT/feature/julia/nfst
tvolkmer Jul 17, 2019
bb3b8e8
Fix documentation of NFSFT and Julia-Readme
michaelquellmalz Jul 17, 2019
1b24c77
Update Changelog
michaelquellmalz Jul 17, 2019
b347bb2
SO-Version 4.1.0 because of new NFSFT_EQUISPACED
michaelquellmalz Jul 18, 2019
b7956c5
fix error in windows build script for julia
michaelquellmalz Jul 18, 2019
c71e0b3
#101 linux build script: added Julia interface (with static FFTW3), r…
tvolkmer Jul 18, 2019
94e1d4b
Windows build script: Check Matlab and Julia files
michaelquellmalz Jul 19, 2019
99faff7
#101 build julia interface for macOS
tvolkmer Jul 19, 2019
2bcb97a
adds small changes to fastsum interface
mischmi96 Jul 22, 2019
4e55ff3
adds 3d test, corrects index set generation in 2d test
mischmi96 Jul 22, 2019
39ab0c8
adds NFST 3d test, minor corrections
mischmi96 Jul 22, 2019
4356b7d
adds changes to fastsum interface
mischmi96 Jul 23, 2019
0f0156c
Fastsum simple_test: rename nn -> n for consistency
michaelquellmalz Jul 23, 2019
7129685
build scripts: .dat files were missing in matlab interface
michaelquellmalz Jul 24, 2019
78a2440
adds changes to fastsum interface
mischmi96 Jul 24, 2019
058490c
corrects simple test
mischmi96 Jul 24, 2019
3410f68
fix for fastsum Jula interface: kernel parameter was not passed corre…
tvolkmer Jul 26, 2019
f0ac38d
iNFFT does not work with Octave: Update readme and windows build script
michaelquellmalz Jul 26, 2019
606e0fd
adds a working version of the fastsum interface ...
mischmi96 Jul 29, 2019
62fbee2
Merge branch 'feature/julia/fastsum' of github.com:NFFT/nfft into fea…
mischmi96 Jul 29, 2019
fe8db76
reverses changes to parameter
mischmi96 Jul 29, 2019
aee40f1
adds new version of fastsum interface
mischmi96 Jul 29, 2019
43cd947
compile gcc and link libgomp statically for Julia binaries on linux
tvolkmer Jul 30, 2019
14a7bfe
adds changes requested by @michaelquellmalz
mischmi96 Jul 31, 2019
6ae6fe0
adds minor improvements, adds error message if unknown kernel
mischmi96 Aug 5, 2019
584531b
Merge branch 'develop' into feature/julia/fastsum
michaelquellmalz Aug 5, 2019
d397c06
Add fastsum to travis and windows build script
michaelquellmalz Aug 5, 2019
182110f
Travi CI: Try if build also fails in xenial
michaelquellmalz Aug 5, 2019
fe2bb5e
update linux build script, include static libgomp in Octave and Matla…
tvolkmer Aug 6, 2019
3217b76
Matlab: use only single quotes for compatibility with older versions
michaelquellmalz Aug 6, 2019
3bbe17c
Windows build script: compile Julia with -O3
michaelquellmalz Aug 6, 2019
6d63ea3
fixed missing -O3 in linux build script which caused slow computations
tvolkmer Aug 7, 2019
262c1ff
Merge branch 'release/3.5.1'
tvolkmer Aug 9, 2019
2330ea5
Merge branch 'develop' into feature/julia/fastsum
michaelquellmalz Aug 9, 2019
660405c
Build scripts: also build julia/fastsum
michaelquellmalz Aug 10, 2019
1a85692
Merge pull request #98 from NFFT/feature/julia/fastsum
tvolkmer Aug 13, 2019
b02d561
Set include directory for julia/fastsum. Previously, make distcheck f…
michaelquellmalz Aug 29, 2019
b8b31a4
Remove 3rdparty from dist since the cstripack was only used by iterS2
michaelquellmalz Aug 29, 2019
8401102
Travis: alsways make distcheck & update to bionic
michaelquellmalz Aug 29, 2019
a61771b
Prevent superfluous warning in infft
michaelquellmalz Sep 13, 2019
e9956d9
Update file list in readme
michaelquellmalz Sep 17, 2019
d0824eb
Add hint to spherical designs in NFSFT testfile
michaelquellmalz Nov 11, 2019
4cffcbe
Update README.md
michaelquellmalz Nov 14, 2019
4248c38
Bump version number to 3.5.2alpha
michaelquellmalz Dec 19, 2019
9c24b83
Test files to compare NFFT with Matlab 2020 nufft
michaelquellmalz Dec 20, 2019
b48bf7a
fixed typo in error message
felixbartel Jan 6, 2020
940f9ed
Travis: Use standard installation of Octave
michaelquellmalz Jan 6, 2020
0f8a17e
Use gcc-9 to check if nfsoft-test still fails
michaelquellmalz Jan 8, 2020
f79d184
Correct travis.yml
michaelquellmalz Jan 8, 2020
0a882ed
Update travis.yml
michaelquellmalz Jan 8, 2020
75ac71c
Install gcc-9 properly
michaelquellmalz Jan 8, 2020
3a24b6e
Fix #103: Link fftw_libs in fastsum
michaelquellmalz Feb 4, 2020
b8c6d0e
#105 Remove error when N is odd in NFCT/NFST
michaelquellmalz Apr 8, 2020
393b861
Update .travis.yml
michaelquellmalz Apr 8, 2020
f34ebbc
NFCT/NFST unit tests with odd N
michaelquellmalz Apr 14, 2020
83b8ed8
#107 Compute NFFT_EPSILON at runtime. Prevents error during configure…
michaelquellmalz May 14, 2020
dca7b7a
Merge pull request #108 from NFFT/bugfix/107-nfft-epsilon
tvolkmer Jun 3, 2020
5a3e086
bootstrap.sh: Remove ancient paranoia #109
michaelquellmalz Jun 3, 2020
f1eceb8
Update AUTHORS
michaelquellmalz Jun 3, 2020
ef74833
Check if fftw3 works without -lpthread and -lm
michaelquellmalz Jun 6, 2020
032a6ed
#110 Use in-place fftw by default in d>1
michaelquellmalz Jun 15, 2020
ea003f1
#109: removed fixed arch core2 for macos and special arch flag
tvolkmer Jun 6, 2020
795211b
Update Travis OSX
michaelquellmalz Jun 8, 2020
16edbdb
Update .travis.yml
michaelquellmalz Jun 8, 2020
8d4a15b
Travis osx with openmp
michaelquellmalz Jun 8, 2020
7c06fac
Travis: enable openmp on clang
michaelquellmalz Jun 8, 2020
52e6f5e
Update .travis.yml
michaelquellmalz Jun 8, 2020
16cb189
Travis: Fix clang-openmp
michaelquellmalz Jun 8, 2020
44a7481
Update .travis.yml
michaelquellmalz Jun 8, 2020
1133a29
Update .travis.yml
michaelquellmalz Jun 8, 2020
1268bdb
Travis: No Openmp in osx
michaelquellmalz Jun 25, 2020
38c15db
Update ChangeLog for 3.5.2
michaelquellmalz Jun 25, 2020
ce16d4c
bump minor so version, fix julia fastsum Makefile, change default arc…
tvolkmer Jun 25, 2020
dc9b82a
Update windows-build-dll for 3.5.2 release.
michaelquellmalz Jun 30, 2020
1025c48
README.md: correct path to documentation
michaelquellmalz Jun 30, 2020
1866e6e
fixed linux build script: julia fastsum, julia/matlab tests before pa…
tvolkmer Jul 2, 2020
8b9679d
Add Solver to Matlab NFFT interface
michaelquellmalz Jul 20, 2020
2fe5902
Matlab nfft.m
michaelquellmalz Jul 20, 2020
c45b1e1
Fix #112
michaelquellmalz Jul 22, 2020
17a7db4
Windows build script
michaelquellmalz Jul 22, 2020
66636ea
#112 Link correct fastsum lib in build scripts
michaelquellmalz Jul 22, 2020
fb5c743
Bugfixes in build scripts
michaelquellmalz Jul 24, 2020
35fb844
Travis: Test Julia in osx
michaelquellmalz Aug 3, 2020
16f0c96
Update .travis.yml
michaelquellmalz Aug 3, 2020
44769e8
travis: gcc-9 on macos
tvolkmer Aug 3, 2020
adda28e
macos: openmp, fftw dirs, gcc-9
tvolkmer Aug 3, 2020
bec1294
macos: openmp, fftw dirs, gcc-9, cache yml
tvolkmer Aug 3, 2020
8c0ec8c
macos: openmp, fftw dirs, gcc-9, cache yml
tvolkmer Aug 3, 2020
b3355a6
Julia interface: changed extension to dylib for macos
tvolkmer Aug 3, 2020
980da34
Travis: add Windows environment with Julia
michaelquellmalz Aug 6, 2020
12637f4
macos: slightly increase error bound by 1 percent for nfct tests, add…
tvolkmer Aug 7, 2020
dde8f2f
modified binary readmes
tvolkmer Aug 9, 2020
f0c5112
Build scripts: fftw is included in Matlab so we do not need to state …
michaelquellmalz Aug 12, 2020
db91f7f
add flag -lm to Linux build file for Julia binary, otherwise errors o…
tvolkmer Aug 15, 2020
44b30da
Update NFFT.jl
mischmi96 Aug 25, 2020
1e627e7
Update NFCT.jl
mischmi96 Aug 25, 2020
1a221cd
Update NFST.jl
mischmi96 Aug 25, 2020
53078c9
added remark on Windows tests to Changelog
tvolkmer Aug 25, 2020
6108038
Merge branch master into develop after release 3.5.2
tvolkmer Aug 26, 2020
fea6e79
added set_num_threads method to kernel/util and matlab interface, mov…
tvolkmer Aug 4, 2020
0cbd679
added set_num_threads(...) to Julia interfaces
tvolkmer Aug 4, 2020
a31ccb3
Add Matlab test file for set_num_threads
michaelquellmalz Aug 27, 2020
ac2d28b
Travis: Uptade Linux Octave build to Ubuntu 20.04
michaelquellmalz Aug 27, 2020
8c6bc63
Use bionic for compilation with clang
michaelquellmalz Aug 28, 2020
8f0372d
Warn user in set_num_threads after nfsft_precompute
michaelquellmalz Sep 3, 2020
b79479c
Bump version number 3.5.3
michaelquellmalz Sep 8, 2020
0cc8f47
Enable single precision for Matlab
michaelquellmalz Sep 10, 2020
6634892
Do not ignore errors!
michaelquellmalz Sep 10, 2020
9b023d5
Matlab NFFT: Accept both single and double input
michaelquellmalz Sep 14, 2020
152e001
Add Matlab warning IDs for set_num_threads
michaelquellmalz Oct 6, 2020
ae3fe91
Update README.md
mischmi96 Oct 21, 2020
c927aa1
Fastsum: Correct value of sinc kernel at x=0
michaelquellmalz Nov 27, 2020
665440d
Fix #116 Segfault in Matlab
michaelquellmalz Jan 20, 2021
90014c3
Speed improvement of construct_phantom in mri
michaelquellmalz Apr 12, 2021
097cae7
Delete unnecessary file test_nnfft2d_N215.m
michaelquellmalz Jul 2, 2021
5e1ecc5
NFSFT_EQUISPACED: Add one more node (South Pole) in order to apply go…
michaelquellmalz Jul 9, 2021
2bfb86d
update obsolete autoconf macros
michaelquellmalz Jul 15, 2021
4f13c98
Re-enable odd degrees for NFCT/NFST in Matlab
michaelquellmalz Jul 19, 2021
c30a5d7
Create Github action workflow
michaelquellmalz Jul 21, 2021
a0b44be
remove obsolete macro
michaelquellmalz Jul 21, 2021
c548c91
Improve recognition of fftw subdirectories
michaelquellmalz Jul 22, 2021
61de19e
add test file for inversion of NFSFT
michaelquellmalz Aug 19, 2021
b043630
Run Octave and Julia testfiles
michaelquellmalz Aug 20, 2021
e15a913
Update c-cpp.yml
michaelquellmalz Aug 20, 2021
ea3a0fd
Update ChangeLog for 3.5.3
michaelquellmalz Sep 29, 2021
8d814c8
Update linux build script with new versions
michaelquellmalz Oct 14, 2021
5ee56b8
Github workflow also in release branch
michaelquellmalz Oct 15, 2021
ba4d5d7
Do not make distcheck in github workflow
michaelquellmalz Oct 15, 2021
9bf13fb
Fix wrong file name in documentation comment
kevinmatthes Oct 19, 2021
cca56a0
Remove obsolete linebreak
kevinmatthes Oct 19, 2021
7659c0f
Fix maximum line length
kevinmatthes Oct 19, 2021
eea4bd5
Adjust conventions
kevinmatthes Oct 19, 2021
c82f051
Update Readme
michaelquellmalz Oct 27, 2021
c04e49c
Add convention
kevinmatthes Oct 28, 2021
16b3a38
Bugfix
kevinmatthes Oct 28, 2021
33c2e7a
Adjust bootstrap shebang
kevinmatthes Oct 30, 2021
ba3df91
Reference Readme instead of Tutorial
michaelquellmalz Oct 31, 2021
de41ee7
No HTML timestamp in docs
ghisvail Oct 30, 2021
2c85aad
Merge #125 to release branch
michaelquellmalz Oct 31, 2021
d92cdac
Re-enable odd degrees for NFSFT in Matlab #113
michaelquellmalz Jan 31, 2022
65ce5a2
binary build files of 3.5.3-rc1
tvolkmer Feb 4, 2022
c3de475
Add missing function declarations in imex.h
michaelquellmalz Feb 5, 2022
3a71648
revert macro to AC_PROG_CC_C99 due to issue with autoconf-2.69 (gcc-a…
tvolkmer Feb 5, 2022
85d7c17
updated binary build scripts
tvolkmer Feb 5, 2022
b83662e
added kernel xx_gaussian to fastsum
FranziskaN Sep 5, 2022
bc456ef
changed kernel xx_gaussian from x^2*EXP(...) to x^2/c^2*EXP(...) in f…
FranziskaN Sep 12, 2022
b5cc6dc
Add missing get functions for odd n to imex.h
michaelquellmalz Oct 4, 2022
b9acdad
Merge branch 'release/3.5.3' into develop
michaelquellmalz Oct 4, 2022
1531bbb
Merge branch 'release/3.5.3' into develop
michaelquellmalz Oct 9, 2022
9f1c393
Add Bibtex entry in Readme
michaelquellmalz Dec 11, 2022
f43fd65
github-actions: julia is not included in ubuntu
michaelquellmalz Dec 11, 2022
40450fb
github-workflow: julia path
michaelquellmalz Dec 11, 2022
caa1746
github-workflow: try to get right julia path
michaelquellmalz Dec 11, 2022
c9b2399
github-workflow: julia should be installed already
michaelquellmalz Dec 11, 2022
97be770
Add required software in Readme #127
michaelquellmalz Dec 11, 2022
307593d
github-workflow: install doxygen
michaelquellmalz Dec 11, 2022
281f59e
added kernel absx
FranziskaN Feb 14, 2023
66d7cc7
repaired original setup in test_fastsum.m
FranziskaN Feb 14, 2023
d1238a7
increased version number to 3.5.4
Feb 23, 2023
e202f0c
added kernel der_laplacian_rbf
Apr 10, 2024
583def2
adapted julia and matlab files for der_laplacian_kernel
Apr 10, 2024
e1ef14c
increased efficiency of computations
Apr 16, 2024
5098ca9
fixed bug
Apr 16, 2024
8bec1ef
Merge pull request #138 from wagnertheresa/develop
passscoed Apr 16, 2024
e9a1352
allow configure to run on ARM Mac
ralfHielscher Apr 24, 2024
de2674a
fixed datatype
passscoed Jul 19, 2024
3843638
Merge branch 'develop' of https://github.com/NFFT/nfft into develop
passscoed Jul 19, 2024
0ff44fc
Initial commit, added NFSFT interface for pyNFFT3
mnolander Aug 15, 2024
01355a4
Updated configure.ac with changes in develop
mnolander Aug 15, 2024
5a2160d
Fixed todo comment
mnolander Aug 15, 2024
05afe97
Fixed configure and julia makefile
mnolander Aug 16, 2024
845e528
Readded x setter
mnolander Aug 19, 2024
892be7e
Added NFSFT Julia file and test script
mnolander Aug 20, 2024
1986022
Removed unused variable from x setter
mnolander Aug 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: C/C++ CI

on:
push:
branches: [ develop, master, 'release/**', 'feature/**', 'bugfix/**' ]
pull_request:
branches: [ develop, master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install libraries
run: |
sudo apt-get update
sudo apt-get install libfftw3-dev libcunit1-dev liboctave-dev doxygen-latex graphviz
- name: bootstrap
run: ./bootstrap.sh
- name: configure
run: ./configure --enable-all --enable-openmp --with-octave=/usr
- name: make
run: make
- name: make check
run: make check
- name: run Octave testfiles
run: for DIR in matlab/nf*t matlab/fastsum; do cd $DIR; for NAME in simple_test*.m; do octave --eval="run('$NAME')"; done; cd ../..; done
- name: run Julia testfiles
run: for DIR in julia/nf*t julia/fastsum; do cd $DIR; for NAME in simple_test*.jl; do julia "$NAME"; done; cd ../..; done
- name: make dist
run: make dist
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
*.asv

# Other
.autotools
.cproject
.project
.settings
Expand Down Expand Up @@ -90,6 +91,8 @@ applications/fastsum/fastsum_test
applications/fastsum/fastsum_test_threads
applications/fastsumS2/fastsumS2
applications/iterS2/iterS2
applications/mri/mri2d/*.dat
applications/mri/mri2d/pics_*
applications/mri/mri2d/construct_data_2d
applications/mri/mri2d/construct_data_inh_2d1d
applications/mri/mri2d/construct_data_inh_3d
Expand All @@ -98,6 +101,8 @@ applications/mri/mri2d/reconstruct_data_gridding
applications/mri/mri2d/reconstruct_data_inh_2d1d
applications/mri/mri2d/reconstruct_data_inh_3d
applications/mri/mri2d/reconstruct_data_inh_nnfft
applications/mri/mri3d/*.dat
applications/mri/mri3d/pics_*
applications/mri/mri3d/construct_data_2d1d
applications/mri/mri3d/construct_data_3d
applications/mri/mri3d/reconstruct_data_2d1d
Expand Down Expand Up @@ -153,3 +158,4 @@ matlab/tests/check_*_matlab.output
windows-build-dll*/*
linux-build-mex/*
nfft-3.*.tar.gz
.vscode/*
152 changes: 114 additions & 38 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,128 @@
language: c
compiler:
- gcc
- clang
before_cache:
- |-
case $TRAVIS_OS_NAME in
osx)
brew cleanup;;
windows)
# https://unix.stackexchange.com/a/137322/107554
$msys2 pacman --sync --clean --noconfirm;
rm -f C:\tools\msys64\update.log;
rm -rf C:\tools\msys64\var\log;;
esac
os: linux
dist: xenial
sudo: false
dist: bionic
addons:
apt:
packages:
- libfftw3-dev
- libcunit1-dev
env:
- WINDOW=kaiserbessel PRECISION=
- WINDOW=gaussian PRECISION=
- WINDOW=bspline PRECISION=
- WINDOW=sinc PRECISION=
- WINDOW=kaiserbessel PRECISION=--enable-float
- WINDOW=gaussian PRECISION=--enable-float
- WINDOW=bspline PRECISION=--enable-float
- WINDOW=sinc PRECISION=--enable-float
- WINDOW=kaiserbessel PRECISION=--enable-long-double
- WINDOW=gaussian PRECISION=--enable-long-double
- WINDOW=bspline PRECISION=--enable-long-double
- WINDOW=sinc PRECISION=--enable-long-double
matrix:
jobs:
include:
- compiler: gcc
sudo: required
env: WINDOW=kaiserbessel PRECISION= BUILD_OCTAVE=1
- compiler: clang
sudo: required
env: WINDOW=kaiserbessel PRECISION= BUILD_OCTAVE=1
- compiler: gcc
- os: osx
osx_image: xcode12u
env: WINDOW=kaiserbessel PRECISION= BUILD_OCTAVE=1 BUILD_JULIA=1
addons: { homebrew: { packages: ["fftw", "cunit", "gcc@9", "octave"], casks: ["julia"] } }
cache: { directories: ["$HOME/Library/Caches/Homebrew"] }
- os: windows
compiler: gcc
env: WINDOW=kaiserbessel PRECISION= BUILD_JULIA=1
addons: { apt: { packages: ["libfftw3-dev", "libcunit1-dev"] } }
- compiler: clang
cache: { directories: ["$HOME/AppData/Local/Temp/chocolatey", "/C/tools/msys64"] }
git: { autocrlf: input, symlinks: true }
- os: windows
compiler: clang
env: WINDOW=kaiserbessel PRECISION= BUILD_JULIA=1
addons: { apt: { packages: ["libfftw3-dev", "libcunit1-dev"] } }
cache: { directories: ["$HOME/AppData/Local/Temp/chocolatey", "/C/tools/msys64"] }
git: { autocrlf: input, symlinks: true }
- dist: focal
compiler: gcc
env: WINDOW=kaiserbessel PRECISION= BUILD_OCTAVE=1 BUILD_JULIA=1
addons: { apt: { packages: ["libfftw3-dev", "libcunit1-dev", "liboctave-dev", "julia"] } }
- dist: bionic
compiler: clang
env: WINDOW=kaiserbessel PRECISION= BUILD_OCTAVE=1 BUILD_JULIA=1
addons: { apt: { packages: ["libfftw3-dev", "libcunit1-dev", "liboctave-dev"] } }
- compiler: gcc
env: WINDOW=kaiserbessel PRECISION= DIST=dist
env: WINDOW=kaiserbessel PRECISION= DIST=distcheck
addons: { apt: { packages: ["libfftw3-dev", "libcunit1-dev", "doxygen", "doxygen-latex", "graphviz"] } }
- compiler: clang
env: WINDOW=kaiserbessel PRECISION= DIST=dist
env: WINDOW=kaiserbessel PRECISION= DIST=distcheck
addons: { apt: { packages: ["libfftw3-dev", "libcunit1-dev", "doxygen", "doxygen-latex", "graphviz"] } }
- dist: focal
compiler: gcc
env: WINDOW=kaiserbessel PRECISION=--enable-float BUILD_OCTAVE=1
addons: { apt: { packages: ["libfftw3-dev", "libcunit1-dev", "liboctave-dev"] } }
- compiler: clang
env: WINDOW=kaiserbessel PRECISION=--enable-float BUILD_OCTAVE=1
addons: { apt: { packages: ["libfftw3-dev", "libcunit1-dev", "liboctave-dev"] } }
- compiler: clang
env: WINDOW=kaiserbessel PRECISION=--enable-long-double
- env: WINDOW=gaussian PRECISION=
- env: WINDOW=bspline PRECISION=
- env: WINDOW=sinc PRECISION=
- env: WINDOW=gaussian PRECISION=--enable-long-double
- env: WINDOW=bspline PRECISION=--enable-long-double
- env: WINDOW=sinc PRECISION=--enable-long-double
- env: WINDOW=gaussian PRECISION=--enable-float
- env: WINDOW=bspline PRECISION=--enable-float
- env: WINDOW=sinc PRECISION=--enable-float
before_install:
- |-
case $TRAVIS_OS_NAME in
windows)
[[ ! -f C:/tools/msys64/msys2_shell.cmd ]] && rm -rf C:/tools/msys64
choco uninstall -y mingw
choco upgrade --no-progress -y msys2 julia
export msys2='cmd //C RefreshEnv.cmd '
export msys2+='& set MSYS=winsymlinks:nativestrict '
export msys2+='& C:\\tools\\msys64\\msys2_shell.cmd -defterm -no-start'
export mingw64="$msys2 -mingw64 -full-path -here -c "\"\$@"\" --"
export msys2+=" -msys2 -c "\"\$@"\" --"
$msys2 pacman --sync --noconfirm --needed mingw-w64-x86_64-gcc mingw-w64-x86_64-make mingw-w64-x86_64-fftw mingw-w64-x86_64-cunit autoconf perl libtool automake make
if [ "$CC" == "clang" ]; then $msys2 pacman --sync --noconfirm --needed mingw-w64-x86_64-clang mingw-w64-x86_64-openmp; fi
## Install more MSYS2 packages from https://packages.msys2.org/base here
taskkill //IM gpg-agent.exe //F # https://travis-ci.community/t/4967
export PATH=/C/tools/msys64/mingw64/bin:$PATH
export MAKE=mingw32-make # so that Autotools can find it
;;
*)
export mingw64=
;;
esac
before_script:
if [ "$BUILD_OCTAVE" = "1" ]; then
sudo add-apt-repository -y ppa:octave/stable;
sudo apt-get update --option Acquire::Retries=10 --option Acquire::http::Timeout="30";
sudo apt-get install -y libfftw3-dev libcunit1-dev liboctave-dev;
fi;
cat /proc/cpuinfo;
case $TRAVIS_OS_NAME in
linux)
if [ "$CC" == "clang" ]; then export LD_LIBRARY_PATH='/usr/local/clang/lib'; fi;
if [ "$BUILD_OCTAVE" = "1" ]; then
export OCTAVEDIR=/usr;
export OCTAVE=octave;
fi;
if [ "$BUILD_JULIA" = "1" ] && [ "$TRAVIS_DIST" = "bionic" ]; then
wget -q https://julialang-s3.julialang.org/bin/linux/x64/1.3/julia-1.3.1-linux-x86_64.tar.gz && tar -xf julia-*-linux-x86_64.tar.gz;
export julia=$(pwd)/julia-1.3.1/bin/julia;
fi;;
windows)
if [ "$CC" == "clang" ]; then export OPENMP_CFLAGS=-fopenmp=libomp; export LDFLAGS=-lomp; fi;
if [ "$BUILD_OCTAVE" = "1" ]; then
wget -q https://ftp.gnu.org/gnu/octave/windows/octave-5.2.0-w64.7z && 7z x octave-*.7z;
export OCTAVEDIR=$(pwd)/octave-5.2.0-w64;
rm $OCTAVEDIR/lib/octave/5.2.0/lib*.la;
export OCTAVE=$OCTAVEDIR/bin/octave-cli.exe;
fi;;
osx)
export CC=gcc-9;
export CPPFLAGS=-I/usr/local/include;
export LDFLAGS=-L/usr/local/lib;
export OCTAVEDIR=/usr/local;
export OCTAVE=octave-cli;;
esac;
if [ "x$TRAVIS_TAG" != "x" ]; then
NFFT_TRAVIS_TAG=$(sed -e 's/\([0-9]*\.[0-9]*\.[0-9]*\)\(.*\)/\1.\2/' <<< "$TRAVIS_TAG");
a=( ${NFFT_TRAVIS_TAG//./ } );
Expand All @@ -57,13 +131,15 @@ before_script:
mv configure.ac.modified configure.ac;
fi;
fi;
script: cat /proc/cpuinfo; ./bootstrap.sh && ./configure --with-window=$WINDOW $PRECISION --enable-all
$(if test "$CC" = "clang"; then echo ""; else echo "--enable-openmp"; fi)
$(if test "$BUILD_OCTAVE" = "1"; then echo "--with-octave=/usr"; else echo ""; fi)
$(if test "$BUILD_JULIA" = "1"; then echo "--enable-julia"; else echo ""; fi)
&& make
&& make check && make $DIST
&& if test "$BUILD_JULIA" = "1"; then wget https://julialang-s3.julialang.org/bin/linux/x64/1.1/julia-1.1.1-linux-x86_64.tar.gz && tar -xf julia-1.1.1-linux-x86_64.tar.gz && for DIR in nfft nfct; do cd julia/$DIR; for NAME in simple_test*.jl; do ./../../julia-1.1.1/bin/julia "$NAME"; done; cd ../..; done; fi;

script: $mingw64 ./bootstrap.sh
&& $mingw64 ./configure --with-window=$WINDOW $PRECISION --enable-all --enable-openmp
$(if [ "$BUILD_OCTAVE" = "1" ]; then echo "--with-octave=$OCTAVEDIR"; else echo ""; fi)
$(if [ "$BUILD_JULIA" = "1" ]; then echo "--enable-julia"; else echo ""; fi)
&& $mingw64 make
&& $mingw64 make check && $mingw64 make $DIST
&& if test "$BUILD_JULIA" = "1"; then for DIR in julia/nf*t julia/fastsum; do cd $DIR; for NAME in simple_test*.jl; do julia "$NAME"; done; cd ../..; done; fi
&& if test "$BUILD_OCTAVE" = "1"; then for DIR in matlab/nf*t matlab/fastsum; do cd $DIR; for NAME in simple_test*.m; do $OCTAVE --eval="run('$NAME')"; done; cd ../..; done; fi
after_failure: cat config.log && cat tests/test-suite.log && if test "$BUILD_OCTAVE" = "1"; then cat matlab/tests/test-suite.log; fi
notifications:
email: false
Expand All @@ -79,6 +155,6 @@ deploy:
file: ${NFFT_DISTRO}
skip_cleanup: true
on:
condition: $DIST = dist && $CC = clang
condition: $DIST = distcheck && $CC = clang
tags: true
repo: NFFT/nfft
2 changes: 2 additions & 0 deletions 3rdparty/README
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ package. Currently, the following packages are included:
CSTRIPACK - A C-version of Robert J. Renka's the STRIPACK Fortran package to
compute Delaunay triangulations and Voronoi partitions on the unit sphere.

This package is currently not contained in make dist, since it is only used by
iterS2.
15 changes: 14 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,21 @@ Dr. Tobias Knopp
Dr. Antje Vollrath <[email protected]>
- transforms on the rotation group SO(3) (/kernel/nfsoft)

Toni Volkmer
Dr. Toni Volkmer
- OpenMP parallelization of nfft (/kernel/nfft)
- OpenMP parallelization of nfsft (/kernel/nfsft)
- OpenMP parallelization of fast summation (/applications/fastsum)

Dr. Michael Quellmalz
- OpenMP parallelization of nfsoft (/kernel/nfsoft)
- Matlab mex interface for nfsoft (/matlab/nfsoft)

Felix Bartel
- Matlab mex interface for fpt (/matlab/fpt)

Melanie Kircheis
- inverse nfft in 1D (/matlab/infft1d)

Michael Schmischke
- Julia interface (/julia)

25 changes: 0 additions & 25 deletions CONVENTIONS

This file was deleted.

Loading