<div>What&#39;s your icc version? Perhaps the issue is related to this:</div><div><a href="http://software.intel.com/en-us/articles/use-intel-cc-compilers-v1201107-or-higher-version-to-resolve-error-when-preprocessing-and-then-compiling-c-language-code-which-included-mathh-or-mathimfh-header">http://software.intel.com/en-us/articles/use-intel-cc-compilers-v1201107-or-higher-version-to-resolve-error-when-preprocessing-and-then-compiling-c-language-code-which-included-mathh-or-mathimfh-header</a></div>
--<br>Szilárd<br>
<br><br><div class="gmail_quote">On Wed, Oct 24, 2012 at 2:46 PM, Carsten Kutzner <span dir="ltr">&lt;<a href="mailto:ckutzne@gwdg.de" target="_blank">ckutzne@gwdg.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><div class="im">
    <div>On 10/24/2012 02:21 PM, Roland Schulz
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <br>
      <br>
      <div class="gmail_quote">On Wed, Oct 24, 2012 at 7:45 AM, Mirco
        Wahab <span dir="ltr">&lt;<a href="mailto:mirco.wahab@chemie.tu-freiberg.de" target="_blank">mirco.wahab@chemie.tu-freiberg.de</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am
          24.10.2012 13:02, schrieb Szilárd Páll:<br>
          <div>&gt;  On 10/20/2012 07:46 PM, Szilárd Páll
            wrote:<br>
            &gt;&gt;  On Sat, Oct 20, 2012 at 5:43 PM, Mirco Wahab &lt;<a href="mailto:wahab-mail@gmx.de" target="_blank">wahab-mail@gmx.de</a>&gt;
            wrote:<br>
            &gt;&gt;<br>
          </div>
          <div>&gt;&gt;         icc 13.0.0 CUDA5        build
            fail,    -<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt;     That should work out of the box -- unless
            you&#39;re using an fftw<br>
            &gt;&gt;     that is older than 3.3.1. What error are yo
            getting?<br>
            &gt;<br>
          </div>
          <div>&gt;     is icc 13 required for building 4.6
            with GPU support or should icc<br>
            &gt;     12 do as well?<br>
            &gt;<br>
            &gt; I&#39;m ont entirely sure about the officially supported
            versions, but both<br>
            &gt; 12 and 13 work fine.<br>
            <br>
          </div>
          I retestet CUDA5 + icc13 on x64-Linux (OpenSuSE) and it builds<br>
          perfectly, as you expected. My error from test before may have<br>
          resulted from a unlucky combination of GMX_PREFER_STATIC_LIBS<br>
          and BUILD_SHARED_LIBS in my build script.<br>
        </blockquote>
        <div>Any combination of these flags should work. Let us know if
          you have some combination which reproducible fails.</div>
      </div>
    </blockquote></div>
    Hi,<br>
    <br>
    I cannot get it compiled at all with icc, see below.<br>
    <br>
    Best,<br>
      Carsten<br>
    <br>
    <br>
    mkdir build<br>
    cd build<br>
    source /usr/local/intel/ics/compilerpro-12.0.0.084/bin/iccvars.sh
    intel64<br>
    export
    ICC=/usr/local/intel/ics/composerxe-2011.0.084/bin/intel64/icc<br>
    export
    ICPC=/usr/local/intel/ics/composerxe-2011.0.084/bin/intel64/icpc<br>
    module add MPIBPC/cuda-5.0.35<br>
    <br>
    cmake .. \<br>
    -DCMAKE_C_COMPILER=$ICC \<br>
    -DCMAKE_CXX_COMPILER=$ICPC<br>
    <br>
    <br>
    [  0%] Building NVCC (Device) object
    src/gmxlib/cuda_tools/./cuda_tools_generated_pmalloc_cuda.cu.o<br>
    /sw/cluster/intel/ics/composerxe-2011.0.084/compiler/include/math.h(235):
    error: omission of exception specification is incompatible with
    previous function &quot;__isinff&quot;                                     <br>
    /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6073):
    here<br>
    <br>
    /sw/cluster/intel/ics/composerxe-2011.0.084/compiler/include/math.h(236):
    error: omission of exception specification is incompatible with
    previous function &quot;__isinf&quot;<br>
    /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6087):
    here<br>
    <br>
    /sw/cluster/intel/ics/composerxe-2011.0.084/compiler/include/math.h(238):
    error: omission of exception specification is incompatible with
    previous function &quot;__isinfl&quot;<br>
    /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6410):
    here<br>
    <br>
    /sw/cluster/intel/ics/composerxe-2011.0.084/compiler/include/math.h(245):
    error: omission of exception specification is incompatible with
    previous function &quot;__isnanf&quot;<br>
    /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6074):
    here<br>
    <br>
    /sw/cluster/intel/ics/composerxe-2011.0.084/compiler/include/math.h(246):
    error: omission of exception specification is incompatible with
    previous function &quot;__isnan&quot;<br>
    /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6086):
    here<br>
    <br>
    /sw/cluster/intel/ics/composerxe-2011.0.084/compiler/include/math.h(248):
    error: omission of exception specification is incompatible with
    previous function &quot;__isnanl&quot;<br>
    /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6411):
    here<br>
    <br>
    /sw/cluster/intel/ics/composerxe-2011.0.084/compiler/include/math.h(275):
    error: omission of exception specification is incompatible with
    previous function &quot;__finitef&quot;<br>
    /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6084):
    here<br>
    <br>
    /sw/cluster/intel/ics/composerxe-2011.0.084/compiler/include/math.h(276):
    error: omission of exception specification is incompatible with
    previous function &quot;__finite&quot;<br>
    /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6083):
    here<br>
    <br>
    /sw/cluster/intel/ics/composerxe-2011.0.084/compiler/include/math.h(278):
    error: omission of exception specification is incompatible with
    previous function &quot;__finitel&quot;<br>
    /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6409):
    here<br>
    <br>
    /sw/cluster/intel/ics/composerxe-2011.0.084/compiler/include/math.h(285):
    error: omission of exception specification is incompatible with
    previous function &quot;__signbitf&quot;<br>
    /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6090):
    here<br>
    <br>
    /sw/cluster/intel/ics/composerxe-2011.0.084/compiler/include/math.h(286):
    error: omission of exception specification is incompatible with
    previous function &quot;__signbit&quot;<br>
    /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6085):
    here<br>
    <br>
    /sw/cluster/intel/ics/composerxe-2011.0.084/compiler/include/math.h(288):
    error: omission of exception specification is incompatible with
    previous function &quot;__signbitl&quot;<br>
    /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6403):
    here<br>
    <br>
    /usr/include/c++/4.1.2/bits/cpp_type_traits.h(358): error: expected
    an identifier<br>
    <br>
    /usr/include/c++/4.1.2/bits/cpp_type_traits.h(371): error: expected
    an identifier<br>
    <br>
    14 errors detected in the compilation of
    &quot;/tmp/tmpxft_00000dbc_00000000-9_pmalloc_cuda.compute_30.cpp1.ii&quot;.<br>
    CMake Error at
    CMakeFiles/cuda_tools_generated_pmalloc_cuda.cu.o.cmake:256
    (message):<br>
      Error generating file<br>
     
/home/ckutzne/installations/gromacs/build/src/gmxlib/cuda_tools/./cuda_tools_generated_pmalloc_cuda.cu.o<br>
    <br>
    <br>
    make[2]: ***
    [src/gmxlib/cuda_tools/./cuda_tools_generated_pmalloc_cuda.cu.o]
    Error 1<br>
    make[1]: *** [src/gmxlib/cuda_tools/CMakeFiles/cuda_tools.dir/all]
    Error 2<br>
    make: *** [all] Error 2<div class="im"><br>
    <br>
    <br>
    <br>
    <blockquote type="cite">
      <div class="gmail_quote">
        <div>Roland </div>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <br>
          So all is ok now. Thanks!<br>
          <span><font color="#888888"><br>
              M.<br>
            </font></span>
          <div>
            <div><br>
              --<br>
              gmx-developers mailing list<br>
              <a href="mailto:gmx-developers@gromacs.org" target="_blank">gmx-developers@gromacs.org</a><br>
              <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
              Please don&#39;t post (un)subscribe requests to the list. Use
              the<br>
              www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a>.<br>
              <br>
              <br>
              <br>
              <br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov" target="_blank">cmb.ornl.gov</a><br>
      865-241-1537, ORNL PO BOX 2008 MS6309<br>
      <br>
      <fieldset></fieldset>
      <br>
    </blockquote>
    <br>
  </div></div>

<br>--<br>
gmx-developers mailing list<br>
<a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
Please don&#39;t post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br></blockquote></div><br>