Skip to content

Commit 2b08d42

Browse files
authored
add openmpl runtime for fftw. (#1)
* compile fftw. * add memory affinity for fftw. * add memory affinity for fftw.
1 parent a09b8da commit 2b08d42

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1284
-2342
lines changed

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
*.0
2+
*.1
3+
requests
4+
*.2
5+
config.h
6+
*.log
7+
*.status
8+
*.pc
9+
Makefile
10+
*.Plo
11+
libtool
12+
stamp-h1
13+
*.lo
14+
*.Po
15+
fftw-wisdom-to-conf
16+
*.cmake
17+
*.o
18+
*.a
19+
*.lai
20+
*.la
21+
bench
22+
*.f03
23+
fftw-wisdom

Makefile.in

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Makefile.in generated by automake 1.16.3 from Makefile.am.
1+
# Makefile.in generated by automake 1.16.1 from Makefile.am.
22
# @configure_input@
33

4-
# Copyright (C) 1994-2020 Free Software Foundation, Inc.
4+
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55

66
# This Makefile.in is free software; the Free Software Foundation
77
# gives unlimited permission to copy and/or distribute it,
@@ -220,8 +220,8 @@ am__recursive_targets = \
220220
$(am__extra_recursive_targets)
221221
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
222222
cscope distdir distdir-am dist dist-all distcheck
223-
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
224-
config.h.in
223+
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
224+
$(LISP)config.h.in
225225
# Read a list of newline-separated strings from the standard input,
226226
# and print each of them once, without duplicates. Input order is
227227
# *not* preserved.
@@ -245,7 +245,7 @@ DIST_SUBDIRS = support genfft kernel simd-support dft rdft reodft api \
245245
libbench2 . threads tests mpi doc tools m4
246246
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
247247
$(srcdir)/fftw.pc.in AUTHORS COPYING ChangeLog INSTALL NEWS \
248-
README TODO compile config.guess config.sub install-sh \
248+
README TODO compile config.guess config.sub depcomp install-sh \
249249
ltmain.sh missing
250250
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
251251
distdir = $(PACKAGE)-$(VERSION)
@@ -285,8 +285,6 @@ am__relativize = \
285285
DIST_ARCHIVES = $(distdir).tar.gz
286286
GZIP_ENV = --best
287287
DIST_TARGETS = dist-gzip
288-
# Exists only to be overridden by the user if desired.
289-
AM_DISTCHECK_DVI_TARGET = dvi
290288
distuninstallcheck_listfiles = find . -type f -print
291289
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
292290
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -434,7 +432,6 @@ pdfdir = @pdfdir@
434432
prefix = @prefix@
435433
program_transform_name = @program_transform_name@
436434
psdir = @psdir@
437-
runstatedir = @runstatedir@
438435
sbindir = @sbindir@
439436
sharedstatedir = @sharedstatedir@
440437
srcdir = @srcdir@
@@ -889,10 +886,6 @@ dist-xz: distdir
889886
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
890887
$(am__post_remove_distdir)
891888

892-
dist-zstd: distdir
893-
tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
894-
$(am__post_remove_distdir)
895-
896889
dist-tarZ: distdir
897890
@echo WARNING: "Support for distribution archives compressed with" \
898891
"legacy program 'compress' is deprecated." >&2
@@ -935,8 +928,6 @@ distcheck: dist
935928
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
936929
*.zip*) \
937930
unzip $(distdir).zip ;;\
938-
*.tar.zst*) \
939-
zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
940931
esac
941932
chmod -R a-w $(distdir)
942933
chmod u+w $(distdir)
@@ -952,7 +943,7 @@ distcheck: dist
952943
$(DISTCHECK_CONFIGURE_FLAGS) \
953944
--srcdir=../.. --prefix="$$dc_install_base" \
954945
&& $(MAKE) $(AM_MAKEFLAGS) \
955-
&& $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
946+
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
956947
&& $(MAKE) $(AM_MAKEFLAGS) check \
957948
&& $(MAKE) $(AM_MAKEFLAGS) install \
958949
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
@@ -1120,8 +1111,8 @@ uninstall-am: uninstall-cmakeDATA uninstall-libLTLIBRARIES \
11201111
am--refresh check check-am clean clean-cscope clean-generic \
11211112
clean-libLTLIBRARIES clean-libtool cscope cscopelist-am ctags \
11221113
ctags-am dist dist-all dist-bzip2 dist-gzip dist-lzip \
1123-
dist-shar dist-tarZ dist-xz dist-zip dist-zstd distcheck \
1124-
distclean distclean-compile distclean-generic distclean-hdr \
1114+
dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
1115+
distclean-compile distclean-generic distclean-hdr \
11251116
distclean-libtool distclean-tags distcleancheck distdir \
11261117
distuninstallcheck dvi dvi-am html html-am info info-am \
11271118
install install-am install-cmakeDATA install-data \

aclocal.m4

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# generated automatically by aclocal 1.16.3 -*- Autoconf -*-
1+
# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
22

3-
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
3+
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
44

55
# This file is free software; the Free Software Foundation
66
# gives unlimited permission to copy and/or distribute it,
@@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to.
2020
If you have problems, you may need to regenerate the build system entirely.
2121
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
2222

23-
# Copyright (C) 2002-2020 Free Software Foundation, Inc.
23+
# Copyright (C) 2002-2018 Free Software Foundation, Inc.
2424
#
2525
# This file is free software; the Free Software Foundation
2626
# gives unlimited permission to copy and/or distribute it,
@@ -35,7 +35,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
3535
[am__api_version='1.16'
3636
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3737
dnl require some minimum version. Point them to the right macro.
38-
m4_if([$1], [1.16.3], [],
38+
m4_if([$1], [1.16.1], [],
3939
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
4040
])
4141

@@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
5151
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
5252
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5353
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
54-
[AM_AUTOMAKE_VERSION([1.16.3])dnl
54+
[AM_AUTOMAKE_VERSION([1.16.1])dnl
5555
m4_ifndef([AC_AUTOCONF_VERSION],
5656
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
5757
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
5858

5959
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
6060

61-
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
61+
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
6262
#
6363
# This file is free software; the Free Software Foundation
6464
# gives unlimited permission to copy and/or distribute it,
@@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
110110

111111
# AM_CONDITIONAL -*- Autoconf -*-
112112

113-
# Copyright (C) 1997-2020 Free Software Foundation, Inc.
113+
# Copyright (C) 1997-2018 Free Software Foundation, Inc.
114114
#
115115
# This file is free software; the Free Software Foundation
116116
# gives unlimited permission to copy and/or distribute it,
@@ -141,7 +141,7 @@ AC_CONFIG_COMMANDS_PRE(
141141
Usually this means the macro was only invoked conditionally.]])
142142
fi])])
143143

144-
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
144+
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
145145
#
146146
# This file is free software; the Free Software Foundation
147147
# gives unlimited permission to copy and/or distribute it,
@@ -332,7 +332,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
332332

333333
# Generate code to set up dependency tracking. -*- Autoconf -*-
334334

335-
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
335+
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
336336
#
337337
# This file is free software; the Free Software Foundation
338338
# gives unlimited permission to copy and/or distribute it,
@@ -371,9 +371,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
371371
done
372372
if test $am_rc -ne 0; then
373373
AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
374-
for automatic dependency tracking. If GNU make was not used, consider
375-
re-running the configure script with MAKE="gmake" (or whatever is
376-
necessary). You can also try re-running configure with the
374+
for automatic dependency tracking. Try re-running configure with the
377375
'--disable-dependency-tracking' option to at least be able to build
378376
the package (albeit without support for automatic dependency tracking).])
379377
fi
@@ -400,7 +398,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
400398

401399
# Do all the work for Automake. -*- Autoconf -*-
402400

403-
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
401+
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
404402
#
405403
# This file is free software; the Free Software Foundation
406404
# gives unlimited permission to copy and/or distribute it,
@@ -597,7 +595,7 @@ for _am_header in $config_headers :; do
597595
done
598596
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
599597

600-
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
598+
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
601599
#
602600
# This file is free software; the Free Software Foundation
603601
# gives unlimited permission to copy and/or distribute it,
@@ -618,7 +616,7 @@ if test x"${install_sh+set}" != xset; then
618616
fi
619617
AC_SUBST([install_sh])])
620618

621-
# Copyright (C) 2003-2020 Free Software Foundation, Inc.
619+
# Copyright (C) 2003-2018 Free Software Foundation, Inc.
622620
#
623621
# This file is free software; the Free Software Foundation
624622
# gives unlimited permission to copy and/or distribute it,
@@ -640,7 +638,7 @@ AC_SUBST([am__leading_dot])])
640638
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
641639
# From Jim Meyering
642640

643-
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
641+
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
644642
#
645643
# This file is free software; the Free Software Foundation
646644
# gives unlimited permission to copy and/or distribute it,
@@ -675,7 +673,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
675673

676674
# Check to see how 'make' treats includes. -*- Autoconf -*-
677675

678-
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
676+
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
679677
#
680678
# This file is free software; the Free Software Foundation
681679
# gives unlimited permission to copy and/or distribute it,
@@ -718,7 +716,7 @@ AC_SUBST([am__quote])])
718716

719717
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
720718

721-
# Copyright (C) 1997-2020 Free Software Foundation, Inc.
719+
# Copyright (C) 1997-2018 Free Software Foundation, Inc.
722720
#
723721
# This file is free software; the Free Software Foundation
724722
# gives unlimited permission to copy and/or distribute it,
@@ -739,7 +737,12 @@ AC_DEFUN([AM_MISSING_HAS_RUN],
739737
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
740738
AC_REQUIRE_AUX_FILE([missing])dnl
741739
if test x"${MISSING+set}" != xset; then
742-
MISSING="\${SHELL} '$am_aux_dir/missing'"
740+
case $am_aux_dir in
741+
*\ * | *\ *)
742+
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
743+
*)
744+
MISSING="\${SHELL} $am_aux_dir/missing" ;;
745+
esac
743746
fi
744747
# Use eval to expand $SHELL
745748
if eval "$MISSING --is-lightweight"; then
@@ -754,7 +757,7 @@ fi
754757
# Obsolete and "removed" macros, that must however still report explicit
755758
# error messages when used, to smooth transition.
756759
#
757-
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
760+
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
758761
#
759762
# This file is free software; the Free Software Foundation
760763
# gives unlimited permission to copy and/or distribute it,
@@ -781,7 +784,7 @@ AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
781784

782785
# Helper functions for option handling. -*- Autoconf -*-
783786

784-
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
787+
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
785788
#
786789
# This file is free software; the Free Software Foundation
787790
# gives unlimited permission to copy and/or distribute it,
@@ -810,7 +813,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
810813
AC_DEFUN([_AM_IF_OPTION],
811814
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
812815

813-
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
816+
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
814817
#
815818
# This file is free software; the Free Software Foundation
816819
# gives unlimited permission to copy and/or distribute it,
@@ -857,7 +860,7 @@ AC_LANG_POP([C])])
857860
# For backward compatibility.
858861
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
859862

860-
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
863+
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
861864
#
862865
# This file is free software; the Free Software Foundation
863866
# gives unlimited permission to copy and/or distribute it,
@@ -876,7 +879,7 @@ AC_DEFUN([AM_RUN_LOG],
876879

877880
# Check to make sure that the build environment is sane. -*- Autoconf -*-
878881

879-
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
882+
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
880883
#
881884
# This file is free software; the Free Software Foundation
882885
# gives unlimited permission to copy and/or distribute it,
@@ -957,7 +960,7 @@ AC_CONFIG_COMMANDS_PRE(
957960
rm -f conftest.file
958961
])
959962

960-
# Copyright (C) 2009-2020 Free Software Foundation, Inc.
963+
# Copyright (C) 2009-2018 Free Software Foundation, Inc.
961964
#
962965
# This file is free software; the Free Software Foundation
963966
# gives unlimited permission to copy and/or distribute it,
@@ -1017,7 +1020,7 @@ AC_SUBST([AM_BACKSLASH])dnl
10171020
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
10181021
])
10191022

1020-
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
1023+
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
10211024
#
10221025
# This file is free software; the Free Software Foundation
10231026
# gives unlimited permission to copy and/or distribute it,
@@ -1045,7 +1048,7 @@ fi
10451048
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10461049
AC_SUBST([INSTALL_STRIP_PROGRAM])])
10471050

1048-
# Copyright (C) 2006-2020 Free Software Foundation, Inc.
1051+
# Copyright (C) 2006-2018 Free Software Foundation, Inc.
10491052
#
10501053
# This file is free software; the Free Software Foundation
10511054
# gives unlimited permission to copy and/or distribute it,
@@ -1064,7 +1067,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
10641067

10651068
# Check how to create a tarball. -*- Autoconf -*-
10661069

1067-
# Copyright (C) 2004-2020 Free Software Foundation, Inc.
1070+
# Copyright (C) 2004-2018 Free Software Foundation, Inc.
10681071
#
10691072
# This file is free software; the Free Software Foundation
10701073
# gives unlimited permission to copy and/or distribute it,

api/Makefile.in

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Makefile.in generated by automake 1.16.3 from Makefile.am.
1+
# Makefile.in generated by automake 1.16.1 from Makefile.am.
22
# @configure_input@
33

4-
# Copyright (C) 1994-2020 Free Software Foundation, Inc.
4+
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55

66
# This Makefile.in is free software; the Free Software Foundation
77
# gives unlimited permission to copy and/or distribute it,
@@ -421,7 +421,6 @@ pdfdir = @pdfdir@
421421
prefix = @prefix@
422422
program_transform_name = @program_transform_name@
423423
psdir = @psdir@
424-
runstatedir = @runstatedir@
425424
sbindir = @sbindir@
426425
sharedstatedir = @sharedstatedir@
427426
srcdir = @srcdir@
@@ -753,8 +752,7 @@ installdirs:
753752
done
754753
install: $(BUILT_SOURCES)
755754
$(MAKE) $(AM_MAKEFLAGS) install-am
756-
install-exec: $(BUILT_SOURCES)
757-
$(MAKE) $(AM_MAKEFLAGS) install-exec-am
755+
install-exec: install-exec-am
758756
install-data: install-data-am
759757
uninstall: uninstall-am
760758

@@ -986,7 +984,7 @@ ps-am:
986984

987985
uninstall-am: uninstall-includeHEADERS uninstall-nodist_includeHEADERS
988986

989-
.MAKE: all check install install-am install-exec install-strip
987+
.MAKE: all check install install-am install-strip
990988

991989
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
992990
clean-generic clean-libtool clean-noinstLTLIBRARIES \

0 commit comments

Comments
 (0)