<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Mecej4: Thanks, I am in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OsX-10-10-breaking-error-through-CMAKE/m-p/1038125#M20523</link>
    <description>&lt;P&gt;Mecej4: Thanks, I am forwarding this in OsX yosemite support communities as well. Would you please let me know if you happen to come by to a workaround? &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Mar 2015 13:27:44 GMT</pubDate>
    <dc:creator>Baris_M_</dc:creator>
    <dc:date>2015-03-06T13:27:44Z</dc:date>
    <item>
      <title>OsX 10.10 breaking error through CMAKE</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OsX-10-10-breaking-error-through-CMAKE/m-p/1038123#M20521</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Dear all,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I am trying to compile Fenics in OsX using intel compilers.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The new edition to my saga is that CMAKE creates test binaries when testing MKL that can not be killed, and leads to a slow corruption of the system (i.e. fonts go crazy etc). The error is reproducible in a macbook pro retina 2011 and mac pro cylinder 2013.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The "zombie" is created when Teuchos is testing:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;Performing Test CXX_COMPLEX_BLAS_WORKS&lt;/P&gt;

&lt;P&gt;The CMAKE is invoked via hashdist with following parameters&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;${CMAKE} -DCMAKE_INSTALL_PREFIX:PATH="${ARTIFACT}" \&lt;BR /&gt;
		&amp;nbsp; -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON \&lt;BR /&gt;
		&amp;nbsp; -DCMAKE_INSTALL_RPATH:STRING="${ARTIFACT}/lib" \&lt;BR /&gt;
		&amp;nbsp; -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON \&lt;BR /&gt;
		&amp;nbsp; -DCMAKE_BUILD_TYPE:STRING=Release \&lt;BR /&gt;
		&amp;nbsp;-DCMAKE_PREFIX_PATH="${BLAS_DIR};${CMAKE_DIR};${LAPACK_DIR};${MPI_DIR};${NUMPY_DIR};${PYTHON_DIR};${SUITESPARSE_DIR};${SWIG_DIR}" \&lt;BR /&gt;
		&amp;nbsp; -D CMAKE_CXX_COMPILER:FILEPATH=${MPICXX} -D CMAKE_C_COMPILER:FILEPATH=${MPICC} -D Trilinos_INSTALL_INCLUDE_DIR:PATH=include/trilinos -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON -D Trilinos_ENABLE_Epetra:BOOL=ON -D Trilinos_ENABLE_ML:BOOL=ON -D Trilinos_ENABLE_PyTrilinos:BOOL=ON -D Trilinos_ENABLE_TESTS:BOOL=OFF -D Trilinos_ENABLE_EXAMPLES:BOOL=OFF -D BUILD_SHARED_LIBS:BOOL=ON -D TPL_ENABLE_MPI:BOOL=ON -D TPL_ENABLE_UMFPACK:BOOL=ON -D BLAS_LIBRARY_NAMES:STRING=mkl_rt -D BLAS_LIBRARY_DIRS:PATH=/opt/intel/mkl/lib/ -D LAPACK_LIBRARY_NAMES:STRING=mkl_rt -D LAPACK_LIBRARY_DIRS:PATH=/opt/intel/mkl/lib/ -D UMFPACK_INCLUDE_DIRS:PATH=${SUITESPARSE_DIR}/include/suitesparse -D UMFPACK_LIBRARY_DIRS:PATH=${SUITESPARSE_DIR}/lib -D UMFPACK_LIBRARY_NAMES:STRING="umfpack;cholmod;camd;ccolamd;colamd;amd;suitesparseconfig" -D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE} -D PYTHON_EXECUTABLE:FILEPATH=${PYTHON} \&lt;BR /&gt;
		&amp;nbsp; ..&lt;BR /&gt;
		)&lt;BR /&gt;
		${CMAKE} --build . -- -j ${HASHDIST_CPU_COUNT}&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;The zombie binary is generated with the following link.txt&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;mpic++ &amp;nbsp; &amp;nbsp;-DCXX_COMPLEX_BLAS_WORKS -Wl,-search_paths_first -Wl,-headerpad_max_install_names &amp;nbsp;-Lhashdist/bld/blas/orqin7luuh5d/lib &amp;nbsp;-L.hashdist/bld/cmake/llreawl5z57x/lib &amp;nbsp;-L.hashdist/bld/lapack/xvzyk5hqp7ew/lib &amp;nbsp;-L.hashdist/bld/mpi/gi7gvjksd6f3/lib &amp;nbsp;-L.hashdist/bld/numpy/pwyxrcqhcikq/lib &amp;nbsp;-L/.hashdist/bld/python/2y62fdg7o42s/lib &amp;nbsp;-L/.hashdist/bld/suitesparse/47udu3z4wfph/lib &amp;nbsp;-L.hashdist/bld/swig/mev4ahg24s3p/lib &amp;nbsp; CMakeFiles/cmTryCompileExec1717385958.dir/src.cxx.o &amp;nbsp;-o cmTryCompileExec1717385958 &amp;nbsp;/opt/intel/mkl/lib/libmkl_rt.dylib&lt;/P&gt;

	&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I tried manually, and ended up with the zombie process myself, and had to reboot the system, even I initiated the process with gdb.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The test is this:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;BR /&gt;
		#include &amp;lt;complex&amp;gt;&lt;/P&gt;

	&lt;P&gt;#define F77_BLAS_MANGLE(name,NAME) name ## _&lt;/P&gt;

	&lt;P&gt;extern "C" {&lt;BR /&gt;
		&amp;nbsp; std::complex&amp;lt;float&amp;gt; F77_BLAS_MANGLE(cdotc,CDOTC)(&lt;BR /&gt;
		&amp;nbsp; &amp;nbsp; const int* n, const &amp;nbsp;std::complex&amp;lt;float&amp;gt; x[], const int* incx,&lt;BR /&gt;
		&amp;nbsp; &amp;nbsp; const std::complex&amp;lt;float&amp;gt; y[], const int* incy);&lt;BR /&gt;
		}&lt;/P&gt;

	&lt;P&gt;int main() {&lt;BR /&gt;
		&amp;nbsp; const int NUM=2;&lt;BR /&gt;
		&amp;nbsp; const int INC=1;&lt;BR /&gt;
		&amp;nbsp; std::complex&amp;lt;float&amp;gt; f[NUM];&lt;BR /&gt;
		&amp;nbsp; const std::complex&amp;lt;float&amp;gt;&lt;BR /&gt;
		&amp;nbsp; &amp;nbsp; ONE = std::complex&amp;lt;float&amp;gt;(1.0,0.0),&lt;BR /&gt;
		&amp;nbsp; &amp;nbsp; TWO = std::complex&amp;lt;float&amp;gt;(2.0,0.0);&lt;BR /&gt;
		&amp;nbsp; f[0] = &amp;nbsp;ONE;&lt;BR /&gt;
		&amp;nbsp; f[1] = &amp;nbsp;ONE;&lt;BR /&gt;
		&amp;nbsp; const std::complex&amp;lt;float&amp;gt; ret =&lt;BR /&gt;
		&amp;nbsp; &amp;nbsp; F77_BLAS_MANGLE(cdotc,CDOTC)(&amp;amp;NUM, f, &amp;amp;INC, f, &amp;amp;INC);&lt;BR /&gt;
		&amp;nbsp; return (ret == TWO ? 0 : 1);&lt;BR /&gt;
		}&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2015 11:07:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OsX-10-10-breaking-error-through-CMAKE/m-p/1038123#M20521</guid>
      <dc:creator>Baris_M_</dc:creator>
      <dc:date>2015-03-06T11:07:51Z</dc:date>
    </item>
    <item>
      <title>I should consider it an OSX</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OsX-10-10-breaking-error-through-CMAKE/m-p/1038124#M20522</link>
      <description>&lt;P&gt;I should consider it an OSX bug if you cannot kill a misbehaving user mode program, regardless of whether you used MKL, Cmake, and other tools to build the program. In other words, if a program that would cause an access violation in WIndows or a seg-fault in Linux causes a hung machine under OSX, you have a defective OS, and should inform Apple.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2015 13:18:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OsX-10-10-breaking-error-through-CMAKE/m-p/1038124#M20522</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2015-03-06T13:18:08Z</dc:date>
    </item>
    <item>
      <title>Mecej4: Thanks, I am</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OsX-10-10-breaking-error-through-CMAKE/m-p/1038125#M20523</link>
      <description>&lt;P&gt;Mecej4: Thanks, I am forwarding this in OsX yosemite support communities as well. Would you please let me know if you happen to come by to a workaround? &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2015 13:27:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OsX-10-10-breaking-error-through-CMAKE/m-p/1038125#M20523</guid>
      <dc:creator>Baris_M_</dc:creator>
      <dc:date>2015-03-06T13:27:44Z</dc:date>
    </item>
    <item>
      <title>Sorry, I don't use Apple</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OsX-10-10-breaking-error-through-CMAKE/m-p/1038126#M20524</link>
      <description>&lt;P&gt;Sorry, I don't use Apple hardware.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2015 13:53:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OsX-10-10-breaking-error-through-CMAKE/m-p/1038126#M20524</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2015-03-06T13:53:53Z</dc:date>
    </item>
  </channel>
</rss>

