Old linked-to version of madness is pretty broken:
Performing C++ SOURCE FILE Test HAVE_CRAYXE failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-klPYvM
Run Build Command(s):/opt/local/bin/gmake -f Makefile cmTC_ffcdb/fast && /opt/local/bin/gmake -f CMakeFiles/cmTC_ffcdb.dir/build.make CMakeFiles/cmTC_ffcdb.dir/build
gmake[1]: Entering directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-klPYvM'
Building CXX object CMakeFiles/cmTC_ffcdb.dir/src.cxx.o
/opt/local/bin/mpicxx-mpich-gcc12 -DHAVE_CRAYXE -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 -mmacosx-version-min=10.6 -fPIE -std=c++17 -o CMakeFiles/cmTC_ffcdb.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-klPYvM/src.cxx
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-klPYvM/src.cxx:3:6: error: #error choke me
3 | #error choke me
| ^~~~~
gmake[1]: *** [CMakeFiles/cmTC_ffcdb.dir/build.make:78: CMakeFiles/cmTC_ffcdb.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-klPYvM'
gmake: *** [Makefile:127: cmTC_ffcdb/fast] Error 2
Source file was:
#ifndef __CRAYXE
#error choke me
#endif
int main() { return 0; }
Performing C++ SOURCE FILE Test HAVE_CRAYXT failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-wRxqI4
Run Build Command(s):/opt/local/bin/gmake -f Makefile cmTC_992a2/fast && /opt/local/bin/gmake -f CMakeFiles/cmTC_992a2.dir/build.make CMakeFiles/cmTC_992a2.dir/build
gmake[1]: Entering directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-wRxqI4'
Building CXX object CMakeFiles/cmTC_992a2.dir/src.cxx.o
/opt/local/bin/mpicxx-mpich-gcc12 -DHAVE_CRAYXT -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 -mmacosx-version-min=10.6 -fPIE -std=c++17 -o CMakeFiles/cmTC_992a2.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-wRxqI4/src.cxx
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-wRxqI4/src.cxx:3:6: error: #error choke me
3 | #error choke me
| ^~~~~
gmake[1]: *** [CMakeFiles/cmTC_992a2.dir/build.make:78: CMakeFiles/cmTC_992a2.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-wRxqI4'
gmake: *** [Makefile:127: cmTC_992a2/fast] Error 2
Source file was:
#ifndef __CRAYXT
#error choke me
#endif
int main() { return 0; }
Performing C++ SOURCE FILE Test HAVE_IBMBGP failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-6mfegA
Run Build Command(s):/opt/local/bin/gmake -f Makefile cmTC_68f4a/fast && /opt/local/bin/gmake -f CMakeFiles/cmTC_68f4a.dir/build.make CMakeFiles/cmTC_68f4a.dir/build
gmake[1]: Entering directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-6mfegA'
Building CXX object CMakeFiles/cmTC_68f4a.dir/src.cxx.o
/opt/local/bin/mpicxx-mpich-gcc12 -DHAVE_IBMBGP -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 -mmacosx-version-min=10.6 -fPIE -std=c++17 -o CMakeFiles/cmTC_68f4a.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-6mfegA/src.cxx
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-6mfegA/src.cxx:3:6: error: #error choke me
3 | #error choke me
| ^~~~~
gmake[1]: *** [CMakeFiles/cmTC_68f4a.dir/build.make:78: CMakeFiles/cmTC_68f4a.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-6mfegA'
gmake: *** [Makefile:127: cmTC_68f4a/fast] Error 2
Source file was:
#ifndef __bgp__
#error choke me
#endif
int main() { return 0; }
Performing C++ SOURCE FILE Test HAVE_IBMBGQ failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-f7Niet
Run Build Command(s):/opt/local/bin/gmake -f Makefile cmTC_b44f5/fast && /opt/local/bin/gmake -f CMakeFiles/cmTC_b44f5.dir/build.make CMakeFiles/cmTC_b44f5.dir/build
gmake[1]: Entering directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-f7Niet'
Building CXX object CMakeFiles/cmTC_b44f5.dir/src.cxx.o
/opt/local/bin/mpicxx-mpich-gcc12 -DHAVE_IBMBGQ -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 -mmacosx-version-min=10.6 -fPIE -std=c++17 -o CMakeFiles/cmTC_b44f5.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-f7Niet/src.cxx
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-f7Niet/src.cxx:3:6: error: #error choke me
3 | #error choke me
| ^~~~~
gmake[1]: *** [CMakeFiles/cmTC_b44f5.dir/build.make:78: CMakeFiles/cmTC_b44f5.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-f7Niet'
gmake: *** [Makefile:127: cmTC_b44f5/fast] Error 2
Source file was:
#ifndef __bgq__
#error choke me
#endif
int main() { return 0; }
Performing C++ SOURCE FILE Test USE_X86_64_ASM failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-BsbCZG
Run Build Command(s):/opt/local/bin/gmake -f Makefile cmTC_e2853/fast && /opt/local/bin/gmake -f CMakeFiles/cmTC_e2853.dir/build.make CMakeFiles/cmTC_e2853.dir/build
gmake[1]: Entering directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-BsbCZG'
Building CXX object CMakeFiles/cmTC_e2853.dir/src.cxx.o
/opt/local/bin/mpicxx-mpich-gcc12 -DUSE_X86_64_ASM -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 -mmacosx-version-min=10.6 -fPIE -std=c++17 -o CMakeFiles/cmTC_e2853.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-BsbCZG/src.cxx
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-BsbCZG/src.cxx:3:6: error: #error Not x86_64
3 | #error Not x86_64
| ^~~~~
gmake[1]: *** [CMakeFiles/cmTC_e2853.dir/build.make:78: CMakeFiles/cmTC_e2853.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-BsbCZG'
gmake: *** [Makefile:127: cmTC_e2853/fast] Error 2
Source file was:
#if !(defined(__x86_64__) || defined(_M_X64))
#error Not x86_64
#endif
int main() { return 0; }
Performing C++ SOURCE FILE Test USE_X86_32_ASM failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-fVsafS
Run Build Command(s):/opt/local/bin/gmake -f Makefile cmTC_b29f2/fast && /opt/local/bin/gmake -f CMakeFiles/cmTC_b29f2.dir/build.make CMakeFiles/cmTC_b29f2.dir/build
gmake[1]: Entering directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-fVsafS'
Building CXX object CMakeFiles/cmTC_b29f2.dir/src.cxx.o
/opt/local/bin/mpicxx-mpich-gcc12 -DUSE_X86_32_ASM -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 -mmacosx-version-min=10.6 -fPIE -std=c++17 -o CMakeFiles/cmTC_b29f2.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-fVsafS/src.cxx
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-fVsafS/src.cxx:3:8: error: #error Not x86
3 | #error Not x86
| ^~~~~
gmake[1]: *** [CMakeFiles/cmTC_b29f2.dir/build.make:78: CMakeFiles/cmTC_b29f2.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-fVsafS'
gmake: *** [Makefile:127: cmTC_b29f2/fast] Error 2
Source file was:
#if !(defined(__i386) || defined(_M_IX86))
#error Not x86
#endif
int main() { return 0; }
Performing C++ SOURCE FILE Test RESTRICT_SUPPORT failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-QNiAFS
Run Build Command(s):/opt/local/bin/gmake -f Makefile cmTC_6aaa5/fast && /opt/local/bin/gmake -f CMakeFiles/cmTC_6aaa5.dir/build.make CMakeFiles/cmTC_6aaa5.dir/build
gmake[1]: Entering directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-QNiAFS'
Building CXX object CMakeFiles/cmTC_6aaa5.dir/src.cxx.o
/opt/local/bin/mpicxx-mpich-gcc12 -DRESTRICT_SUPPORT -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 -mmacosx-version-min=10.6 -fPIE -std=c++17 -o CMakeFiles/cmTC_6aaa5.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-QNiAFS/src.cxx
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-QNiAFS/src.cxx:2:24: error: expected initializer before 'i'
2 | int* restrict i = nullptr;
| ^
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-QNiAFS/src.cxx: In function 'int main()':
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-QNiAFS/src.cxx:3:23: error: 'i' was not declared in this scope
3 | int main() { *i = 1; return 0; }
| ^
gmake[1]: *** [CMakeFiles/cmTC_6aaa5.dir/build.make:78: CMakeFiles/cmTC_6aaa5.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-QNiAFS'
gmake: *** [Makefile:127: cmTC_6aaa5/fast] Error 2
Source file was:
int* restrict i = nullptr;
int main() { *i = 1; return 0; }
Determining if the function mkl_get_version exists failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-RAltxs
Run Build Command(s):/opt/local/bin/gmake -f Makefile cmTC_fd743/fast && /opt/local/bin/gmake -f CMakeFiles/cmTC_fd743.dir/build.make CMakeFiles/cmTC_fd743.dir/build
gmake[1]: Entering directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-RAltxs'
Building C object CMakeFiles/cmTC_fd743.dir/CheckFunctionExists.c.o
/opt/local/bin/mpicc-mpich-gcc12 -pipe -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -DCHECK_FUNCTION_EXISTS=mkl_get_version -mmacosx-version-min=10.6 -fPIE -o CMakeFiles/cmTC_fd743.dir/CheckFunctionExists.c.o -c /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-RAltxs/CheckFunctionExists.c
Linking C executable cmTC_fd743
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fd743.dir/link.txt --verbose=1
/opt/local/bin/mpicc-mpich-gcc12 -pipe -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -DCHECK_FUNCTION_EXISTS=mkl_get_version -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_fd743.dir/CheckFunctionExists.c.o -o cmTC_fd743 -lvecLibFort
Undefined symbols:
"_mkl_get_version", referenced from:
_main in CheckFunctionExists.c.o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_fd743.dir/build.make:99: cmTC_fd743] Error 1
gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-RAltxs'
gmake: *** [Makefile:127: cmTC_fd743/fast] Error 2
Determining if the function acmlversion exists failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-E1mL9o
Run Build Command(s):/opt/local/bin/gmake -f Makefile cmTC_f8def/fast && /opt/local/bin/gmake -f CMakeFiles/cmTC_f8def.dir/build.make CMakeFiles/cmTC_f8def.dir/build
gmake[1]: Entering directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-E1mL9o'
Building C object CMakeFiles/cmTC_f8def.dir/CheckFunctionExists.c.o
/opt/local/bin/mpicc-mpich-gcc12 -pipe -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -DCHECK_FUNCTION_EXISTS=acmlversion -mmacosx-version-min=10.6 -fPIE -o CMakeFiles/cmTC_f8def.dir/CheckFunctionExists.c.o -c /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-E1mL9o/CheckFunctionExists.c
Linking C executable cmTC_f8def
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f8def.dir/link.txt --verbose=1
/opt/local/bin/mpicc-mpich-gcc12 -pipe -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -DCHECK_FUNCTION_EXISTS=acmlversion -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_f8def.dir/CheckFunctionExists.c.o -o cmTC_f8def -lvecLibFort
Undefined symbols:
"_acmlversion", referenced from:
_main in CheckFunctionExists.c.o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_f8def.dir/build.make:99: cmTC_f8def] Error 1
gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_tiledarray/tiledarray/work/build/external/madness-build/CMakeFiles/CMakeScratch/TryCompile-E1mL9o'
gmake: *** [Makefile:127: cmTC_f8def/fast] Error 2
To begin with, it fails outright on arch not being Intel.
There is no such restriction with the current version of madness. Is it possible to update it?
Old linked-to version of
madnessis pretty broken:To begin with, it fails outright on arch not being Intel.
There is no such restriction with the current version of
madness. Is it possible to update it?