[Users] failed build on local mac osx yosemite [POSSIBLE SOLUTION TO THE PROBLEM]
Roberto De Pietri
roberto.depietri at unipr.it
Fri May 22 05:44:35 CDT 2015
Dear Corner and Erik:
After a while a decided to have the EinsteinToolkit compiled on my personal laptop. I did all from scratch.
* Latest versione of OSX (10.10.3)
* Latest (clean) version of macports (MacPorts 2.3.3)
sudo port install subversion
sudo port install python27
sudo port select --set python python27
sudo port install py-numpy py-scipy
sudo port install py-matplotlib
sudo port install py-ipython
sudo port select --set ipython ipython27
sudo port install pkgconfig gcc49 fftw-3 gsl jpeg zlib hdf5 +fortran +gfortran openmpi openssl
sudo port install py-h5py
sudo port install gcc5
* Latest version of the EinsteinToolkit (Hilbert and dev)
* I used the provided option list simfactory/mdb/optionlists/osx-macports.cfg
Basically I got a lot of warning (caused by the option -Wall) but they just have
the effect to be difficult to see where are the problem.
* I was able to compile all the THORNS except “CarpetIOHDF5” and executable are
created if I disable “Carpet/CarpetIOHDF5”
The failures are related to the compilations of just few files (see below)
I try to find out the reason of the failure but I failed.
Hope this feedback may be useful to locate the problem.
TESTING with the thorn “Carpet/CarpetIOHDF5” disabled results in:
pushd /opt/local/bin/
ln -s mpirun-openmpi-mp mpirun
popd
export OMP_NUM_THREADS=1
export TESTS_DIR=test_np2
export CCTK_TESTSUITE_RUN_PROCESSORS=2
make sim-testsuite PROMPT=no
export TESTS_DIR=test_np1
export CCTK_TESTSUITE_RUN_PROCESSORS=1
make sim-testsuite PROMPT=no
test_np1/sim/summary.log: Number of tested thorns -> 61
test_np1/sim/summary.log: Number of tests passed -> 175
test_np1/sim/summary.log: Number passed only to
test_np1/sim/summary.log: Number failed -> 0
test_np2/sim/summary.log: Number of tested thorns -> 60
test_np2/sim/summary.log: Number of tests passed -> 207
test_np2/sim/summary.log: Number passed only to
test_np2/sim/summary.log: Number failed -> 0
Roberto De Pietri
=================================================
Files after the command “make -i sim” in the directory: “sim/build/CarpetIOHDF5"
CarpetIOHDF5.cc GetAllActive.cc Input.cc.d Output.cc.d cctk_Bindings
CarpetIOHDF5.cc.d GetAllActive.cc.d Input.cc.o OutputSlice.cc make.checked
CarpetIOHDF5.cc.o Input.cc Output.cc OutputSlice.cc.d make.identity
tycho:CarpetIOHDF5 depietri$
Meaning compilation failed for the source file:
** GetAllActive.cc
** Output.cc
** OutputSlice.cc
I have been able to obtain a working executable just with a minor
modification on the include part of the the 3 source files.
Do not know if I did correctly.
=======================================================
diff --git a/CarpetIOHDF5/src/GetAllActive.cc b/CarpetIOHDF5/src/GetAllActive.cc
index bb92f4a..bb5d2da 100644
--- a/CarpetIOHDF5/src/GetAllActive.cc
+++ b/CarpetIOHDF5/src/GetAllActive.cc
@@ -8,8 +8,14 @@
@@*/
#include <cassert>
-
+#include <cstdlib>
+#include <cstring>
+#include <list>
+#include <sstream>
+#include <string>
#include <vector>
+#include <map>
+#include <algorithm>
#include "cctk.h"
diff --git a/CarpetIOHDF5/src/Output.cc b/CarpetIOHDF5/src/Output.cc
index ecef6b8..da82b87 100644
--- a/CarpetIOHDF5/src/Output.cc
+++ b/CarpetIOHDF5/src/Output.cc
@@ -1,7 +1,12 @@
#include <cassert>
#include <cstdlib>
#include <cstring>
+#include <list>
#include <sstream>
+#include <string>
+#include <vector>
+#include <map>
+#include <algorithm>
#include "cctk.h"
#include "cctk_Arguments.h"
diff --git a/CarpetIOHDF5/src/OutputSlice.cc b/CarpetIOHDF5/src/OutputSlice.cc
index 43763fb..82a4db6 100644
--- a/CarpetIOHDF5/src/OutputSlice.cc
+++ b/CarpetIOHDF5/src/OutputSlice.cc
@@ -1,9 +1,12 @@
#include <cassert>
-#include <cctype>
-#include <climits>
-#include <cmath>
#include <cstdlib>
#include <cstring>
+#include <list>
+#include <sstream>
+#include <string>
+#include <vector>
+#include <map>
+#include <algorithm>
#include <map>
#include <string>
========================================================
Example errors for the compilation are:
============== MAIN ERROR MESSAGE ======================
COMPILING arrangements/Carpet/CarpetIOHDF5/src/Output.cc
In file included from /opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/x86intrin.h:29:0,
from /opt/local/include/gcc49/c++/x86_64-apple-darwin14/bits/opt_random.h:33,
from /opt/local/include/gcc49/c++/random:50,
from /opt/local/include/gcc49/c++/bits/stl_algo.h:66,
from /opt/local/include/gcc49/c++/algorithm:62,
from /Users/depietri/EinsteinToolkit/ET_dev/Cactus/arrangements/Carpet/CarpetLib/src/defs.hh:6,
from /Users/depietri/EinsteinToolkit/ET_dev/Cactus/arrangements/Carpet/CarpetLib/src/bbox.hh:10,
from /Users/depietri/EinsteinToolkit/ET_dev/Cactus/configs/sim/bindings/include/bbox.hh:4,
from /Users/depietri/EinsteinToolkit/ET_dev/Cactus/arrangements/Carpet/Carpet/src/functions.hh:17,
from /Users/depietri/EinsteinToolkit/ET_dev/Cactus/arrangements/Carpet/Carpet/src/carpet_public.hh:8,
from /Users/depietri/EinsteinToolkit/ET_dev/Cactus/configs/sim/bindings/include/carpet.hh:4,
from /Users/depietri/EinsteinToolkit/ET_dev/Cactus/arrangements/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.hh:11,
from /Users/depietri/EinsteinToolkit/ET_dev/Cactus/arrangements/Carpet/CarpetIOHDF5/src/Output.cc:13:
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_cvtsi32_si64(int)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:64:54: error: can't convert between vector values of different size
return (__m64) __builtin_ia32_vec_init_v2si (__i, 0);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function 'int _mm_cvtsi64_si32(__m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:107:53: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to 'int __builtin_ia32_vec_ext_v2si(__vector(2) int, int)'
return __builtin_ia32_vec_ext_v2si ((__v2si)__i, 0);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_packs_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:146:69: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(8) char __builtin_ia32_packsswb(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_packsswb ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_packs_pi32(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:161:69: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(4) short int __builtin_ia32_packssdw(__vector(2) int, __vector(2) int)'
return (__m64) __builtin_ia32_packssdw ((__v2si)__m1, (__v2si)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_packs_pu16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:176:69: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(8) char __builtin_ia32_packuswb(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_packuswb ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_unpackhi_pi8(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:190:70: error: cannot convert '__v8qi {aka char}' to '__vector(8) char' for argument '1' to '__vector(8) char __builtin_ia32_punpckhbw(__vector(8) char, __vector(8) char)'
return (__m64) __builtin_ia32_punpckhbw ((__v8qi)__m1, (__v8qi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_unpackhi_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:204:70: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_punpckhwd(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_punpckhwd ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_unpackhi_pi32(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:218:70: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_punpckhdq(__vector(2) int, __vector(2) int)'
return (__m64) __builtin_ia32_punpckhdq ((__v2si)__m1, (__v2si)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_unpacklo_pi8(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:232:70: error: cannot convert '__v8qi {aka char}' to '__vector(8) char' for argument '1' to '__vector(8) char __builtin_ia32_punpcklbw(__vector(8) char, __vector(8) char)'
return (__m64) __builtin_ia32_punpcklbw ((__v8qi)__m1, (__v8qi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_unpacklo_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:246:70: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_punpcklwd(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_punpcklwd ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_unpacklo_pi32(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:260:70: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_punpckldq(__vector(2) int, __vector(2) int)'
return (__m64) __builtin_ia32_punpckldq ((__v2si)__m1, (__v2si)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_add_pi8(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:273:66: error: cannot convert '__v8qi {aka char}' to '__vector(8) char' for argument '1' to '__vector(8) char __builtin_ia32_paddb(__vector(8) char, __vector(8) char)'
return (__m64) __builtin_ia32_paddb ((__v8qi)__m1, (__v8qi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_add_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:286:66: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_paddw(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_paddw ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_add_pi32(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:299:66: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_paddd(__vector(2) int, __vector(2) int)'
return (__m64) __builtin_ia32_paddd ((__v2si)__m1, (__v2si)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_add_si64(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:318:66: error: cannot convert '__v1di {aka long long int}' to '__vector(1) long long int' for argument '1' to '__vector(1) long long int __builtin_ia32_paddq(__vector(1) long long int, __vector(1) long long int)'
return (__m64) __builtin_ia32_paddq ((__v1di)__m1, (__v1di)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_adds_pi8(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:330:67: error: cannot convert '__v8qi {aka char}' to '__vector(8) char' for argument '1' to '__vector(8) char __builtin_ia32_paddsb(__vector(8) char, __vector(8) char)'
return (__m64) __builtin_ia32_paddsb ((__v8qi)__m1, (__v8qi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_adds_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:344:67: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_paddsw(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_paddsw ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_adds_pu8(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:358:68: error: cannot convert '__v8qi {aka char}' to '__vector(8) char' for argument '1' to '__vector(8) char __builtin_ia32_paddusb(__vector(8) char, __vector(8) char)'
return (__m64) __builtin_ia32_paddusb ((__v8qi)__m1, (__v8qi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_adds_pu16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:372:68: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_paddusw(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_paddusw ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_sub_pi8(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:385:66: error: cannot convert '__v8qi {aka char}' to '__vector(8) char' for argument '1' to '__vector(8) char __builtin_ia32_psubb(__vector(8) char, __vector(8) char)'
return (__m64) __builtin_ia32_psubb ((__v8qi)__m1, (__v8qi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_sub_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:398:66: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_psubw(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_psubw ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_sub_pi32(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:411:66: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_psubd(__vector(2) int, __vector(2) int)'
return (__m64) __builtin_ia32_psubd ((__v2si)__m1, (__v2si)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_sub_si64(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:430:66: error: cannot convert '__v1di {aka long long int}' to '__vector(1) long long int' for argument '1' to '__vector(1) long long int __builtin_ia32_psubq(__vector(1) long long int, __vector(1) long long int)'
return (__m64) __builtin_ia32_psubq ((__v1di)__m1, (__v1di)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_subs_pi8(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:442:67: error: cannot convert '__v8qi {aka char}' to '__vector(8) char' for argument '1' to '__vector(8) char __builtin_ia32_psubsb(__vector(8) char, __vector(8) char)'
return (__m64) __builtin_ia32_psubsb ((__v8qi)__m1, (__v8qi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_subs_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:456:67: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_psubsw(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_psubsw ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_subs_pu8(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:470:68: error: cannot convert '__v8qi {aka char}' to '__vector(8) char' for argument '1' to '__vector(8) char __builtin_ia32_psubusb(__vector(8) char, __vector(8) char)'
return (__m64) __builtin_ia32_psubusb ((__v8qi)__m1, (__v8qi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_subs_pu16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:484:68: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_psubusw(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_psubusw ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_madd_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:499:68: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(2) int __builtin_ia32_pmaddwd(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_pmaddwd ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_mulhi_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:513:67: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_pmulhw(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_pmulhw ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_mullo_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:527:67: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_pmullw(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_pmullw ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_sll_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:540:68: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_psllw(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_psllw ((__v4hi)__m, (__v4hi)__count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_slli_pi16(__m64, int)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:552:61: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_psllwi(__vector(4) short int, int)'
return (__m64) __builtin_ia32_psllwi ((__v4hi)__m, __count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_sll_pi32(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:565:68: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_pslld(__vector(2) int, __vector(2) int)'
return (__m64) __builtin_ia32_pslld ((__v2si)__m, (__v2si)__count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_slli_pi32(__m64, int)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:577:61: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_pslldi(__vector(2) int, int)'
return (__m64) __builtin_ia32_pslldi ((__v2si)__m, __count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_sll_si64(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:590:68: error: cannot convert '__v1di {aka long long int}' to '__vector(1) long long int' for argument '1' to '__vector(1) long long int __builtin_ia32_psllq(__vector(1) long long int, __vector(1) long long int)'
return (__m64) __builtin_ia32_psllq ((__v1di)__m, (__v1di)__count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_slli_si64(__m64, int)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:602:61: error: cannot convert '__v1di {aka long long int}' to '__vector(1) long long int' for argument '1' to '__vector(1) long long int __builtin_ia32_psllqi(__vector(1) long long int, int)'
return (__m64) __builtin_ia32_psllqi ((__v1di)__m, __count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_sra_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:615:68: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_psraw(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_psraw ((__v4hi)__m, (__v4hi)__count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_srai_pi16(__m64, int)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:627:61: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_psrawi(__vector(4) short int, int)'
return (__m64) __builtin_ia32_psrawi ((__v4hi)__m, __count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_sra_pi32(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:640:68: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_psrad(__vector(2) int, __vector(2) int)'
return (__m64) __builtin_ia32_psrad ((__v2si)__m, (__v2si)__count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_srai_pi32(__m64, int)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:652:61: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_psradi(__vector(2) int, int)'
return (__m64) __builtin_ia32_psradi ((__v2si)__m, __count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_srl_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:665:68: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_psrlw(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_psrlw ((__v4hi)__m, (__v4hi)__count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_srli_pi16(__m64, int)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:677:61: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_psrlwi(__vector(4) short int, int)'
return (__m64) __builtin_ia32_psrlwi ((__v4hi)__m, __count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_srl_pi32(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:690:68: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_psrld(__vector(2) int, __vector(2) int)'
return (__m64) __builtin_ia32_psrld ((__v2si)__m, (__v2si)__count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_srli_pi32(__m64, int)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:702:61: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_psrldi(__vector(2) int, int)'
return (__m64) __builtin_ia32_psrldi ((__v2si)__m, __count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_srl_si64(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:715:68: error: cannot convert '__v1di {aka long long int}' to '__vector(1) long long int' for argument '1' to '__vector(1) long long int __builtin_ia32_psrlq(__vector(1) long long int, __vector(1) long long int)'
return (__m64) __builtin_ia32_psrlq ((__v1di)__m, (__v1di)__count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_srli_si64(__m64, int)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:727:61: error: cannot convert '__v1di {aka long long int}' to '__vector(1) long long int' for argument '1' to '__vector(1) long long int __builtin_ia32_psrlqi(__vector(1) long long int, int)'
return (__m64) __builtin_ia32_psrlqi ((__v1di)__m, __count);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_and_si64(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:740:41: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_pand(__vector(2) int, __vector(2) int)'
return __builtin_ia32_pand (__m1, __m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_andnot_si64(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:754:42: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_pandn(__vector(2) int, __vector(2) int)'
return __builtin_ia32_pandn (__m1, __m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_or_si64(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:767:40: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_por(__vector(2) int, __vector(2) int)'
return __builtin_ia32_por (__m1, __m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_xor_si64(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:780:41: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_pxor(__vector(2) int, __vector(2) int)'
return __builtin_ia32_pxor (__m1, __m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_cmpeq_pi8(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:794:68: error: cannot convert '__v8qi {aka char}' to '__vector(8) char' for argument '1' to '__vector(8) char __builtin_ia32_pcmpeqb(__vector(8) char, __vector(8) char)'
return (__m64) __builtin_ia32_pcmpeqb ((__v8qi)__m1, (__v8qi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_cmpgt_pi8(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:806:68: error: cannot convert '__v8qi {aka char}' to '__vector(8) char' for argument '1' to '__vector(8) char __builtin_ia32_pcmpgtb(__vector(8) char, __vector(8) char)'
return (__m64) __builtin_ia32_pcmpgtb ((__v8qi)__m1, (__v8qi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_cmpeq_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:820:68: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_pcmpeqw(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_pcmpeqw ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_cmpgt_pi16(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:832:68: error: cannot convert '__v4hi {aka short int}' to '__vector(4) short int' for argument '1' to '__vector(4) short int __builtin_ia32_pcmpgtw(__vector(4) short int, __vector(4) short int)'
return (__m64) __builtin_ia32_pcmpgtw ((__v4hi)__m1, (__v4hi)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_cmpeq_pi32(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:846:68: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_pcmpeqd(__vector(2) int, __vector(2) int)'
return (__m64) __builtin_ia32_pcmpeqd ((__v2si)__m1, (__v2si)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_cmpgt_pi32(__m64, __m64)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:858:68: error: cannot convert '__m64 {aka int}' to '__vector(2) int' for argument '1' to '__vector(2) int __builtin_ia32_pcmpgtd(__vector(2) int, __vector(2) int)'
return (__m64) __builtin_ia32_pcmpgtd ((__v2si)__m1, (__v2si)__m2);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_set_pi32(int, int)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:878:58: error: can't convert between vector values of different size
return (__m64) __builtin_ia32_vec_init_v2si (__i0, __i1);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_set_pi16(short int, short int, short int, short int)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:885:70: error: can't convert between vector values of different size
return (__m64) __builtin_ia32_vec_init_v4hi (__w0, __w1, __w2, __w3);
^
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h: In function '__m64 _mm_set_pi8(char, char, char, char, char, char, char, char)':
/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h:894:35: error: can't convert between vector values of different size
__b4, __b5, __b6, __b7);
^
In file included from /opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/x86intrin.h:31:0,
from /opt/local/include/gcc49/c++/x86_64-apple-darwin14/bits/opt_random.h:33,
from /opt/local/include/gcc49/c++/random:50,
from /opt/local/include/gcc49/c++/bits/stl_algo.h:66,
. . .
. . . Lot’s of message
. . .
> On 21 May 2015, at 22:45, Comer Duncan <comer.duncan at gmail.com> wrote:
>
> Well, the build crashes still. The log file is displayed in http://pastebin.com/zcj697X4 .
>
> Comer
>
> On Thu, May 21, 2015 at 4:19 PM, Erik Schnetter <schnetter at cct.lsu.edu> wrote:
> Comer
>
> Yes, this looks good.
>
> -erik
>
> On Thu, May 21, 2015 at 4:11 PM, Comer Duncan <comer.duncan at gmail.com> wrote:
> Erik,
>
> Ok, here goes. First,
>
> ComerMacProRetina:~ comerduncan$ sudo port uninstall openmpi-default
> Password:
> ---> Unable to uninstall openmpi-default @1.7.5_3+gcc47, the following ports depend on it:
> ---> openmpi @1.7.5_3
> ---> petsc @3.5.3_1+accelerate+hwloc+openmpi
> ---> petsc @3.5.3_2+accelerate+hwloc+openmpi
> Error: org.macports.uninstall for port openmpi-default returned: Please uninstall the ports that depend on openmpi-default first.
> Please see the log file for port openmpi-default for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_openmpi-default-1.7.5_3_a272d6c16ef1296938f908cc0944080d49c66489dfb63de25e65dcab22608f20-12289/openmpi-default/main.log
> Warning: Failed to execute portfile from registry for openmpi-default @1.7.5_3+gcc47
> ---> Unable to uninstall openmpi-default @1.7.5_3+gcc47, the following ports depend on it:
> ---> openmpi @1.7.5_3
> ---> petsc @3.5.3_1+accelerate+hwloc+openmpi
> ---> petsc @3.5.3_2+accelerate+hwloc+openmpi
> Error: port uninstall failed: Please uninstall the ports that depend on openmpi-default first.
>
> So I uninstalled the three ports which depend on openmpi-default with success. Then I
>
> ComerMacProRetina:~ comerduncan$ sudo port uninstall openmpi-default
> ---> Deactivating openmpi-default @1.7.5_3+gcc47
> ---> Cleaning openmpi-default
> ---> Uninstalling openmpi-default @1.7.5_3+gcc47
> ---> Cleaning openmpi-default
>
> Then I installed openmpi-gcc49 as suggested and checked it:
>
> ComerMacProRetina:~ comerduncan$ port installed | grep openmpi
> openmpi-gcc49 @1.7.5_3+fortran (active)
>
> Is this what you had in mind? Assuming it is, I am going to try another build and will report back what happens.
>
> Comer
>
>
> On Thu, May 21, 2015 at 3:46 PM, Erik Schnetter <schnetter at cct.lsu.edu> wrote:
> Comer
>
> Thanks. It seems that MPI was built against a different C++ library. I now think that the package "openmpi-default" is wrong; there should be "openmpi-gcc49" instead. If so, then this is an error in the instructions we list in the osx-macports.cfg file. Can you uninstall openmpi-default, and install openmpi-gcc49 instead?
>
> -erik
>
>
> On Thu, May 21, 2015 at 3:28 PM, Comer Duncan <comer.duncan at gmail.com> wrote:
> Erik,
>
> Sure. Here you go.
>
> ComerMacProRetina:Cactus comerduncan$ g++-mp-4.9 --version
> g++-mp-4.9 (MacPorts gcc49 4.9.2_1) 4.9.2
> Copyright (C) 2014 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.
>
> and
>
> ComerMacProRetina:Cactus comerduncan$ /opt/local/bin/mpicxx --version
> Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
> Target: x86_64-apple-darwin14.3.0
> Thread model: posix
>
> I just did my usual macports maintenance script yesterday:
>
> ComerMacProRetina:bin comerduncan$ cat portupdateupgrade
> echo '------------selfupdate------------------'
> sudo port selfupdate
> echo '------------outdated ports--------------'
> sudo port outdated
> echo '------------upgrade outdated ports------'
> sudo port upgrade outdated
>
> Has macports stuff been polluted? I note that on May 20 the software update for mac osx included installed updates of Xcode to version 6.3.2 and Command Line Tools version 6.3. I am wondering whether the attempts at building Cactus intersected macports updates performed with updated Xcode/Command LIne Tools, so that the macport collection might be in somewhat of a conflicted state?
>
> Comer
>
> On Thu, May 21, 2015 at 3:16 PM, Erik Schnetter <schnetter at cct.lsu.edu> wrote:
> Comer
>
> I agree with you that the PAPI errors seem harmless.
>
> The problem seems to be that something is wrong with vectorization. The error is reported inside a compiler-provided file. I don't know why these errors would now suddenly appear, as they were not there before. It looks as if something related to the C++ compiler changed.
>
> This is quite annoying, since several of us tested this option list, and it worked for all of us...
>
> Can you send us the output of
>
> g++-mp-4.9 --version
>
> and
>
> /opt/local/bin/mpicxx --version
>
> ?
>
> -erik
>
>
> On Thu, May 21, 2015 at 2:44 PM, Comer Duncan <comer.duncan at gmail.com> wrote:
> HI Frank,
>
> I am running 10.10.3 (14D136) on a macbook pro with the following properties:
>
> Version 10.10.3 (14D136)
> MacBook Pro (Retina, 15-inch, Mid 2014)
> Processor 2.5 Ghz Intel Core i7 (4 cores)
> 16 GB with 1TB SSD
>
> I am up to date with macports (I do this every week or so).
>
> I noticed complaints about papi but since builds don't crash with such complaints I forged ahead. I also note in the build logs multiple mentions (1405!) of Nonexistent include directories. How come such warnings are there in a new release? Maybe unrelated or not worth worrying about?
>
> Please help.
>
> Thanks.
>
> Comer
>
>
> On Thu, May 21, 2015 at 2:30 PM, Frank Loeffler <knarf at cct.lsu.edu> wrote:
> On Thu, May 21, 2015 at 01:52:25PM -0400, Comer Duncan wrote:
> > I have rebuilt Hilbert using the new detect.pl file suggested and get a
> > make crash but this time referring to seemingly different compile problems.
> > I have pasted the build4.log file to http://pastebin.com/kECKTkqr
>
> Which Mac OS version do you have again? Could it be connected to this?
>
> http://stackoverflow.com/questions/15963277/performance-api-on-mac-10-8
>
> (there is no solution given there, but the symptoms fit)
>
> Frank
>
>
>
>
>
> --
> Erik Schnetter <schnetter at cct.lsu.edu>
> http://www.perimeterinstitute.ca/personal/eschnetter/
>
>
>
>
> --
> Erik Schnetter <schnetter at cct.lsu.edu>
> http://www.perimeterinstitute.ca/personal/eschnetter/
>
>
>
>
> --
> Erik Schnetter <schnetter at cct.lsu.edu>
> http://www.perimeterinstitute.ca/personal/eschnetter/
>
> _______________________________________________
> Users mailing list
> Users at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users
------------------------------------------------------------------
Roberto De Pietri e-mail:roberto.depietri at fis.unipr.it
Dipartimento di Fisica http://www.fis.unipr.it/~roberto.depietri
Universita' di Parma tel: +39 (0521) 905280
Via G.P.Usberti 7/A fax: +39 (0521) 905223
I-43100 PARMA --- ITALY
More information about the Users
mailing list