Dhairya Malhotra 7 rokov pred
rodič
commit
ea8076e723

+ 1 - 1
MakeVariables.in

@@ -19,7 +19,7 @@ FFTW_INCLUDES_PVFMM = @FFTW_INCLUDE@
 FFTW_LIBS_PVFMM = @FFTW_LIB@ @FFTWF_LIB@
 
 # BLAS, LAPACK libs.
-BLAS_LAPACK_LIB_PVFMM = @LAPACK_LIBS@ @BLAS_LIBS@ @FLIBS@
+BLAS_LAPACK_LIB_PVFMM = #@LAPACK_LIBS@ @BLAS_LIBS@ @FLIBS@
 
 # X include and lib paths.
 X_INCLUDES_PVFMM = @X_INCLUDES@

+ 2027 - 0
config.log

@@ -0,0 +1,2027 @@
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by PvFMM configure 1.0.0, which was
+generated by GNU Autoconf 2.69.  Invocation command line was
+
+  $ ./configure MPICXX=g++ -static -I./mpi-stub/include LIBS=-L./mpi-stub/lib -lmpi CXXFLAGS=-O3 -march=native -fopenmp FLIBS= 
+
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = box706.cims.nyu.edu
+uname -m = x86_64
+uname -r = 3.10.0-693.11.6.el7.x86_64
+uname -s = Linux
+uname -v = #1 SMP Thu Jan 4 01:06:37 UTC 2018
+
+/usr/bin/uname -p = x86_64
+/bin/uname -X     = unknown
+
+/bin/arch              = x86_64
+/usr/bin/arch -k       = unknown
+/usr/convex/getsysinfo = unknown
+/usr/bin/hostinfo      = unknown
+/bin/machine           = unknown
+/usr/bin/oslevel       = unknown
+/bin/universe          = unknown
+
+PATH: /usr/local/stow/gcc-6.3.0/bin
+PATH: /home/malhotra/local/openmpi/bin
+PATH: /usr/local/stow/cuda-8.0/bin
+PATH: /usr/local/stow/texlive-2016/bin/x86_64-linux
+PATH: /usr/local/stow/visit-2.13/bin
+PATH: /usr/local/stow/python-3.6/bin
+PATH: /usr/local/stow/octave-4.0.3/bin
+PATH: /usr/local/stow/git-2.6.3/bin
+PATH: /home/malhotra/bin
+PATH: /home/malhotra/bin
+PATH: /usr/local/bin
+PATH: /opt/bin
+PATH: /usr/bin
+PATH: /usr/sbin
+PATH: /usr/lib64/qt-3.3/bin
+PATH: /home/malhotra/perl5/bin
+PATH: /usr/local/bin
+PATH: /usr/bin
+PATH: /usr/local/sbin
+PATH: /usr/sbin
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+configure:2931: checking for a BSD-compatible install
+configure:2999: result: /usr/bin/install -c
+configure:3010: checking whether build environment is sane
+configure:3065: result: yes
+configure:3216: checking for a thread-safe mkdir -p
+configure:3255: result: /usr/bin/mkdir -p
+configure:3262: checking for gawk
+configure:3278: found /usr/bin/gawk
+configure:3289: result: gawk
+configure:3300: checking whether make sets $(MAKE)
+configure:3322: result: yes
+configure:3351: checking whether make supports nested variables
+configure:3368: result: yes
+configure:3474: checking for style of include used by make
+configure:3502: result: GNU
+configure:3746: checking for C++ compiler version
+configure:3755: g++ -static -I./mpi-stub/include --version >&5
+g++ (GCC) 6.3.0
+Copyright (C) 2016 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+configure:3766: $? = 0
+configure:3755: g++ -static -I./mpi-stub/include -v >&5
+Using built-in specs.
+COLLECT_GCC=g++
+COLLECT_LTO_WRAPPER=/misc/linux/centos7/x86_64/local/stow/gcc-6.3.0/bin/../libexec/gcc/x86_64-redhat-linux/6.3.0/lto-wrapper
+Target: x86_64-redhat-linux
+Configured with: ../gcc-6.3.0/configure --prefix=/usr/local/stow/gcc-6.3.0 --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --enable-gnu-indirect-function --enable-java-awt=gtk --with-cloog --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
+Thread model: posix
+gcc version 6.3.0 (GCC) 
+configure:3766: $? = 0
+configure:3755: g++ -static -I./mpi-stub/include -V >&5
+g++: error: unrecognized command line option '-V'
+g++: fatal error: no input files
+compilation terminated.
+configure:3766: $? = 1
+configure:3755: g++ -static -I./mpi-stub/include -qversion >&5
+g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
+g++: fatal error: no input files
+compilation terminated.
+configure:3766: $? = 1
+configure:3786: checking whether the C++ compiler works
+configure:3808: g++ -static -I./mpi-stub/include -O3 -march=native -fopenmp   conftest.cpp -L./mpi-stub/lib -lmpi >&5
+configure:3812: $? = 0
+configure:3860: result: yes
+configure:3863: checking for C++ compiler default output file name
+configure:3865: result: a.out
+configure:3871: checking for suffix of executables
+configure:3878: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -L./mpi-stub/lib -lmpi >&5
+configure:3882: $? = 0
+configure:3904: result: 
+configure:3926: checking whether we are cross compiling
+configure:3934: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -L./mpi-stub/lib -lmpi >&5
+configure:3938: $? = 0
+configure:3945: ./conftest
+configure:3949: $? = 0
+configure:3964: result: no
+configure:3969: checking for suffix of object files
+configure:3991: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:3995: $? = 0
+configure:4016: result: o
+configure:4020: checking whether we are using the GNU C++ compiler
+configure:4039: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:4039: $? = 0
+configure:4048: result: yes
+configure:4057: checking whether g++ -static -I./mpi-stub/include accepts -g
+configure:4077: g++ -static -I./mpi-stub/include -c -g  conftest.cpp >&5
+configure:4077: $? = 0
+configure:4118: result: yes
+configure:4143: checking dependency style of g++ -static -I./mpi-stub/include
+configure:4254: result: gcc3
+configure:4297: checking for function MPI::Init
+configure:4320: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -L./mpi-stub/lib -lmpi >&5
+configure:4320: $? = 0
+configure:4327: result: yes
+configure:4338: checking for mpi.h
+configure:4351: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:4351: $? = 0
+configure:4352: result: yes
+configure:4395: checking for mpic++
+configure:4422: result: g++ -static -I./mpi-stub/include
+configure:4440: checking for MPI_Init
+configure:4440: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -L./mpi-stub/lib -lmpi >&5
+configure:4440: $? = 0
+configure:4440: result: yes
+configure:4533: checking for mpi.h
+configure:4546: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:4546: $? = 0
+configure:4547: result: yes
+configure:4570: checking for C++ compiler vendor
+configure:4615: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+conftest.cpp: In function 'int main()':
+conftest.cpp:15:9: error: 'thisisanerror' was not declared in this scope
+         thisisanerror;
+         ^~~~~~~~~~~~~
+configure:4615: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| /* end confdefs.h.  */
+| 
+| int
+| main ()
+| {
+| 
+|       #if !(defined(__ICC) || defined(__ECC) || defined(__INTEL_COMPILER))
+|         thisisanerror;
+|       #endif
+| 
+|   ;
+|   return 0;
+| }
+configure:4615: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+conftest.cpp: In function 'int main()':
+conftest.cpp:15:9: error: 'thisisanerror' was not declared in this scope
+         thisisanerror;
+         ^~~~~~~~~~~~~
+configure:4615: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| /* end confdefs.h.  */
+| 
+| int
+| main ()
+| {
+| 
+|       #if !(defined(__xlc__) || defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__))
+|         thisisanerror;
+|       #endif
+| 
+|   ;
+|   return 0;
+| }
+configure:4615: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+conftest.cpp: In function 'int main()':
+conftest.cpp:15:9: error: 'thisisanerror' was not declared in this scope
+         thisisanerror;
+         ^~~~~~~~~~~~~
+configure:4615: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| /* end confdefs.h.  */
+| 
+| int
+| main ()
+| {
+| 
+|       #if !(defined(__PATHCC__) || defined(__PATHSCALE__))
+|         thisisanerror;
+|       #endif
+| 
+|   ;
+|   return 0;
+| }
+configure:4615: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+conftest.cpp: In function 'int main()':
+conftest.cpp:15:9: error: 'thisisanerror' was not declared in this scope
+         thisisanerror;
+         ^~~~~~~~~~~~~
+configure:4615: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| /* end confdefs.h.  */
+| 
+| int
+| main ()
+| {
+| 
+|       #if !(defined(__clang__))
+|         thisisanerror;
+|       #endif
+| 
+|   ;
+|   return 0;
+| }
+configure:4615: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:4615: $? = 0
+configure:4623: result: gnu
+configure:4630: checking for gawk
+configure:4657: result: gawk
+configure:4721: checking for g77
+configure:4751: result: no
+configure:4721: checking for xlf
+configure:4751: result: no
+configure:4721: checking for f77
+configure:4751: result: no
+configure:4721: checking for frt
+configure:4751: result: no
+configure:4721: checking for pgf77
+configure:4751: result: no
+configure:4721: checking for cf77
+configure:4751: result: no
+configure:4721: checking for fort77
+configure:4751: result: no
+configure:4721: checking for fl32
+configure:4751: result: no
+configure:4721: checking for af77
+configure:4751: result: no
+configure:4721: checking for xlf90
+configure:4751: result: no
+configure:4721: checking for f90
+configure:4751: result: no
+configure:4721: checking for pgf90
+configure:4751: result: no
+configure:4721: checking for pghpf
+configure:4751: result: no
+configure:4721: checking for epcf90
+configure:4751: result: no
+configure:4721: checking for gfortran
+configure:4737: found /usr/local/stow/gcc-6.3.0/bin/gfortran
+configure:4748: result: gfortran
+configure:4774: checking for Fortran 77 compiler version
+configure:4783: gfortran --version >&5
+GNU Fortran (GCC) 6.3.0
+Copyright (C) 2016 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+configure:4794: $? = 0
+configure:4783: gfortran -v >&5
+Using built-in specs.
+COLLECT_GCC=gfortran
+COLLECT_LTO_WRAPPER=/misc/linux/centos7/x86_64/local/stow/gcc-6.3.0/bin/../libexec/gcc/x86_64-redhat-linux/6.3.0/lto-wrapper
+Target: x86_64-redhat-linux
+Configured with: ../gcc-6.3.0/configure --prefix=/usr/local/stow/gcc-6.3.0 --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --enable-gnu-indirect-function --enable-java-awt=gtk --with-cloog --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
+Thread model: posix
+gcc version 6.3.0 (GCC) 
+configure:4794: $? = 0
+configure:4783: gfortran -V >&5
+gfortran: error: unrecognized command line option '-V'
+gfortran: fatal error: no input files
+compilation terminated.
+configure:4794: $? = 1
+configure:4783: gfortran -qversion >&5
+gfortran: error: unrecognized command line option '-qversion'; did you mean '--version'?
+gfortran: fatal error: no input files
+compilation terminated.
+configure:4794: $? = 1
+configure:4803: checking whether we are using the GNU Fortran 77 compiler
+configure:4816: gfortran -c  conftest.F >&5
+configure:4816: $? = 0
+configure:4825: result: yes
+configure:4831: checking whether gfortran accepts -g
+configure:4842: gfortran -c -g conftest.f >&5
+configure:4842: $? = 0
+configure:4850: result: yes
+configure:4881: checking whether ln -s works
+configure:4885: result: yes
+configure:4892: checking whether make sets $(MAKE)
+configure:4914: result: yes
+configure:4977: checking for ar
+configure:4993: found /usr/bin/ar
+configure:5004: result: ar
+configure:5030: checking the archiver (ar) interface
+configure:5040: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:5040: $? = 0
+configure:5042: ar cru libconftest.a conftest.o >&5
+configure:5045: $? = 0
+configure:5068: result: ar
+configure:5117: checking build system type
+configure:5131: result: x86_64-unknown-linux-gnu
+configure:5151: checking host system type
+configure:5164: result: x86_64-unknown-linux-gnu
+configure:5205: checking how to print strings
+configure:5232: result: printf
+configure:5301: checking for gcc
+configure:5317: found /usr/local/stow/gcc-6.3.0/bin/gcc
+configure:5328: result: gcc
+configure:5557: checking for C compiler version
+configure:5566: gcc --version >&5
+gcc (GCC) 6.3.0
+Copyright (C) 2016 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+configure:5577: $? = 0
+configure:5566: gcc -v >&5
+Using built-in specs.
+COLLECT_GCC=gcc
+COLLECT_LTO_WRAPPER=/misc/linux/centos7/x86_64/local/stow/gcc-6.3.0/bin/../libexec/gcc/x86_64-redhat-linux/6.3.0/lto-wrapper
+Target: x86_64-redhat-linux
+Configured with: ../gcc-6.3.0/configure --prefix=/usr/local/stow/gcc-6.3.0 --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --enable-gnu-indirect-function --enable-java-awt=gtk --with-cloog --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
+Thread model: posix
+gcc version 6.3.0 (GCC) 
+configure:5577: $? = 0
+configure:5566: gcc -V >&5
+gcc: error: unrecognized command line option '-V'
+gcc: fatal error: no input files
+compilation terminated.
+configure:5577: $? = 1
+configure:5566: gcc -qversion >&5
+gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
+gcc: fatal error: no input files
+compilation terminated.
+configure:5577: $? = 1
+configure:5581: checking whether we are using the GNU C compiler
+configure:5600: gcc -c   conftest.c >&5
+configure:5600: $? = 0
+configure:5609: result: yes
+configure:5618: checking whether gcc accepts -g
+configure:5638: gcc -c -g  conftest.c >&5
+configure:5638: $? = 0
+configure:5679: result: yes
+configure:5696: checking for gcc option to accept ISO C89
+configure:5759: gcc  -c   conftest.c >&5
+configure:5759: $? = 0
+configure:5772: result: none needed
+configure:5794: checking dependency style of gcc
+configure:5905: result: gcc3
+configure:5920: checking for a sed that does not truncate output
+configure:5984: result: /usr/bin/sed
+configure:6002: checking for grep that handles long lines and -e
+configure:6060: result: /usr/bin/grep
+configure:6065: checking for egrep
+configure:6127: result: /usr/bin/grep -E
+configure:6132: checking for fgrep
+configure:6194: result: /usr/bin/grep -F
+configure:6229: checking for ld used by gcc
+configure:6296: result: /usr/bin/ld
+configure:6303: checking if the linker (/usr/bin/ld) is GNU ld
+configure:6318: result: yes
+configure:6330: checking for BSD- or MS-compatible name lister (nm)
+configure:6379: result: /usr/bin/nm -B
+configure:6509: checking the name lister (/usr/bin/nm -B) interface
+configure:6516: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:6519: /usr/bin/nm -B "conftest.o"
+configure:6522: output
+0000000000000000 B some_variable
+configure:6529: result: BSD nm
+configure:6533: checking the maximum length of command line arguments
+configure:6663: result: 1572864
+configure:6680: checking whether the shell understands some XSI constructs
+configure:6690: result: yes
+configure:6694: checking whether the shell understands "+="
+configure:6700: result: yes
+configure:6735: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
+configure:6775: result: func_convert_file_noop
+configure:6782: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
+configure:6802: result: func_convert_file_noop
+configure:6809: checking for /usr/bin/ld option to reload object files
+configure:6816: result: -r
+configure:6890: checking for objdump
+configure:6906: found /usr/bin/objdump
+configure:6917: result: objdump
+configure:6949: checking how to recognize dependent libraries
+configure:7151: result: pass_all
+configure:7236: checking for dlltool
+configure:7266: result: no
+configure:7296: checking how to associate runtime and link libraries
+configure:7323: result: printf %s\n
+configure:7447: checking for archiver @FILE support
+configure:7464: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:7464: $? = 0
+configure:7467: ar cru libconftest.a @conftest.lst >&5
+configure:7470: $? = 0
+configure:7475: ar cru libconftest.a @conftest.lst >&5
+ar: conftest.o: No such file or directory
+configure:7478: $? = 1
+configure:7490: result: @
+configure:7548: checking for strip
+configure:7564: found /usr/bin/strip
+configure:7575: result: strip
+configure:7647: checking for ranlib
+configure:7663: found /usr/bin/ranlib
+configure:7674: result: ranlib
+configure:7776: checking command to parse /usr/bin/nm -B output from gcc object
+configure:7896: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:7899: $? = 0
+configure:7903: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
+configure:7906: $? = 0
+configure:7972: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp conftstm.o >&5
+configure:7975: $? = 0
+configure:8013: result: ok
+configure:8050: checking for sysroot
+configure:8080: result: no
+configure:8158: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:8161: $? = 0
+configure:8337: checking for mt
+configure:8353: found /usr/bin/mt
+configure:8364: result: mt
+configure:8387: checking if mt is a manifest tool
+configure:8393: mt '-?'
+usage: mt [-v] [--version] [-h] [ -f device ] command [ count ]
+configure:8401: result: no
+configure:9043: checking how to run the C preprocessor
+configure:9074: gcc -E  conftest.c
+configure:9074: $? = 0
+configure:9088: gcc -E  conftest.c
+conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
+ #include <ac_nonexistent.h>
+                            ^
+compilation terminated.
+configure:9088: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| /* end confdefs.h.  */
+| #include <ac_nonexistent.h>
+configure:9113: result: gcc -E
+configure:9133: gcc -E  conftest.c
+configure:9133: $? = 0
+configure:9147: gcc -E  conftest.c
+conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
+ #include <ac_nonexistent.h>
+                            ^
+compilation terminated.
+configure:9147: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| /* end confdefs.h.  */
+| #include <ac_nonexistent.h>
+configure:9176: checking for ANSI C header files
+configure:9196: gcc -c   conftest.c >&5
+configure:9196: $? = 0
+configure:9269: gcc -o conftest    conftest.c -L./mpi-stub/lib -lmpi >&5
+configure:9269: $? = 0
+configure:9269: ./conftest
+configure:9269: $? = 0
+configure:9280: result: yes
+configure:9293: checking for sys/types.h
+configure:9293: gcc -c   conftest.c >&5
+configure:9293: $? = 0
+configure:9293: result: yes
+configure:9293: checking for sys/stat.h
+configure:9293: gcc -c   conftest.c >&5
+configure:9293: $? = 0
+configure:9293: result: yes
+configure:9293: checking for stdlib.h
+configure:9293: gcc -c   conftest.c >&5
+configure:9293: $? = 0
+configure:9293: result: yes
+configure:9293: checking for string.h
+configure:9293: gcc -c   conftest.c >&5
+configure:9293: $? = 0
+configure:9293: result: yes
+configure:9293: checking for memory.h
+configure:9293: gcc -c   conftest.c >&5
+configure:9293: $? = 0
+configure:9293: result: yes
+configure:9293: checking for strings.h
+configure:9293: gcc -c   conftest.c >&5
+configure:9293: $? = 0
+configure:9293: result: yes
+configure:9293: checking for inttypes.h
+configure:9293: gcc -c   conftest.c >&5
+configure:9293: $? = 0
+configure:9293: result: yes
+configure:9293: checking for stdint.h
+configure:9293: gcc -c   conftest.c >&5
+configure:9293: $? = 0
+configure:9293: result: yes
+configure:9293: checking for unistd.h
+configure:9293: gcc -c   conftest.c >&5
+configure:9293: $? = 0
+configure:9293: result: yes
+configure:9307: checking for dlfcn.h
+configure:9307: gcc -c   conftest.c >&5
+configure:9307: $? = 0
+configure:9307: result: yes
+configure:9524: checking for objdir
+configure:9539: result: .libs
+configure:9810: checking if gcc supports -fno-rtti -fno-exceptions
+configure:9828: gcc -c   -fno-rtti -fno-exceptions conftest.c >&5
+cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
+configure:9832: $? = 0
+configure:9845: result: no
+configure:10172: checking for gcc option to produce PIC
+configure:10179: result: -fPIC -DPIC
+configure:10187: checking if gcc PIC flag -fPIC -DPIC works
+configure:10205: gcc -c   -fPIC -DPIC -DPIC conftest.c >&5
+configure:10209: $? = 0
+configure:10222: result: yes
+configure:10251: checking if gcc static flag -static works
+configure:10279: result: yes
+configure:10294: checking if gcc supports -c -o file.o
+configure:10315: gcc -c   -o out/conftest2.o conftest.c >&5
+configure:10319: $? = 0
+configure:10341: result: yes
+configure:10349: checking if gcc supports -c -o file.o
+configure:10396: result: yes
+configure:10429: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
+configure:11582: result: yes
+configure:11619: checking whether -lc should be explicitly linked in
+configure:11627: gcc -c   conftest.c >&5
+configure:11630: $? = 0
+configure:11645: gcc -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep  -lc  \>/dev/null 2\>\&1
+configure:11648: $? = 0
+configure:11662: result: no
+configure:11822: checking dynamic linker characteristics
+configure:12333: gcc -o conftest    -Wl,-rpath -Wl,/foo conftest.c -L./mpi-stub/lib -lmpi >&5
+configure:12333: $? = 0
+configure:12559: result: GNU/Linux ld.so
+configure:12666: checking how to hardcode library paths into programs
+configure:12691: result: immediate
+configure:13231: checking whether stripping libraries is possible
+configure:13236: result: yes
+configure:13271: checking if libtool supports shared libraries
+configure:13273: result: yes
+configure:13276: checking whether to build shared libraries
+configure:13297: result: yes
+configure:13300: checking whether to build static libraries
+configure:13304: result: yes
+configure:13327: checking how to run the C++ preprocessor
+configure:13354: g++ -static -I./mpi-stub/include -E  conftest.cpp
+configure:13354: $? = 0
+configure:13368: g++ -static -I./mpi-stub/include -E  conftest.cpp
+conftest.cpp:21:28: fatal error: ac_nonexistent.h: No such file or directory
+ #include <ac_nonexistent.h>
+                            ^
+compilation terminated.
+configure:13368: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| /* end confdefs.h.  */
+| #include <ac_nonexistent.h>
+configure:13393: result: g++ -static -I./mpi-stub/include -E
+configure:13413: g++ -static -I./mpi-stub/include -E  conftest.cpp
+configure:13413: $? = 0
+configure:13427: g++ -static -I./mpi-stub/include -E  conftest.cpp
+conftest.cpp:21:28: fatal error: ac_nonexistent.h: No such file or directory
+ #include <ac_nonexistent.h>
+                            ^
+compilation terminated.
+configure:13427: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| /* end confdefs.h.  */
+| #include <ac_nonexistent.h>
+configure:13596: checking for ld used by g++ -static -I./mpi-stub/include
+configure:13663: result: /usr/bin/ld -m elf_x86_64
+configure:13670: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
+configure:13685: result: yes
+configure:13740: checking whether the g++ -static -I./mpi-stub/include linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
+configure:14745: result: yes
+configure:14781: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:14784: $? = 0
+configure:15304: checking for g++ -static -I./mpi-stub/include option to produce PIC
+configure:15311: result: -fPIC -DPIC
+configure:15319: checking if g++ -static -I./mpi-stub/include PIC flag -fPIC -DPIC works
+configure:15337: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  -fPIC -DPIC -DPIC conftest.cpp >&5
+configure:15341: $? = 0
+configure:15354: result: yes
+configure:15377: checking if g++ -static -I./mpi-stub/include static flag -static works
+configure:15405: result: yes
+configure:15417: checking if g++ -static -I./mpi-stub/include supports -c -o file.o
+configure:15438: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  -o out/conftest2.o conftest.cpp >&5
+configure:15442: $? = 0
+configure:15464: result: yes
+configure:15469: checking if g++ -static -I./mpi-stub/include supports -c -o file.o
+configure:15516: result: yes
+configure:15546: checking whether the g++ -static -I./mpi-stub/include linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
+configure:15582: result: yes
+configure:15723: checking dynamic linker characteristics
+configure:16394: result: GNU/Linux ld.so
+configure:16447: checking how to hardcode library paths into programs
+configure:16472: result: immediate
+configure:16620: checking if libtool supports shared libraries
+configure:16622: result: yes
+configure:16625: checking whether to build shared libraries
+configure:16645: result: yes
+configure:16648: checking whether to build static libraries
+configure:16652: result: yes
+configure:16973: checking for gfortran option to produce PIC
+configure:16980: result: -fPIC
+configure:16988: checking if gfortran PIC flag -fPIC works
+configure:17006: gfortran -c -g -O2 -fPIC conftest.f >&5
+configure:17010: $? = 0
+configure:17023: result: yes
+configure:17046: checking if gfortran static flag -static works
+configure:17074: result: yes
+configure:17086: checking if gfortran supports -c -o file.o
+configure:17107: gfortran -c -g -O2 -o out/conftest2.o conftest.f >&5
+configure:17111: $? = 0
+configure:17133: result: yes
+configure:17138: checking if gfortran supports -c -o file.o
+configure:17185: result: yes
+configure:17215: checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
+configure:18318: result: yes
+configure:18459: checking dynamic linker characteristics
+configure:19124: result: GNU/Linux ld.so
+configure:19177: checking how to hardcode library paths into programs
+configure:19202: result: immediate
+configure:19696: checking for doxygen
+configure:19712: found /usr/bin/doxygen
+configure:19724: result: yes
+configure:19734: checking for pdflatex
+configure:19750: found /usr/local/stow/texlive-2016/bin/x86_64-linux/pdflatex
+configure:19762: result: yes
+configure:19772: checking for latex
+configure:19788: found /usr/local/stow/texlive-2016/bin/x86_64-linux/latex
+configure:19800: result: yes
+configure:19810: checking for dvips
+configure:19826: found /usr/local/stow/texlive-2016/bin/x86_64-linux/dvips
+configure:19838: result: yes
+configure:19848: checking for gs
+configure:19864: found /usr/bin/gs
+configure:19876: result: yes
+configure:19891: checking for perl
+configure:19909: found /usr/local/bin/perl
+configure:19921: result: /usr/local/bin/perl
+configure:20071: checking for doxygen
+configure:20089: found /usr/bin/doxygen
+configure:20101: result: /usr/bin/doxygen
+configure:20177: checking for perl
+configure:20195: found /usr/local/bin/perl
+configure:20207: result: /usr/local/bin/perl
+configure:20350: checking for dot
+configure:20368: found /usr/bin/dot
+configure:20380: result: /usr/bin/dot
+configure:21909: checking whether g++ -static -I./mpi-stub/include supports default template arguments by default
+configure:21922: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:21922: $? = 0
+configure:21929: result: yes
+configure:21989: checking for quadruple precision support
+configure:22012: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp -Qoption,cpp,--extended_float_type   conftest.cpp -L./mpi-stub/lib -lmpi >&5
+g++: error: unrecognized command line option '-Qoption,cpp,--extended_float_type'
+configure:22012: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| /* end confdefs.h.  */
+| 
+| int
+| main ()
+| {
+| _Quad q;
+|   ;
+|   return 0;
+| }
+configure:22034: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -L./mpi-stub/lib -lmpi >&5
+configure:22034: $? = 0
+configure:22042: result: __float128
+configure:22062: checking for cos in -lm
+configure:22087: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lm  -L./mpi-stub/lib -lmpi >&5
+configure:22087: $? = 0
+configure:22096: result: yes
+configure:22107: checking for cos in -limf
+configure:22132: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -limf  -lm -L./mpi-stub/lib -lmpi >&5
+/usr/bin/ld: cannot find -limf
+collect2: error: ld returned 1 exit status
+configure:22132: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_QUAD_PRECISON 1
+| #define QUAD_T __float128
+| #define HAVE_LIBM 1
+| /* end confdefs.h.  */
+| 
+| /* Override any GCC internal prototype to avoid an error.
+|    Use char because int might match the return type of a GCC
+|    builtin and then its argument prototype would still apply.  */
+| #ifdef __cplusplus
+| extern "C"
+| #endif
+| char cos ();
+| int
+| main ()
+| {
+| return cos ();
+|   ;
+|   return 0;
+| }
+configure:22141: result: no
+configure:22155: checking for X
+configure:22294: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lX11 -lm -L./mpi-stub/lib -lmpi >&5
+/usr/bin/ld: cannot find -lX11
+collect2: error: ld returned 1 exit status
+configure:22294: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_QUAD_PRECISON 1
+| #define QUAD_T __float128
+| #define HAVE_LIBM 1
+| /* end confdefs.h.  */
+| #include <X11/Xlib.h>
+| int
+| main ()
+| {
+| XrmInitialize ()
+|   ;
+|   return 0;
+| }
+configure:22333: result: no
+configure:22350: WARNING: Cannot find X Window System include files and libraries.
+               Please specify their location using --x-includes=dir and --x-libraries=dir
+configure:22366: checking for main in -lstdc++
+configure:22385: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lstdc++  -lm -L./mpi-stub/lib -lmpi >&5
+configure:22385: $? = 0
+configure:22394: result: yes
+configure:22405: checking for dlopen in -ldl
+configure:22430: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -ldl  -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+/tmp/ccpZqv8M.o: In function `main':
+conftest.cpp:(.text.startup+0x5): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
+configure:22430: $? = 0
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_QUAD_PRECISON 1
+| #define QUAD_T __float128
+| #define HAVE_LIBM 1
+| #define HAVE_LIBSTDC__ 1
+| /* end confdefs.h.  */
+| 
+| /* Override any GCC internal prototype to avoid an error.
+|    Use char because int might match the return type of a GCC
+|    builtin and then its argument prototype would still apply.  */
+| #ifdef __cplusplus
+| extern "C"
+| #endif
+| char dlopen ();
+| int
+| main ()
+| {
+| return dlopen ();
+|   ;
+|   return 0;
+| }
+configure:22439: result: no
+configure:22504: checking for support of offload pragma
+configure:22520: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+configure:22520: $? = 0
+configure:22527: result: yes
+configure:22531: checking for support of -no-offload flag
+configure:22553: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp -no-offload   conftest.cpp -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+g++: error: unrecognized command line option '-no-offload'; did you mean '-fno-offload='?
+configure:22553: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_QUAD_PRECISON 1
+| #define QUAD_T __float128
+| #define HAVE_LIBM 1
+| #define HAVE_LIBSTDC__ 1
+| /* end confdefs.h.  */
+| 
+| 
+| int
+| main ()
+| {
+| 
+|             #ifdef __INTEL_OFFLOAD
+|             #pragma offload target(mic:0)
+|             #endif
+| 
+|   ;
+|   return 0;
+| }
+configure:22560: result: no
+configure:22636: checking for fftw3.h
+configure:22649: g++ -static -I./mpi-stub/include -c  -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:22649: $? = 0
+configure:22657: result: yes
+configure:22671: checking for fftw_plan_dft_1d
+configure:22691: g++ -static -I./mpi-stub/include -o conftest  -O3 -march=native -fopenmp   conftest.cpp  -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+/tmp/cc9x3wM5.o: In function `main':
+conftest.cpp:(.text.startup+0x5): undefined reference to `fftw_plan_dft_1d'
+collect2: error: ld returned 1 exit status
+configure:22691: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_QUAD_PRECISON 1
+| #define QUAD_T __float128
+| #define HAVE_LIBM 1
+| #define HAVE_LIBSTDC__ 1
+| #define HAVE_INTEL_OFFLOAD_PRAGMA 1
+| /* end confdefs.h.  */
+| 
+| /* Override any GCC internal prototype to avoid an error.
+|    Use char because int might match the return type of a GCC
+|    builtin and then its argument prototype would still apply.  */
+| #ifdef __cplusplus
+| extern "C"
+| #endif
+| char fftw_plan_dft_1d ();
+| int
+| main ()
+| {
+| return fftw_plan_dft_1d ();
+|   ;
+|   return 0;
+| }
+configure:22700: result: no
+configure:22704: checking for fftw_plan_dft_1d in -lfftw3
+configure:22729: g++ -static -I./mpi-stub/include -o conftest  -O3 -march=native -fopenmp   conftest.cpp -lfftw3   -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+configure:22729: $? = 0
+configure:22738: result: yes
+configure:22910: checking for fftw3.h
+configure:22923: g++ -static -I./mpi-stub/include -c  -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:22923: $? = 0
+configure:22931: result: yes
+configure:22945: checking for fftwf_plan_dft_1d
+configure:22965: g++ -static -I./mpi-stub/include -o conftest  -O3 -march=native -fopenmp   conftest.cpp  -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+/tmp/ccFrCoSz.o: In function `main':
+conftest.cpp:(.text.startup+0x5): undefined reference to `fftwf_plan_dft_1d'
+collect2: error: ld returned 1 exit status
+configure:22965: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_QUAD_PRECISON 1
+| #define QUAD_T __float128
+| #define HAVE_LIBM 1
+| #define HAVE_LIBSTDC__ 1
+| #define HAVE_INTEL_OFFLOAD_PRAGMA 1
+| #define HAVE_FFTW 1
+| /* end confdefs.h.  */
+| 
+| /* Override any GCC internal prototype to avoid an error.
+|    Use char because int might match the return type of a GCC
+|    builtin and then its argument prototype would still apply.  */
+| #ifdef __cplusplus
+| extern "C"
+| #endif
+| char fftwf_plan_dft_1d ();
+| int
+| main ()
+| {
+| return fftwf_plan_dft_1d ();
+|   ;
+|   return 0;
+| }
+configure:22974: result: no
+configure:22978: checking for fftwf_plan_dft_1d in -lfftw3f
+configure:23003: g++ -static -I./mpi-stub/include -o conftest  -O3 -march=native -fopenmp   conftest.cpp -lfftw3f   -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+configure:23003: $? = 0
+configure:23012: result: yes
+configure:23191: checking for stdint.h
+configure:23191: result: yes
+configure:23191: checking cstdlib usability
+configure:23191: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:23191: $? = 0
+configure:23191: result: yes
+configure:23191: checking cstdlib presence
+configure:23191: g++ -static -I./mpi-stub/include -E  conftest.cpp
+configure:23191: $? = 0
+configure:23191: result: yes
+configure:23191: checking for cstdlib
+configure:23191: result: yes
+configure:23191: checking cstddef usability
+configure:23191: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:23191: $? = 0
+configure:23191: result: yes
+configure:23191: checking cstddef presence
+configure:23191: g++ -static -I./mpi-stub/include -E  conftest.cpp
+configure:23191: $? = 0
+configure:23191: result: yes
+configure:23191: checking for cstddef
+configure:23191: result: yes
+configure:23204: checking for stdbool.h that conforms to C99
+configure:23271: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+conftest.cpp:34:15: error: expected unqualified-id before string constant
+               "error: bool is not defined"
+               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
+conftest.cpp:52:48: error: 's' does not name a type
+              struct s { _Bool s: 1; _Bool t; } s;
+                                                ^
+conftest.cpp:62:28: error: 's' was not declared in this scope
+              char i[sizeof s.t];
+                            ^
+conftest.cpp: In function 'int main()':
+conftest.cpp:80:24: error: 's' was not declared in this scope
+              bool e = &s;
+                        ^
+conftest.cpp:84:63: error: 'i' was not declared in this scope
+              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
+                                                               ^
+configure:23271: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_QUAD_PRECISON 1
+| #define QUAD_T __float128
+| #define HAVE_LIBM 1
+| #define HAVE_LIBSTDC__ 1
+| #define HAVE_INTEL_OFFLOAD_PRAGMA 1
+| #define HAVE_FFTW 1
+| #define HAVE_FFTWF 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_CSTDLIB 1
+| #define HAVE_CSTDDEF 1
+| /* end confdefs.h.  */
+| 
+|              #include <stdbool.h>
+|              #ifndef bool
+|               "error: bool is not defined"
+|              #endif
+|              #ifndef false
+|               "error: false is not defined"
+|              #endif
+|              #if false
+|               "error: false is not 0"
+|              #endif
+|              #ifndef true
+|               "error: true is not defined"
+|              #endif
+|              #if true != 1
+|               "error: true is not 1"
+|              #endif
+|              #ifndef __bool_true_false_are_defined
+|               "error: __bool_true_false_are_defined is not defined"
+|              #endif
+| 
+|              struct s { _Bool s: 1; _Bool t; } s;
+| 
+|              char a[true == 1 ? 1 : -1];
+|              char b[false == 0 ? 1 : -1];
+|              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
+|              char d[(bool) 0.5 == true ? 1 : -1];
+|              /* See body of main program for 'e'.  */
+|              char f[(_Bool) 0.0 == false ? 1 : -1];
+|              char g[true];
+|              char h[sizeof (_Bool)];
+|              char i[sizeof s.t];
+|              enum { j = false, k = true, l = false * true, m = true * 256 };
+|              /* The following fails for
+|                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
+|              _Bool n[m];
+|              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
+|              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
+|              /* Catch a bug in an HP-UX C compiler.  See
+|                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
+|                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
+|               */
+|              _Bool q = true;
+|              _Bool *pq = &q;
+| 
+| int
+| main ()
+| {
+| 
+|              bool e = &s;
+|              *pq |= q;
+|              *pq |= ! q;
+|              /* Refer to every declared value, to avoid compiler optimizations.  */
+|              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
+|                      + !m + !n + !o + !p + !q + !pq);
+| 
+|   ;
+|   return 0;
+| }
+configure:23278: result: no
+configure:23280: checking for _Bool
+configure:23280: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+conftest.cpp: In function 'int main()':
+conftest.cpp:67:13: error: '_Bool' was not declared in this scope
+ if (sizeof (_Bool))
+             ^~~~~
+configure:23280: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_QUAD_PRECISON 1
+| #define QUAD_T __float128
+| #define HAVE_LIBM 1
+| #define HAVE_LIBSTDC__ 1
+| #define HAVE_INTEL_OFFLOAD_PRAGMA 1
+| #define HAVE_FFTW 1
+| #define HAVE_FFTWF 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_CSTDLIB 1
+| #define HAVE_CSTDDEF 1
+| /* end confdefs.h.  */
+| #include <stdio.h>
+| #ifdef HAVE_SYS_TYPES_H
+| # include <sys/types.h>
+| #endif
+| #ifdef HAVE_SYS_STAT_H
+| # include <sys/stat.h>
+| #endif
+| #ifdef STDC_HEADERS
+| # include <stdlib.h>
+| # include <stddef.h>
+| #else
+| # ifdef HAVE_STDLIB_H
+| #  include <stdlib.h>
+| # endif
+| #endif
+| #ifdef HAVE_STRING_H
+| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+| #  include <memory.h>
+| # endif
+| # include <string.h>
+| #endif
+| #ifdef HAVE_STRINGS_H
+| # include <strings.h>
+| #endif
+| #ifdef HAVE_INTTYPES_H
+| # include <inttypes.h>
+| #endif
+| #ifdef HAVE_STDINT_H
+| # include <stdint.h>
+| #endif
+| #ifdef HAVE_UNISTD_H
+| # include <unistd.h>
+| #endif
+| int
+| main ()
+| {
+| if (sizeof (_Bool))
+| 	 return 0;
+|   ;
+|   return 0;
+| }
+configure:23280: result: no
+configure:23297: checking whether stat file-mode macros are broken
+configure:23324: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:23324: $? = 0
+configure:23331: result: no
+configure:23339: checking for inline
+configure:23355: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:23355: $? = 0
+configure:23363: result: inline
+configure:23381: checking for int32_t
+configure:23381: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:23381: $? = 0
+configure:23381: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+conftest.cpp: In function 'int main()':
+conftest.cpp:69:53: warning: integer overflow in expression [-Woverflow]
+    < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
+conftest.cpp:69:58: error: size of array 'test_array' is negative
+    < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
+                                                          ^
+configure:23381: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_QUAD_PRECISON 1
+| #define QUAD_T __float128
+| #define HAVE_LIBM 1
+| #define HAVE_LIBSTDC__ 1
+| #define HAVE_INTEL_OFFLOAD_PRAGMA 1
+| #define HAVE_FFTW 1
+| #define HAVE_FFTWF 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_CSTDLIB 1
+| #define HAVE_CSTDDEF 1
+| /* end confdefs.h.  */
+| #include <stdio.h>
+| #ifdef HAVE_SYS_TYPES_H
+| # include <sys/types.h>
+| #endif
+| #ifdef HAVE_SYS_STAT_H
+| # include <sys/stat.h>
+| #endif
+| #ifdef STDC_HEADERS
+| # include <stdlib.h>
+| # include <stddef.h>
+| #else
+| # ifdef HAVE_STDLIB_H
+| #  include <stdlib.h>
+| # endif
+| #endif
+| #ifdef HAVE_STRING_H
+| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+| #  include <memory.h>
+| # endif
+| # include <string.h>
+| #endif
+| #ifdef HAVE_STRINGS_H
+| # include <strings.h>
+| #endif
+| #ifdef HAVE_INTTYPES_H
+| # include <inttypes.h>
+| #endif
+| #ifdef HAVE_STDINT_H
+| # include <stdint.h>
+| #endif
+| #ifdef HAVE_UNISTD_H
+| # include <unistd.h>
+| #endif
+| 	        enum { N = 32 / 2 - 1 };
+| int
+| main ()
+| {
+| static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1)
+| 		 < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
+| test_array [0] = 0;
+| return test_array [0];
+| 
+|   ;
+|   return 0;
+| }
+configure:23381: result: yes
+configure:23392: checking for uint16_t
+configure:23392: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:23392: $? = 0
+configure:23392: result: yes
+configure:23404: checking for uint8_t
+configure:23404: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:23404: $? = 0
+configure:23404: result: yes
+configure:23418: checking for size_t
+configure:23418: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+configure:23418: $? = 0
+configure:23418: g++ -static -I./mpi-stub/include -c -O3 -march=native -fopenmp  conftest.cpp >&5
+conftest.cpp: In function 'int main()':
+conftest.cpp:67:20: error: expected primary-expression before ')' token
+ if (sizeof ((size_t)))
+                    ^
+configure:23418: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_QUAD_PRECISON 1
+| #define QUAD_T __float128
+| #define HAVE_LIBM 1
+| #define HAVE_LIBSTDC__ 1
+| #define HAVE_INTEL_OFFLOAD_PRAGMA 1
+| #define HAVE_FFTW 1
+| #define HAVE_FFTWF 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_CSTDLIB 1
+| #define HAVE_CSTDDEF 1
+| /* end confdefs.h.  */
+| #include <stdio.h>
+| #ifdef HAVE_SYS_TYPES_H
+| # include <sys/types.h>
+| #endif
+| #ifdef HAVE_SYS_STAT_H
+| # include <sys/stat.h>
+| #endif
+| #ifdef STDC_HEADERS
+| # include <stdlib.h>
+| # include <stddef.h>
+| #else
+| # ifdef HAVE_STDLIB_H
+| #  include <stdlib.h>
+| # endif
+| #endif
+| #ifdef HAVE_STRING_H
+| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+| #  include <memory.h>
+| # endif
+| # include <string.h>
+| #endif
+| #ifdef HAVE_STRINGS_H
+| # include <strings.h>
+| #endif
+| #ifdef HAVE_INTTYPES_H
+| # include <inttypes.h>
+| #endif
+| #ifdef HAVE_STDINT_H
+| # include <stdint.h>
+| #endif
+| #ifdef HAVE_UNISTD_H
+| # include <unistd.h>
+| #endif
+| int
+| main ()
+| {
+| if (sizeof ((size_t)))
+| 	    return 0;
+|   ;
+|   return 0;
+| }
+configure:23418: result: yes
+configure:23432: checking for error_at_line
+configure:23448: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+configure:23448: $? = 0
+configure:23456: result: yes
+configure:23469: checking for stdlib.h
+configure:23469: result: yes
+configure:23479: checking for GNU libc compatible malloc
+configure:23503: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+configure:23503: $? = 0
+configure:23503: ./conftest
+configure:23503: $? = 0
+configure:23513: result: yes
+configure:23534: checking for working strtod
+configure:23575: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+conftest.cpp: In function 'int main()':
+conftest.cpp:75:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
+     char *string = " +69";
+                    ^~~~~~
+conftest.cpp:86:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
+     char *string = "NaN";
+                    ^~~~~
+configure:23575: $? = 0
+configure:23575: ./conftest
+configure:23575: $? = 0
+configure:23585: result: yes
+configure:23650: checking for floor
+configure:23650: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+configure:23650: $? = 0
+configure:23650: result: yes
+configure:23650: checking for memset
+configure:23650: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+configure:23650: $? = 0
+configure:23650: result: yes
+configure:23650: checking for pow
+configure:23650: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+configure:23650: $? = 0
+configure:23650: result: yes
+configure:23650: checking for sqrt
+configure:23650: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+configure:23650: $? = 0
+configure:23650: result: yes
+configure:23650: checking for strtol
+configure:23650: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+configure:23650: $? = 0
+configure:23650: result: yes
+configure:23650: checking for strtoul
+configure:23650: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+configure:23650: $? = 0
+configure:23650: result: yes
+configure:23662: checking for Intel SVML
+configure:23685: g++ -static -I./mpi-stub/include -o conftest -O3 -march=native -fopenmp   conftest.cpp -lstdc++ -lm -L./mpi-stub/lib -lmpi >&5
+/tmp/cc26YyB1.o: In function `main':
+conftest.cpp:(.text.startup+0x5): undefined reference to `_mm256_sin_ps'
+collect2: error: ld returned 1 exit status
+configure:23685: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "PvFMM"
+| #define PACKAGE_TARNAME "pvfmm"
+| #define PACKAGE_VERSION "1.0.0"
+| #define PACKAGE_STRING "PvFMM 1.0.0"
+| #define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+| #define PACKAGE_URL ""
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_QUAD_PRECISON 1
+| #define QUAD_T __float128
+| #define HAVE_LIBM 1
+| #define HAVE_LIBSTDC__ 1
+| #define HAVE_INTEL_OFFLOAD_PRAGMA 1
+| #define HAVE_FFTW 1
+| #define HAVE_FFTWF 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_CSTDLIB 1
+| #define HAVE_CSTDDEF 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_MALLOC 1
+| #define HAVE_FLOOR 1
+| #define HAVE_MEMSET 1
+| #define HAVE_POW 1
+| #define HAVE_SQRT 1
+| #define HAVE_STRTOL 1
+| #define HAVE_STRTOUL 1
+| /* end confdefs.h.  */
+| 
+| /* Override any GCC internal prototype to avoid an error.
+|    Use char because int might match the return type of a GCC
+|    builtin and then its argument prototype would still apply.  */
+| #ifdef __cplusplus
+| extern "C"
+| #endif
+| char _mm256_sin_ps ();
+| int
+| main ()
+| {
+| return _mm256_sin_ps ();
+|   ;
+|   return 0;
+| }
+configure:23837: checking that generated files are newer than configure
+configure:23843: result: done
+configure:23978: creating ./config.status
+
+## ---------------------- ##
+## Running config.status. ##
+## ---------------------- ##
+
+This file was extended by PvFMM config.status 1.0.0, which was
+generated by GNU Autoconf 2.69.  Invocation command line was
+
+  CONFIG_FILES    = 
+  CONFIG_HEADERS  = 
+  CONFIG_LINKS    = 
+  CONFIG_COMMANDS = 
+  $ ./config.status 
+
+on box706.cims.nyu.edu
+
+config.status:1301: creating Makefile
+config.status:1301: creating MakeVariables
+config.status:1301: creating doc/doc/Makefile
+config.status:1301: creating config.h
+config.status:1482: config.h is unchanged
+config.status:1530: executing include/pvfmm_config.h commands
+config.status:1568: creating include/pvfmm_config.h - prefix PVFMM for config.h defines
+config.status:1590: include/pvfmm_config.h is unchanged
+config.status:1530: executing depfiles commands
+config.status:1530: executing libtool commands
+
+## ---------------- ##
+## Cache variables. ##
+## ---------------- ##
+
+ac_cv_build=x86_64-unknown-linux-gnu
+ac_cv_c_compiler_gnu=yes
+ac_cv_c_inline=inline
+ac_cv_c_int32_t=yes
+ac_cv_c_uint16_t=yes
+ac_cv_c_uint8_t=yes
+ac_cv_cxx_compiler_gnu=yes
+ac_cv_env_CCC_set=
+ac_cv_env_CCC_value=
+ac_cv_env_CC_set=
+ac_cv_env_CC_value=
+ac_cv_env_CFLAGS_set=
+ac_cv_env_CFLAGS_value=
+ac_cv_env_CPPFLAGS_set=
+ac_cv_env_CPPFLAGS_value=
+ac_cv_env_CPP_set=
+ac_cv_env_CPP_value=
+ac_cv_env_CXXCPP_set=
+ac_cv_env_CXXCPP_value=
+ac_cv_env_CXXFLAGS_set=set
+ac_cv_env_CXXFLAGS_value='-O3 -march=native -fopenmp'
+ac_cv_env_CXX_set=
+ac_cv_env_CXX_value=
+ac_cv_env_DOXYGEN_PAPER_SIZE_set=
+ac_cv_env_DOXYGEN_PAPER_SIZE_value=
+ac_cv_env_F77_set=
+ac_cv_env_F77_value=
+ac_cv_env_FFLAGS_set=
+ac_cv_env_FFLAGS_value=
+ac_cv_env_LDFLAGS_set=
+ac_cv_env_LDFLAGS_value=
+ac_cv_env_LIBS_set=set
+ac_cv_env_LIBS_value='-L./mpi-stub/lib -lmpi'
+ac_cv_env_MPICXX_set=set
+ac_cv_env_MPICXX_value='g++ -static -I./mpi-stub/include'
+ac_cv_env_NVCCFLAGS_set=
+ac_cv_env_NVCCFLAGS_value=
+ac_cv_env_XMKMF_set=
+ac_cv_env_XMKMF_value=
+ac_cv_env_build_alias_set=
+ac_cv_env_build_alias_value=
+ac_cv_env_host_alias_set=
+ac_cv_env_host_alias_value=
+ac_cv_env_target_alias_set=
+ac_cv_env_target_alias_value=
+ac_cv_f77_compiler_gnu=yes
+ac_cv_func_MPI_Init=yes
+ac_cv_func_floor=yes
+ac_cv_func_malloc_0_nonnull=yes
+ac_cv_func_memset=yes
+ac_cv_func_pow=yes
+ac_cv_func_sqrt=yes
+ac_cv_func_strtod=yes
+ac_cv_func_strtol=yes
+ac_cv_func_strtoul=yes
+ac_cv_have_x=have_x=no
+ac_cv_header_cstddef=yes
+ac_cv_header_cstdlib=yes
+ac_cv_header_dlfcn_h=yes
+ac_cv_header_inttypes_h=yes
+ac_cv_header_memory_h=yes
+ac_cv_header_stat_broken=no
+ac_cv_header_stdbool_h=no
+ac_cv_header_stdc=yes
+ac_cv_header_stdint_h=yes
+ac_cv_header_stdlib_h=yes
+ac_cv_header_string_h=yes
+ac_cv_header_strings_h=yes
+ac_cv_header_sys_stat_h=yes
+ac_cv_header_sys_types_h=yes
+ac_cv_header_unistd_h=yes
+ac_cv_host=x86_64-unknown-linux-gnu
+ac_cv_lib_dl_dlopen=no
+ac_cv_lib_error_at_line=yes
+ac_cv_lib_fftw3_fftw_plan_dft_1d=yes
+ac_cv_lib_fftw3f_fftwf_plan_dft_1d=yes
+ac_cv_lib_imf_cos=no
+ac_cv_lib_m_cos=yes
+ac_cv_lib_stdcpp_main=yes
+ac_cv_objext=o
+ac_cv_path_EGREP='/usr/bin/grep -E'
+ac_cv_path_FGREP='/usr/bin/grep -F'
+ac_cv_path_GREP=/usr/bin/grep
+ac_cv_path_PERL=/usr/local/bin/perl
+ac_cv_path_SED=/usr/bin/sed
+ac_cv_path_ac_pt_DX_DOT=/usr/bin/dot
+ac_cv_path_ac_pt_DX_DOXYGEN=/usr/bin/doxygen
+ac_cv_path_ac_pt_DX_PERL=/usr/local/bin/perl
+ac_cv_path_install='/usr/bin/install -c'
+ac_cv_path_mkdir=/usr/bin/mkdir
+ac_cv_prog_AWK=gawk
+ac_cv_prog_CPP='gcc -E'
+ac_cv_prog_CXXCPP='g++ -static -I./mpi-stub/include -E'
+ac_cv_prog_MPICXX='g++ -static -I./mpi-stub/include'
+ac_cv_prog_ac_ct_AR=ar
+ac_cv_prog_ac_ct_CC=gcc
+ac_cv_prog_ac_ct_F77=gfortran
+ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
+ac_cv_prog_ac_ct_OBJDUMP=objdump
+ac_cv_prog_ac_ct_RANLIB=ranlib
+ac_cv_prog_ac_ct_STRIP=strip
+ac_cv_prog_cc_c89=
+ac_cv_prog_cc_g=yes
+ac_cv_prog_cxx_g=yes
+ac_cv_prog_doxygen_ok=yes
+ac_cv_prog_dvips_ok=yes
+ac_cv_prog_f77_g=yes
+ac_cv_prog_gs_ok=yes
+ac_cv_prog_latex_ok=yes
+ac_cv_prog_make_make_set=yes
+ac_cv_prog_pdflatex_ok=yes
+ac_cv_type__Bool=no
+ac_cv_type_size_t=yes
+am_cv_CC_dependencies_compiler_type=gcc3
+am_cv_CXX_dependencies_compiler_type=gcc3
+am_cv_ar_interface=ar
+am_cv_make_support_nested_variables=yes
+ax_cv_cxx_compile_template=yes
+ax_cv_cxx_compiler_vendor=gnu
+lt_cv_ar_at_file=@
+lt_cv_archive_cmds_need_lc=no
+lt_cv_deplibs_check_method=pass_all
+lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_ld_reload_flag=-r
+lt_cv_nm_interface='BSD nm'
+lt_cv_objdir=.libs
+lt_cv_path_LD=/usr/bin/ld
+lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
+lt_cv_path_NM='/usr/bin/nm -B'
+lt_cv_path_mainfest_tool=no
+lt_cv_prog_compiler_c_o=yes
+lt_cv_prog_compiler_c_o_CXX=yes
+lt_cv_prog_compiler_c_o_F77=yes
+lt_cv_prog_compiler_pic='-fPIC -DPIC'
+lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
+lt_cv_prog_compiler_pic_F77=-fPIC
+lt_cv_prog_compiler_pic_works=yes
+lt_cv_prog_compiler_pic_works_CXX=yes
+lt_cv_prog_compiler_pic_works_F77=yes
+lt_cv_prog_compiler_rtti_exceptions=no
+lt_cv_prog_compiler_static_works=yes
+lt_cv_prog_compiler_static_works_CXX=yes
+lt_cv_prog_compiler_static_works_F77=yes
+lt_cv_prog_gnu_ld=yes
+lt_cv_prog_gnu_ldcxx=yes
+lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
+lt_cv_shlibpath_overrides_runpath=no
+lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
+lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
+lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
+lt_cv_sys_max_cmd_len=1572864
+lt_cv_to_host_file_cmd=func_convert_file_noop
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+
+## ----------------- ##
+## Output variables. ##
+## ----------------- ##
+
+ACLOCAL='${SHELL} /home/malhotra/workspace/pvfmm-static/build-aux/missing aclocal-1.13'
+AMDEPBACKSLASH='\'
+AMDEP_FALSE='#'
+AMDEP_TRUE=''
+AMTAR='$${TAR-tar}'
+AM_BACKSLASH='\'
+AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+AM_DEFAULT_VERBOSITY='1'
+AM_V='$(V)'
+AR='ar'
+ARFLAGS='cru'
+AUTOCONF='${SHELL} /home/malhotra/workspace/pvfmm-static/build-aux/missing autoconf'
+AUTOHEADER='${SHELL} /home/malhotra/workspace/pvfmm-static/build-aux/missing autoheader'
+AUTOMAKE='${SHELL} /home/malhotra/workspace/pvfmm-static/build-aux/missing automake-1.13'
+AWK='gawk'
+CC='gcc'
+CCDEPMODE='depmode=gcc3'
+CFLAGS=''
+CPP='gcc -E'
+CPPFLAGS=''
+CUDA_CFLAGS=''
+CUDA_LDLIBS=''
+CXX='g++ -static -I./mpi-stub/include'
+CXXCPP='g++ -static -I./mpi-stub/include -E'
+CXXDEPMODE='depmode=gcc3'
+CXXFLAGS='-O3 -march=native -fopenmp'
+CYGPATH_W='echo'
+DEFS='-DHAVE_CONFIG_H'
+DEPDIR='.deps'
+DLLTOOL='false'
+DOXYGEN_OK_FALSE='#'
+DOXYGEN_OK_TRUE=''
+DOXYGEN_PAPER_SIZE=''
+DSYMUTIL=''
+DUMPBIN=''
+DX_COND_chi_FALSE=''
+DX_COND_chi_TRUE='#'
+DX_COND_chm_FALSE=''
+DX_COND_chm_TRUE='#'
+DX_COND_doc_FALSE='#'
+DX_COND_doc_TRUE=''
+DX_COND_dot_FALSE='#'
+DX_COND_dot_TRUE=''
+DX_COND_html_FALSE='#'
+DX_COND_html_TRUE=''
+DX_COND_latex_FALSE=''
+DX_COND_latex_TRUE='#'
+DX_COND_man_FALSE=''
+DX_COND_man_TRUE='#'
+DX_COND_pdf_FALSE=''
+DX_COND_pdf_TRUE='#'
+DX_COND_ps_FALSE=''
+DX_COND_ps_TRUE='#'
+DX_COND_rtf_FALSE=''
+DX_COND_rtf_TRUE='#'
+DX_COND_xml_FALSE=''
+DX_COND_xml_TRUE='#'
+DX_CONFIG='Doxyfile'
+DX_DOCDIR='doc/doxygen'
+DX_DOT='/usr/bin/dot'
+DX_DOXYGEN='/usr/bin/doxygen'
+DX_DVIPS=''
+DX_EGREP=''
+DX_ENV=' SRCDIR='\''.'\'' PROJECT='\''PvFMM'\'' DOCDIR='\''doc/doxygen'\'' VERSION='\''1.0.0'\'' PERL_PATH='\''/usr/local/bin/perl'\'' HAVE_DOT='\''YES'\'' DOT_PATH='\''/usr/bin'\'' GENERATE_MAN='\''NO'\'' GENERATE_RTF='\''NO'\'' GENERATE_XML='\''NO'\'' GENERATE_HTMLHELP='\''NO'\'' GENERATE_CHI='\''NO'\'' GENERATE_HTML='\''YES'\'' GENERATE_LATEX='\''NO'\'''
+DX_FLAG_DX_CURRENT_FEATURE=''
+DX_FLAG_chi='0'
+DX_FLAG_chm='0'
+DX_FLAG_doc='1'
+DX_FLAG_dot='1'
+DX_FLAG_html='1'
+DX_FLAG_man='0'
+DX_FLAG_pdf='0'
+DX_FLAG_ps='0'
+DX_FLAG_rtf='0'
+DX_FLAG_xml='0'
+DX_HHC=''
+DX_LATEX=''
+DX_MAKEINDEX=''
+DX_PDFLATEX=''
+DX_PERL='/usr/local/bin/perl'
+DX_PROJECT='PvFMM'
+ECHO_C=''
+ECHO_N='-n'
+ECHO_T=''
+EGREP='/usr/bin/grep -E'
+EXEEXT=''
+F77='gfortran'
+FFLAGS='-g -O2'
+FFTWF_LIB=' -lfftw3f'
+FFTW_INCLUDE=''
+FFTW_LIB=' -lfftw3'
+FGREP='/usr/bin/grep -F'
+GREP='/usr/bin/grep'
+HTML_DOC_FALSE=''
+HTML_DOC_TRUE='#'
+INSTALL_DATA='${INSTALL} -m 644'
+INSTALL_PROGRAM='${INSTALL}'
+INSTALL_SCRIPT='${INSTALL}'
+INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
+LATEX_OK_FALSE='#'
+LATEX_OK_TRUE=''
+LD='/usr/bin/ld -m elf_x86_64'
+LDFLAGS=''
+LIBOBJS=''
+LIBS='-lstdc++ -lm -L./mpi-stub/lib -lmpi'
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+LIPO=''
+LN_S='ln -s'
+LTLIBOBJS=''
+MAKEINFO='${SHELL} /home/malhotra/workspace/pvfmm-static/build-aux/missing makeinfo'
+MANIFEST_TOOL=':'
+MKDIR_P='/usr/bin/mkdir -p'
+MPICXX='g++ -static -I./mpi-stub/include'
+MPILIBS=' '
+NM='/usr/bin/nm -B'
+NMEDIT=''
+NVCC='no'
+NVCCFLAGS=''
+NVCC_OK_FALSE=''
+NVCC_OK_TRUE='#'
+OBJDUMP='objdump'
+OBJEXT='o'
+OTOOL64=''
+OTOOL=''
+PACKAGE='pvfmm'
+PACKAGE_BUGREPORT='dmalhotra@ices.utexas.edu'
+PACKAGE_NAME='PvFMM'
+PACKAGE_STRING='PvFMM 1.0.0'
+PACKAGE_TARNAME='pvfmm'
+PACKAGE_URL=''
+PACKAGE_VERSION='1.0.0'
+PATH_SEPARATOR=':'
+PDFLATEX_OK_FALSE='#'
+PDFLATEX_OK_TRUE=''
+PERL='/usr/local/bin/perl'
+POW_LIB=''
+RANLIB='ranlib'
+SED='/usr/bin/sed'
+SET_MAKE=''
+SHELL='/bin/sh'
+STRIP='strip'
+VERSION='1.0.0'
+XMKMF=''
+X_INCLUDES=''
+X_LIBS=''
+ac_ct_AR='ar'
+ac_ct_CC='gcc'
+ac_ct_CXX=''
+ac_ct_DUMPBIN=''
+ac_ct_F77='gfortran'
+am__EXEEXT_FALSE=''
+am__EXEEXT_TRUE='#'
+am__fastdepCC_FALSE='#'
+am__fastdepCC_TRUE=''
+am__fastdepCXX_FALSE='#'
+am__fastdepCXX_TRUE=''
+am__include='include'
+am__isrc=''
+am__leading_dot='.'
+am__nodep='_no'
+am__quote=''
+am__tar='$${TAR-tar} chof - "$$tardir"'
+am__untar='$${TAR-tar} xf -'
+bindir='${exec_prefix}/bin'
+build='x86_64-unknown-linux-gnu'
+build_alias=''
+build_cpu='x86_64'
+build_os='linux-gnu'
+build_vendor='unknown'
+datadir='${datarootdir}'
+datarootdir='${prefix}/share'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+doxygen_ok='yes'
+dvidir='${docdir}'
+dvips_ok='yes'
+exec_prefix='${prefix}'
+gs_ok='yes'
+host='x86_64-unknown-linux-gnu'
+host_alias=''
+host_cpu='x86_64'
+host_os='linux-gnu'
+host_vendor='unknown'
+htmldir='${docdir}'
+includedir='${prefix}/include'
+infodir='${datarootdir}/info'
+install_sh='${SHELL} /home/malhotra/workspace/pvfmm-static/build-aux/install-sh'
+intel_noffload_flag_ok='no'
+intel_offload_ok='no'
+intel_offload_pragma_ok='yes'
+latex_ok='yes'
+libdir='${exec_prefix}/lib'
+libexecdir='${exec_prefix}/libexec'
+localedir='${datarootdir}/locale'
+localstatedir='${prefix}/var'
+mandir='${datarootdir}/man'
+mkdir_p='$(MKDIR_P)'
+oldincludedir='/usr/include'
+pdfdir='${docdir}'
+pdflatex_ok='yes'
+prefix='/usr/local'
+program_transform_name='s,x,x,'
+psdir='${docdir}'
+sbindir='${exec_prefix}/sbin'
+sharedstatedir='${prefix}/com'
+sysconfdir='${prefix}/etc'
+target_alias=''
+
+## ----------- ##
+## confdefs.h. ##
+## ----------- ##
+
+/* confdefs.h */
+#define PACKAGE_NAME "PvFMM"
+#define PACKAGE_TARNAME "pvfmm"
+#define PACKAGE_VERSION "1.0.0"
+#define PACKAGE_STRING "PvFMM 1.0.0"
+#define PACKAGE_BUGREPORT "dmalhotra@ices.utexas.edu"
+#define PACKAGE_URL ""
+#define STDC_HEADERS 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRING_H 1
+#define HAVE_MEMORY_H 1
+#define HAVE_STRINGS_H 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_DLFCN_H 1
+#define LT_OBJDIR ".libs/"
+#define HAVE_QUAD_PRECISON 1
+#define QUAD_T __float128
+#define HAVE_LIBM 1
+#define HAVE_LIBSTDC__ 1
+#define HAVE_INTEL_OFFLOAD_PRAGMA 1
+#define HAVE_FFTW 1
+#define HAVE_FFTWF 1
+#define HAVE_STDINT_H 1
+#define HAVE_CSTDLIB 1
+#define HAVE_CSTDDEF 1
+#define HAVE_STDLIB_H 1
+#define HAVE_MALLOC 1
+#define HAVE_FLOOR 1
+#define HAVE_MEMSET 1
+#define HAVE_POW 1
+#define HAVE_SQRT 1
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL 1
+#define PRECOMP_DATA_PATH ""
+
+configure: exit 0

+ 51 - 51
configure.ac

@@ -95,44 +95,44 @@ AC_CHECK_LIB(stdc++,main)
 AC_CHECK_LIB(dl,dlopen)
 
 # Check for OpenMP
-AC_LANG_WERROR([on])
-if $USE_OPENMP; then
-  AC_ARG_WITH(openmp_flag,
-	      [AS_HELP_STRING([--with-openmp-flag="FLAGS"],
-			      [FLAGS to enable OpenMP])],
-	      [OPENMP_FLAG="-$withval"],
-	      [OPENMP_FLAG=""])
-
-  # Check if OpenMP flag is already specified.
-  CHECK_OPENMP($OPENMP_FLAG)
-
-  # Check for all common OpenMP flags.
-  if test "$cv_openmp" = no; then
-    case "$ax_cv_cxx_compiler_vendor" in
-      gnu)
-      CHECK_OPENMP(-fopenmp)
-      ;;
-      intel)
-      CHECK_OPENMP(-openmp)
-      ;;
-      pgi)
-      CHECK_OPENMP(-mp)
-      ;;
-      msdosmsvc)
-      ## FIXME is this the right flag for MSVC?
-      CHECK_OPENMP(-openmp)
-      ;;
-      ## Add other compilers supporting OpenMP here
-    esac
-  fi
-
-  # Error: OpenMP not available.
-  if test "$cv_openmp" = no; then
-    AC_MSG_ERROR([Don't know how to enable OpenMP. 
-		  Please specify the OpenMP flag using: --with-openmp-flag=<flag>.]);
-  fi
-fi
-AC_LANG_WERROR([off])
+#AC_LANG_WERROR([on])
+#if $USE_OPENMP; then
+#  AC_ARG_WITH(openmp_flag,
+#	      [AS_HELP_STRING([--with-openmp-flag="FLAGS"],
+#			      [FLAGS to enable OpenMP])],
+#	      [OPENMP_FLAG="-$withval"],
+#	      [OPENMP_FLAG=""])
+#
+#  # Check if OpenMP flag is already specified.
+#  CHECK_OPENMP($OPENMP_FLAG)
+#
+#  # Check for all common OpenMP flags.
+#  if test "$cv_openmp" = no; then
+#    case "$ax_cv_cxx_compiler_vendor" in
+#      gnu)
+#      CHECK_OPENMP(-fopenmp)
+#      ;;
+#      intel)
+#      CHECK_OPENMP(-openmp)
+#      ;;
+#      pgi)
+#      CHECK_OPENMP(-mp)
+#      ;;
+#      msdosmsvc)
+#      ## FIXME is this the right flag for MSVC?
+#      CHECK_OPENMP(-openmp)
+#      ;;
+#      ## Add other compilers supporting OpenMP here
+#    esac
+#  fi
+#
+#  # Error: OpenMP not available.
+#  if test "$cv_openmp" = no; then
+#    AC_MSG_ERROR([Don't know how to enable OpenMP. 
+#		  Please specify the OpenMP flag using: --with-openmp-flag=<flag>.]);
+#  fi
+#fi
+#AC_LANG_WERROR([off])
 
 # Check for Intel Xeon Phi
 CHECK_INTEL_OFFLOAD
@@ -163,19 +163,19 @@ AC_CHECK_FFTWF
 #    CPPFLAGS="${PETSC_BLASLAPACK_INCLUDE} $CPPFLAGS"
 #  fi
 #fi
-CFLAGS_save=$CFLAGS
-CXXFLAGS_save=$CXXFLAGS
-CFLAGS=""
-CXXFLAGS=""
-AX_BLAS(acx_blas_ok=yes, AC_MSG_ERROR([Cannot find BLAS library.
-                    Please specify the location of the library using: --with-blas=LIB]))
-AX_LAPACK(acx_lapack_ok=yes, AC_MSG_ERROR([Cannot find LAPACK library.
-                    Please specify the location of the library using: --with-lapack=LIB]))
-CFLAGS=$CFLAGS_save
-CXXFLAGS=$CXXFLAGS_save
-AC_SUBST(LAPACK_LIBS)
-AC_SUBST(BLAS_LIBS)
-AC_SUBST(FLIBS)
+#CFLAGS_save=$CFLAGS
+#CXXFLAGS_save=$CXXFLAGS
+#CFLAGS=""
+#CXXFLAGS=""
+#AX_BLAS(acx_blas_ok=yes, AC_MSG_ERROR([Cannot find BLAS library.
+#                    Please specify the location of the library using: --with-blas=LIB]))
+#AX_LAPACK(acx_lapack_ok=yes, AC_MSG_ERROR([Cannot find LAPACK library.
+#                    Please specify the location of the library using: --with-lapack=LIB]))
+#CFLAGS=$CFLAGS_save
+#CXXFLAGS=$CXXFLAGS_save
+#AC_SUBST(LAPACK_LIBS)
+#AC_SUBST(BLAS_LIBS)
+#AC_SUBST(FLIBS)
 
 
 # Checks for header files.

BIN
examples/bin/example1


BIN
examples/bin/example2


BIN
examples/bin/fmm_cheb


BIN
examples/bin/fmm_pts


+ 1 - 0
examples/mpi-stub

@@ -0,0 +1 @@
+../mpi-stub

+ 14 - 14
include/mat_utils.txx

@@ -68,11 +68,11 @@ namespace mat{
     }
   }
 
-  template<>
-  void gemm<float>(char TransA, char TransB,  int M,  int N,  int K,  float alpha,  float *A,  int lda,  float *B,  int ldb,  float beta, float *C,  int ldc);
-
-  template<>
-  void gemm<double>(char TransA, char TransB,  int M,  int N,  int K,  double alpha,  double *A,  int lda,  double *B,  int ldb,  double beta, double *C,  int ldc);
+//  template<>
+//  void gemm<float>(char TransA, char TransB,  int M,  int N,  int K,  float alpha,  float *A,  int lda,  float *B,  int ldb,  float beta, float *C,  int ldc);
+//
+//  template<>
+//  void gemm<double>(char TransA, char TransB,  int M,  int N,  int K,  double alpha,  double *A,  int lda,  double *B,  int ldb,  double beta, double *C,  int ldc);
 
   #if defined(PVFMM_HAVE_CUDA)
   template<>
@@ -457,15 +457,15 @@ namespace mat{
     }
   }
 
-  template<>
-  void svd<float>(char *JOBU, char *JOBVT, int *M, int *N, float *A, int *LDA,
-      float *S, float *U, int *LDU, float *VT, int *LDVT, float *WORK, int *LWORK,
-      int *INFO);
-
-  template<>
-  void svd<double>(char *JOBU, char *JOBVT, int *M, int *N, double *A, int *LDA,
-      double *S, double *U, int *LDU, double *VT, int *LDVT, double *WORK, int *LWORK,
-      int *INFO);
+//  template<>
+//  void svd<float>(char *JOBU, char *JOBVT, int *M, int *N, float *A, int *LDA,
+//      float *S, float *U, int *LDU, float *VT, int *LDVT, float *WORK, int *LWORK,
+//      int *INFO);
+//
+//  template<>
+//  void svd<double>(char *JOBU, char *JOBVT, int *M, int *N, double *A, int *LDA,
+//      double *S, double *U, int *LDU, double *VT, int *LDVT, double *WORK, int *LWORK,
+//      int *INFO);
 
   /**
    * \brief Computes the pseudo inverse of matrix M(n1xn2) (in row major form)

+ 3 - 0
mpi-stub/.gitignore

@@ -0,0 +1,3 @@
+*~
+/lib/
+/src/*.o

+ 26 - 0
mpi-stub/Makefile

@@ -0,0 +1,26 @@
+CC = gcc -static
+CXX = g++ -static
+AR = ar rcu 
+
+RM = rm -f
+MKDIRS = mkdir -p
+
+LIBDIR = ./lib
+SRCDIR = ./src
+INCDIR = ./include
+
+TARGET = $(LIBDIR)/libmpi.a
+
+all : $(TARGET)
+
+$(LIBDIR)/lib%.a: $(SRCDIR)/%.o
+	-@$(MKDIRS) $(dir $@)
+	$(AR) $@ $^
+
+%.o : %.cpp
+	-@$(MKDIRS) $(dir $@)
+	$(CC) -I$(INCDIR) -c $^ -o $@
+
+clean: 
+	$(RM) -f *~ */*~ $(SRCDIR)/*.o
+	$(RM) -f $(TARGET)

+ 128 - 0
mpi-stub/include/mpi.h

@@ -0,0 +1,128 @@
+#ifndef _MPI_STUB_H_
+#define _MPI_STUB_H_
+
+#include <stdlib.h>
+#include <stdio.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Communicators */
+typedef int MPI_Comm;
+#define MPI_COMM_WORLD ((MPI_Comm)91)
+#define MPI_COMM_SELF  ((MPI_Comm)92)
+#define MPI_COMM_NULL  ((MPI_Comm)0)
+
+/* Define MPI_Datatype */
+typedef size_t MPI_Datatype;
+
+/* Define native MPI datatypes. */
+#define DECLARE_NATIVE_MPI_DATATYPE(MPITYPE, CTYPE) \
+  const MPI_Datatype MPITYPE=sizeof(CTYPE);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_BYTE              ,char);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_CHAR              ,char);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_SHORT             ,signed short int);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_INT               ,signed int);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_LONG              ,signed long int);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_LONG_LONG_INT     ,signed long long int);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_LONG_LONG         ,signed long long int);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_SIGNED_CHAR       ,signed char);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_UNSIGNED_CHAR     ,unsigned char);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_UNSIGNED_SHORT    ,unsigned short int);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_UNSIGNED          ,unsigned int);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_UNSIGNED_LONG     ,unsigned long int);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_UNSIGNED_LONG_LONG,unsigned long long int);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_FLOAT             ,float);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_DOUBLE            ,double);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_LONG_DOUBLE       ,long double);
+DECLARE_NATIVE_MPI_DATATYPE(MPI_WCHAR             ,wchar_t);
+
+/* Define MPI_Op */
+typedef int MPI_Op;
+#define MPI_SUM ((MPI_Op)0)
+#define MPI_MIN ((MPI_Op)0)
+#define MPI_MAX ((MPI_Op)0)
+
+typedef void (*MPI_User_function)(void*, void*, int*, MPI_Datatype*);
+int MPI_Type_contiguous(int count, MPI_Datatype oldtype, MPI_Datatype *newtype);
+int MPI_Op_create(MPI_User_function *user_fn, int commute, MPI_Op *op);
+int MPI_Type_commit(MPI_Datatype *datatype);
+
+
+/* Basic MPI functions */
+int MPI_Init( int *argc, char ***argv);
+int MPI_Finalize(void);
+
+int MPI_Comm_rank( MPI_Comm comm, int *rank );
+int MPI_Comm_size( MPI_Comm comm, int *size );
+
+
+/* MPI send/recv functions */
+typedef int MPI_Request;
+typedef int MPI_Status;
+
+int MPI_Recv(void *buf, int count, MPI_Datatype datatype, int source, int tag,
+             MPI_Comm comm, MPI_Status *status);
+
+int MPI_Irecv(void *buf, int count, MPI_Datatype datatype, int source,
+              int tag, MPI_Comm comm, MPI_Request *request);
+
+int MPI_Send(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,
+             MPI_Comm comm);
+
+int MPI_Issend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,
+               MPI_Comm comm, MPI_Request *request);
+
+int MPI_Sendrecv(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
+                 int dest, int sendtag,
+                 void *recvbuf, int recvcount, MPI_Datatype recvtype,
+                 int source, int recvtag,
+                 MPI_Comm comm, MPI_Status *status);
+
+
+/* MPI collectives */
+int MPI_Barrier(MPI_Comm comm);
+
+int MPI_Scan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype,
+             MPI_Op op, MPI_Comm comm);
+
+int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype, int root,
+              MPI_Comm comm);
+
+int MPI_Reduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype,
+               MPI_Op op, int root, MPI_Comm comm);
+
+int MPI_Allreduce(const void *sendbuf, void *recvbuf, int count,
+                  MPI_Datatype datatype, MPI_Op op, MPI_Comm comm);
+
+int MPI_Allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
+                  void *recvbuf, int recvcount, MPI_Datatype recvtype,
+                  MPI_Comm comm);
+
+int MPI_Allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
+                   void *recvbuf, const int *recvcounts, const int *displs,
+                   MPI_Datatype recvtype, MPI_Comm comm);
+
+int MPI_Alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
+                 void *recvbuf, int recvcount, MPI_Datatype recvtype,
+                 MPI_Comm comm);
+
+
+/* Miscellaneous MPI functions */
+int MPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *newcomm);
+
+int MPI_Comm_free(MPI_Comm *comm);
+
+int MPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm);
+
+int MPI_Wait(MPI_Request *request, MPI_Status *status);
+
+int MPI_Waitall(int count, MPI_Request array_of_requests[],
+                MPI_Status array_of_statuses[]);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //_MPI_STUB_H_

+ 139 - 0
mpi-stub/src/mpi.cpp

@@ -0,0 +1,139 @@
+#include <mpi.h>
+#include <string.h>
+#include <assert.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int MPI_Init( int *argc, char ***argv) {return 0;};
+int MPI_Finalize(void) {return 0;};
+
+int MPI_Comm_rank( MPI_Comm comm, int *rank ){ *rank=0; return 0;}
+int MPI_Comm_size( MPI_Comm comm, int *size ){ *size=1; return 0;}
+
+int MPI_Type_contiguous(int count, MPI_Datatype oldtype, MPI_Datatype *newtype){
+  newtype[0]=oldtype*count;
+  return 0;
+}
+int MPI_Op_create(MPI_User_function *user_fn, int commute, MPI_Op *op){
+  op[0]=0;
+  return 0;
+}
+int MPI_Type_commit(MPI_Datatype *datatype){
+  return 0;
+}
+
+void* mpi_recv_buff_ptr=NULL;
+
+int MPI_Recv(void *buf, int count, MPI_Datatype datatype, int source, int tag,
+             MPI_Comm comm, MPI_Status *status){
+  assert(!mpi_recv_buff_ptr);
+  mpi_recv_buff_ptr=buf;
+  return 0;
+}
+
+int MPI_Irecv(void *buf, int count, MPI_Datatype datatype, int source,
+              int tag, MPI_Comm comm, MPI_Request *request){
+  assert(!mpi_recv_buff_ptr);
+  mpi_recv_buff_ptr=buf;
+  return 0;
+}
+
+int MPI_Send(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,
+             MPI_Comm comm){
+  assert(mpi_recv_buff_ptr);
+  memcpy(mpi_recv_buff_ptr, buf, count*datatype);
+  mpi_recv_buff_ptr=NULL;
+  return 0;
+}
+
+int MPI_Issend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,
+               MPI_Comm comm, MPI_Request *request){
+  assert(mpi_recv_buff_ptr);
+  memcpy(mpi_recv_buff_ptr, buf, count*datatype);
+  mpi_recv_buff_ptr=NULL;
+  return 0;
+}
+
+int MPI_Sendrecv(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
+                 int dest, int sendtag,
+                 void *recvbuf, int recvcount, MPI_Datatype recvtype,
+                 int source, int recvtag,
+                 MPI_Comm comm, MPI_Status *status){
+  memcpy(recvbuf, sendbuf, sendcount*sendtype);
+  return 0;
+}
+
+int MPI_Scan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype,
+             MPI_Op op, MPI_Comm comm){
+  memcpy(recvbuf, sendbuf, count*datatype);
+  return 0;
+}
+
+int MPI_Reduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype,
+               MPI_Op op, int root, MPI_Comm comm){
+  memcpy(recvbuf, sendbuf, count*datatype);
+  return 0;
+}
+
+int MPI_Allreduce(const void *sendbuf, void *recvbuf, int count,
+                  MPI_Datatype datatype, MPI_Op op, MPI_Comm comm){
+  memcpy(recvbuf, sendbuf, count*datatype);
+  return 0;
+}
+
+int MPI_Allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
+                  void *recvbuf, int recvcount, MPI_Datatype recvtype,
+                  MPI_Comm comm){
+  memcpy(recvbuf, sendbuf, sendcount*sendtype);
+  return 0;
+}
+
+int MPI_Allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
+                   void *recvbuf, const int *recvcounts, const int *displs,
+                   MPI_Datatype recvtype, MPI_Comm comm){
+  memcpy(((char*)recvbuf)+displs[0]*recvtype, sendbuf, sendcount*sendtype);
+  return 0;
+}
+
+int MPI_Alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
+                 void *recvbuf, int recvcount, MPI_Datatype recvtype,
+                 MPI_Comm comm){
+  memcpy(recvbuf, sendbuf, sendcount*sendtype);
+  return 0;
+}
+
+int MPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *newcomm){
+  return 0;
+}
+
+int MPI_Comm_free(MPI_Comm *comm){
+  return 0;
+}
+
+int MPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm){
+  return 0;
+}
+
+int MPI_Wait(MPI_Request *request, MPI_Status *status){
+  return 0;
+}
+
+int MPI_Waitall(int count, MPI_Request array_of_requests[],
+                MPI_Status array_of_statuses[]){
+  return 0;
+}
+
+int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype, int root,
+              MPI_Comm comm){
+  return 0;
+}
+
+int MPI_Barrier(MPI_Comm comm){
+  return 0;
+}
+
+#ifdef __cplusplus
+}
+#endif

+ 23 - 23
src/mat_utils.cpp

@@ -13,29 +13,29 @@
 namespace pvfmm{
 namespace mat{
 
-template<>
-void gemm<float>(char TransA, char TransB,  int M,  int N,  int K,  float alpha,  float *A,  int lda,  float *B,  int ldb,  float beta, float *C,  int ldc){
-    sgemm_(&TransA, &TransB, &M, &N, &K, &alpha, A, &lda, B, &ldb, &beta, C, &ldc);
-}
-
-template<>
-void gemm<double>(char TransA, char TransB,  int M,  int N,  int K,  double alpha,  double *A,  int lda,  double *B,  int ldb,  double beta, double *C,  int ldc){
-    dgemm_(&TransA, &TransB, &M, &N, &K, &alpha, A, &lda, B, &ldb, &beta, C, &ldc);
-}
-
-template<>
-void svd<float>(char *JOBU, char *JOBVT, int *M, int *N, float *A, int *LDA,
-    float *S, float *U, int *LDU, float *VT, int *LDVT, float *WORK, int *LWORK,
-    int *INFO){
-  sgesvd_(JOBU,JOBVT,M,N,A,LDA,S,U,LDU,VT,LDVT,WORK,LWORK,INFO);
-}
-
-template<>
-void svd<double>(char *JOBU, char *JOBVT, int *M, int *N, double *A, int *LDA,
-    double *S, double *U, int *LDU, double *VT, int *LDVT, double *WORK, int *LWORK,
-    int *INFO){
-  dgesvd_(JOBU,JOBVT,M,N,A,LDA,S,U,LDU,VT,LDVT,WORK,LWORK,INFO);
-}
+//template<>
+//void gemm<float>(char TransA, char TransB,  int M,  int N,  int K,  float alpha,  float *A,  int lda,  float *B,  int ldb,  float beta, float *C,  int ldc){
+//    sgemm_(&TransA, &TransB, &M, &N, &K, &alpha, A, &lda, B, &ldb, &beta, C, &ldc);
+//}
+//
+//template<>
+//void gemm<double>(char TransA, char TransB,  int M,  int N,  int K,  double alpha,  double *A,  int lda,  double *B,  int ldb,  double beta, double *C,  int ldc){
+//    dgemm_(&TransA, &TransB, &M, &N, &K, &alpha, A, &lda, B, &ldb, &beta, C, &ldc);
+//}
+//
+//template<>
+//void svd<float>(char *JOBU, char *JOBVT, int *M, int *N, float *A, int *LDA,
+//    float *S, float *U, int *LDU, float *VT, int *LDVT, float *WORK, int *LWORK,
+//    int *INFO){
+//  sgesvd_(JOBU,JOBVT,M,N,A,LDA,S,U,LDU,VT,LDVT,WORK,LWORK,INFO);
+//}
+//
+//template<>
+//void svd<double>(char *JOBU, char *JOBVT, int *M, int *N, double *A, int *LDA,
+//    double *S, double *U, int *LDU, double *VT, int *LDVT, double *WORK, int *LWORK,
+//    int *INFO){
+//  dgesvd_(JOBU,JOBVT,M,N,A,LDA,S,U,LDU,VT,LDVT,WORK,LWORK,INFO);
+//}
 
 }//end namespace
 }//end namespace

+ 261 - 0
test.log

@@ -0,0 +1,261 @@
+gcc -static -I./include -c src/mpi.cpp -o src/mpi.o
+ar rcu  lib/libmpi.a src/mpi.o
+rm src/mpi.o
+Preparing the PvFMM build system...please wait
+
+Found GNU Autoconf version 2.69
+Found GNU Automake version 1.13.4
+Found GNU Libtool version 2.4.2
+
+Automatically preparing build ... done
+
+The PvFMM build system is now prepared.  To build here, run:
+  ./configure
+  make
+checking for a BSD-compatible install... /usr/bin/install -c
+checking whether build environment is sane... yes
+checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
+checking for gawk... gawk
+checking whether make sets $(MAKE)... yes
+checking whether make supports nested variables... yes
+checking for style of include used by make... GNU
+checking whether the C++ compiler works... yes
+checking for C++ compiler default output file name... a.out
+checking for suffix of executables... 
+checking whether we are cross compiling... no
+checking for suffix of object files... o
+checking whether we are using the GNU C++ compiler... yes
+checking whether g++ -static -I./mpi-stub/include accepts -g... yes
+checking dependency style of g++ -static -I./mpi-stub/include... gcc3
+checking for function MPI::Init... yes
+checking for mpi.h... yes
+checking for mpic++... g++ -static -I./mpi-stub/include
+checking for MPI_Init... yes
+checking for mpi.h... yes
+checking for C++ compiler vendor... gnu
+checking for gawk... (cached) gawk
+checking for g77... no
+checking for xlf... no
+checking for f77... no
+checking for frt... no
+checking for pgf77... no
+checking for cf77... no
+checking for fort77... no
+checking for fl32... no
+checking for af77... no
+checking for xlf90... no
+checking for f90... no
+checking for pgf90... no
+checking for pghpf... no
+checking for epcf90... no
+checking for gfortran... gfortran
+checking whether we are using the GNU Fortran 77 compiler... yes
+checking whether gfortran accepts -g... yes
+checking whether ln -s works... yes
+checking whether make sets $(MAKE)... (cached) yes
+checking for ar... ar
+checking the archiver (ar) interface... ar
+checking build system type... x86_64-unknown-linux-gnu
+checking host system type... x86_64-unknown-linux-gnu
+checking how to print strings... printf
+checking for gcc... gcc
+checking whether we are using the GNU C compiler... yes
+checking whether gcc accepts -g... yes
+checking for gcc option to accept ISO C89... none needed
+checking dependency style of gcc... gcc3
+checking for a sed that does not truncate output... /usr/bin/sed
+checking for grep that handles long lines and -e... /usr/bin/grep
+checking for egrep... /usr/bin/grep -E
+checking for fgrep... /usr/bin/grep -F
+checking for ld used by gcc... /usr/bin/ld
+checking if the linker (/usr/bin/ld) is GNU ld... yes
+checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
+checking the name lister (/usr/bin/nm -B) interface... BSD nm
+checking the maximum length of command line arguments... 1572864
+checking whether the shell understands some XSI constructs... yes
+checking whether the shell understands "+="... yes
+checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
+checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
+checking for /usr/bin/ld option to reload object files... -r
+checking for objdump... objdump
+checking how to recognize dependent libraries... pass_all
+checking for dlltool... no
+checking how to associate runtime and link libraries... printf %s\n
+checking for archiver @FILE support... @
+checking for strip... strip
+checking for ranlib... ranlib
+checking command to parse /usr/bin/nm -B output from gcc object... ok
+checking for sysroot... no
+checking for mt... mt
+checking if mt is a manifest tool... no
+checking how to run the C preprocessor... gcc -E
+checking for ANSI C header files... yes
+checking for sys/types.h... yes
+checking for sys/stat.h... yes
+checking for stdlib.h... yes
+checking for string.h... yes
+checking for memory.h... yes
+checking for strings.h... yes
+checking for inttypes.h... yes
+checking for stdint.h... yes
+checking for unistd.h... yes
+checking for dlfcn.h... yes
+checking for objdir... .libs
+checking if gcc supports -fno-rtti -fno-exceptions... no
+checking for gcc option to produce PIC... -fPIC -DPIC
+checking if gcc PIC flag -fPIC -DPIC works... yes
+checking if gcc static flag -static works... yes
+checking if gcc supports -c -o file.o... yes
+checking if gcc supports -c -o file.o... (cached) yes
+checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
+checking whether -lc should be explicitly linked in... no
+checking dynamic linker characteristics... GNU/Linux ld.so
+checking how to hardcode library paths into programs... immediate
+checking whether stripping libraries is possible... yes
+checking if libtool supports shared libraries... yes
+checking whether to build shared libraries... yes
+checking whether to build static libraries... yes
+checking how to run the C++ preprocessor... g++ -static -I./mpi-stub/include -E
+checking for ld used by g++ -static -I./mpi-stub/include... /usr/bin/ld -m elf_x86_64
+checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
+checking whether the g++ -static -I./mpi-stub/include linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
+checking for g++ -static -I./mpi-stub/include option to produce PIC... -fPIC -DPIC
+checking if g++ -static -I./mpi-stub/include PIC flag -fPIC -DPIC works... yes
+checking if g++ -static -I./mpi-stub/include static flag -static works... yes
+checking if g++ -static -I./mpi-stub/include supports -c -o file.o... yes
+checking if g++ -static -I./mpi-stub/include supports -c -o file.o... (cached) yes
+checking whether the g++ -static -I./mpi-stub/include linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
+checking dynamic linker characteristics... (cached) GNU/Linux ld.so
+checking how to hardcode library paths into programs... immediate
+checking if libtool supports shared libraries... yes
+checking whether to build shared libraries... yes
+checking whether to build static libraries... yes
+checking for gfortran option to produce PIC... -fPIC
+checking if gfortran PIC flag -fPIC works... yes
+checking if gfortran static flag -static works... yes
+checking if gfortran supports -c -o file.o... yes
+checking if gfortran supports -c -o file.o... (cached) yes
+checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
+checking dynamic linker characteristics... (cached) GNU/Linux ld.so
+checking how to hardcode library paths into programs... immediate
+checking for doxygen... yes
+checking for pdflatex... yes
+checking for latex... yes
+checking for dvips... yes
+checking for gs... yes
+checking for perl... /usr/local/bin/perl
+checking for doxygen... /usr/bin/doxygen
+checking for perl... /usr/local/bin/perl
+checking for dot... /usr/bin/dot
+checking whether g++ -static -I./mpi-stub/include supports default template arguments by default... yes
+checking for quadruple precision support... __float128
+checking for cos in -lm... yes
+checking for cos in -limf... no
+checking for X... no
+checking for main in -lstdc++... yes
+checking for dlopen in -ldl... no
+checking for support of offload pragma... yes
+checking for support of -no-offload flag... no
+checking for fftw3.h... yes
+checking for fftw_plan_dft_1d... no
+checking for fftw_plan_dft_1d in -lfftw3... yes
+checking for fftw3.h... yes
+checking for fftwf_plan_dft_1d... no
+checking for fftwf_plan_dft_1d in -lfftw3f... yes
+checking for stdint.h... (cached) yes
+checking cstdlib usability... yes
+checking cstdlib presence... yes
+checking for cstdlib... yes
+checking cstddef usability... yes
+checking cstddef presence... yes
+checking for cstddef... yes
+checking for stdbool.h that conforms to C99... no
+checking for _Bool... no
+checking whether stat file-mode macros are broken... no
+checking for inline... inline
+checking for int32_t... yes
+checking for uint16_t... yes
+checking for uint8_t... yes
+checking for size_t... yes
+checking for error_at_line... yes
+checking for stdlib.h... (cached) yes
+checking for GNU libc compatible malloc... yes
+checking for working strtod... yes
+checking for floor... yes
+checking for memset... yes
+checking for pow... yes
+checking for sqrt... yes
+checking for strtol... yes
+checking for strtoul... yes
+checking for Intel SVML... checking that generated files are newer than configure... done
+configure: creating ./config.status
+config.status: creating Makefile
+config.status: creating MakeVariables
+config.status: creating doc/doc/Makefile
+config.status: creating config.h
+config.status: config.h is unchanged
+config.status: executing include/pvfmm_config.h commands
+config.status: creating include/pvfmm_config.h - prefix PVFMM for config.h defines
+config.status: include/pvfmm_config.h is unchanged
+config.status: executing depfiles commands
+config.status: executing libtool commands
+
+------------------------------------------------------------------------------
+pvfmm-1.0.0 library configuration:
+------------------------------------------------------------------------------
+
+External libs:
+  - BLAS ........... : 
+  - LAPACK ......... : 
+  - FFTW ........... : yes
+
+Compiler/linker flags/libs/defs:
+  - MPICXX ......... : g++ -static -I./mpi-stub/include
+  - CXXFLAGS ....... : -O3 -march=native -fopenmp
+  - LDFLAGS ........ : 
+  - LIBS ........... : -lstdc++ -lm -L./mpi-stub/lib -lmpi
+    - BLAS ......... : 
+    - FFTW ......... :  -lfftw3  -lfftw3f
+    - X11 .......... : 
+
+Documentation tools:
+  - doxygen ........ : yes
+  - latex .......... : yes
+  - dvips .......... : yes
+  - ghostscript .... : yes
+
+
+depbase=`echo src/cheb_utils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
+g++ -static -I./mpi-stub/include -DHAVE_CONFIG_H -I.     -O3 -march=native -fopenmp -DALLTOALLV_FIX -I/home/malhotra/workspace/pvfmm-static/include    -MT src/cheb_utils.o -MD -MP -MF $depbase.Tpo -c -o src/cheb_utils.o src/cheb_utils.cpp &&\
+mv -f $depbase.Tpo $depbase.Po
+depbase=`echo src/device_wrapper.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
+g++ -static -I./mpi-stub/include -DHAVE_CONFIG_H -I.     -O3 -march=native -fopenmp -DALLTOALLV_FIX -I/home/malhotra/workspace/pvfmm-static/include    -MT src/device_wrapper.o -MD -MP -MF $depbase.Tpo -c -o src/device_wrapper.o src/device_wrapper.cpp &&\
+mv -f $depbase.Tpo $depbase.Po
+depbase=`echo src/legendre_rule.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
+g++ -static -I./mpi-stub/include -DHAVE_CONFIG_H -I.     -O3 -march=native -fopenmp -DALLTOALLV_FIX -I/home/malhotra/workspace/pvfmm-static/include    -MT src/legendre_rule.o -MD -MP -MF $depbase.Tpo -c -o src/legendre_rule.o src/legendre_rule.cpp &&\
+mv -f $depbase.Tpo $depbase.Po
+depbase=`echo src/mat_utils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
+g++ -static -I./mpi-stub/include -DHAVE_CONFIG_H -I.     -O3 -march=native -fopenmp -DALLTOALLV_FIX -I/home/malhotra/workspace/pvfmm-static/include    -MT src/mat_utils.o -MD -MP -MF $depbase.Tpo -c -o src/mat_utils.o src/mat_utils.cpp &&\
+mv -f $depbase.Tpo $depbase.Po
+depbase=`echo src/math_utils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
+g++ -static -I./mpi-stub/include -DHAVE_CONFIG_H -I.     -O3 -march=native -fopenmp -DALLTOALLV_FIX -I/home/malhotra/workspace/pvfmm-static/include    -MT src/math_utils.o -MD -MP -MF $depbase.Tpo -c -o src/math_utils.o src/math_utils.cpp &&\
+mv -f $depbase.Tpo $depbase.Po
+depbase=`echo src/mem_mgr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
+g++ -static -I./mpi-stub/include -DHAVE_CONFIG_H -I.     -O3 -march=native -fopenmp -DALLTOALLV_FIX -I/home/malhotra/workspace/pvfmm-static/include    -MT src/mem_mgr.o -MD -MP -MF $depbase.Tpo -c -o src/mem_mgr.o src/mem_mgr.cpp &&\
+mv -f $depbase.Tpo $depbase.Po
+depbase=`echo src/mortonid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
+g++ -static -I./mpi-stub/include -DHAVE_CONFIG_H -I.     -O3 -march=native -fopenmp -DALLTOALLV_FIX -I/home/malhotra/workspace/pvfmm-static/include    -MT src/mortonid.o -MD -MP -MF $depbase.Tpo -c -o src/mortonid.o src/mortonid.cpp &&\
+mv -f $depbase.Tpo $depbase.Po
+depbase=`echo src/profile.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
+g++ -static -I./mpi-stub/include -DHAVE_CONFIG_H -I.     -O3 -march=native -fopenmp -DALLTOALLV_FIX -I/home/malhotra/workspace/pvfmm-static/include    -MT src/profile.o -MD -MP -MF $depbase.Tpo -c -o src/profile.o src/profile.cpp &&\
+mv -f $depbase.Tpo $depbase.Po
+depbase=`echo src/tree_node.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
+g++ -static -I./mpi-stub/include -DHAVE_CONFIG_H -I.     -O3 -march=native -fopenmp -DALLTOALLV_FIX -I/home/malhotra/workspace/pvfmm-static/include    -MT src/tree_node.o -MD -MP -MF $depbase.Tpo -c -o src/tree_node.o src/tree_node.cpp &&\
+mv -f $depbase.Tpo $depbase.Po
+rm -f lib/libpvfmm.a
+ar cru lib/libpvfmm.a src/cheb_utils.o src/device_wrapper.o src/fmm_gll.o src/legendre_rule.o src/mat_utils.o src/math_utils.o src/mem_mgr.o src/mortonid.o src/profile.o src/tree_node.o  
+ranlib lib/libpvfmm.a
+cd ./examples && make;
+make[1]: Entering directory `/home/malhotra/workspace/pvfmm-static/examples'
+make[1]: Nothing to be done for `all'.
+make[1]: Leaving directory `/home/malhotra/workspace/pvfmm-static/examples'

+ 9 - 0
test.sh

@@ -0,0 +1,9 @@
+
+# Currently Loaded Modulefiles:
+#   1) gcc-6.3.0
+
+cd mpi-stub && make && cd ..
+
+./autogen.sh
+./configure MPICXX="g++ -static -I./mpi-stub/include" LIBS="-L./mpi-stub/lib -lmpi" CXXFLAGS="-O3 -march=native -fopenmp" FLIBS=" "
+make all-examples -j