<div class="gmail_quote">On Mon, Oct 29, 2012 at 1:05 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 class="im">On Oct 24, 2012, at 5:59 PM, Carsten Kutzner &lt;<a href="mailto:ckutzne@gwdg.de">ckutzne@gwdg.de</a>&gt; wrote:<br>
&gt; On Oct 24, 2012, at 5:08 PM, Szilárd Páll &lt;<a href="mailto:szilard.pall@cbr.su.se">szilard.pall@cbr.su.se</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; What&#39;s your icc version? Perhaps the issue is related to this:<br>
&gt;&gt; <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" target="_blank">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><br>

&gt; Ah, that is likely. We have 12.0.0 -&gt; upgrading tomorrow…<br>
</div>Yes, with icc 13.0.1 it works fine. (if the gnu c compiler is not 4.1.2!).<br></blockquote><div><br></div><div>I guess you mean the gcc compatibility mode icc works in. You can set that with -gcc-version=XYZ.</div>
<div><br></div><div>--<br>Szilárd<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Carsten<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
&gt; Thanks a lot!!<br>
&gt;<br>
&gt; Carsten<br>
&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Szilárd<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Oct 24, 2012 at 2:46 PM, Carsten Kutzner &lt;<a href="mailto:ckutzne@gwdg.de">ckutzne@gwdg.de</a>&gt; wrote:<br>
&gt;&gt; On 10/24/2012 02:21 PM, Roland Schulz wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Oct 24, 2012 at 7:45 AM, Mirco Wahab &lt;<a href="mailto:mirco.wahab@chemie.tu-freiberg.de">mirco.wahab@chemie.tu-freiberg.de</a>&gt; wrote:<br>
&gt;&gt;&gt; Am 24.10.2012 13:02, schrieb Szilárd Páll:<br>
&gt;&gt;&gt;&gt; On 10/20/2012 07:46 PM, Szilárd Páll wrote:<br>
&gt;&gt;&gt;&gt;&gt; On Sat, Oct 20, 2012 at 5:43 PM, Mirco Wahab &lt;<a href="mailto:wahab-mail@gmx.de">wahab-mail@gmx.de</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;        icc 13.0.0 CUDA5        build fail,    -<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;    That should work out of the box -- unless you&#39;re using an fftw<br>
&gt;&gt;&gt;&gt;&gt;    that is older than 3.3.1. What error are yo getting?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;    is icc 13 required for building 4.6 with GPU support or should icc<br>
&gt;&gt;&gt;&gt;    12 do as well?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I&#39;m ont entirely sure about the officially supported versions, but both<br>
&gt;&gt;&gt;&gt; 12 and 13 work fine.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I retestet CUDA5 + icc13 on x64-Linux (OpenSuSE) and it builds<br>
&gt;&gt;&gt; perfectly, as you expected. My error from test before may have<br>
&gt;&gt;&gt; resulted from a unlucky combination of GMX_PREFER_STATIC_LIBS<br>
&gt;&gt;&gt; and BUILD_SHARED_LIBS in my build script.<br>
&gt;&gt;&gt; Any combination of these flags should work. Let us know if you have some combination which reproducible fails.<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I cannot get it compiled at all with icc, see below.<br>
&gt;&gt;<br>
&gt;&gt; Best,<br>
&gt;&gt;  Carsten<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; mkdir build<br>
&gt;&gt; cd build<br>
&gt;&gt; source /usr/local/intel/ics/compilerpro-12.0.0.084/bin/iccvars.sh intel64<br>
&gt;&gt; export ICC=/usr/local/intel/ics/composerxe-2011.0.084/bin/intel64/icc<br>
&gt;&gt; export ICPC=/usr/local/intel/ics/composerxe-2011.0.084/bin/intel64/icpc<br>
&gt;&gt; module add MPIBPC/cuda-5.0.35<br>
&gt;&gt;<br>
&gt;&gt; cmake .. \<br>
&gt;&gt; -DCMAKE_C_COMPILER=$ICC \<br>
&gt;&gt; -DCMAKE_CXX_COMPILER=$ICPC<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; [  0%] Building NVCC (Device) object src/gmxlib/cuda_tools/./cuda_tools_generated_pmalloc_cuda.cu.o<br>
&gt;&gt; /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>
&gt;&gt; /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6073): here<br>
&gt;&gt;<br>
&gt;&gt; /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>
&gt;&gt; /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6087): here<br>
&gt;&gt;<br>
&gt;&gt; /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>
&gt;&gt; /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6410): here<br>
&gt;&gt;<br>
&gt;&gt; /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>
&gt;&gt; /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6074): here<br>
&gt;&gt;<br>
&gt;&gt; /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>
&gt;&gt; /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6086): here<br>
&gt;&gt;<br>
&gt;&gt; /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>
&gt;&gt; /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6411): here<br>
&gt;&gt;<br>
&gt;&gt; /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>
&gt;&gt; /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6084): here<br>
&gt;&gt;<br>
&gt;&gt; /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>
&gt;&gt; /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6083): here<br>
&gt;&gt;<br>
&gt;&gt; /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>
&gt;&gt; /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6409): here<br>
&gt;&gt;<br>
&gt;&gt; /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>
&gt;&gt; /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6090): here<br>
&gt;&gt;<br>
&gt;&gt; /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>
&gt;&gt; /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6085): here<br>
&gt;&gt;<br>
&gt;&gt; /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>
&gt;&gt; /usr/local/cuda/cuda50/toolkit/5.0.35/include/math_functions.h(6403): here<br>
&gt;&gt;<br>
&gt;&gt; /usr/include/c++/4.1.2/bits/cpp_type_traits.h(358): error: expected an identifier<br>
&gt;&gt;<br>
&gt;&gt; /usr/include/c++/4.1.2/bits/cpp_type_traits.h(371): error: expected an identifier<br>
&gt;&gt;<br>
&gt;&gt; 14 errors detected in the compilation of &quot;/tmp/tmpxft_00000dbc_00000000-9_pmalloc_cuda.compute_30.cpp1.ii&quot;.<br>
&gt;&gt; CMake Error at CMakeFiles/cuda_tools_generated_pmalloc_cuda.cu.o.cmake:256 (message):<br>
&gt;&gt;  Error generating file<br>
&gt;&gt;  /home/ckutzne/installations/gromacs/build/src/gmxlib/cuda_tools/./cuda_tools_generated_pmalloc_cuda.cu.o<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; make[2]: *** [src/gmxlib/cuda_tools/./cuda_tools_generated_pmalloc_cuda.cu.o] Error 1<br>
&gt;&gt; make[1]: *** [src/gmxlib/cuda_tools/CMakeFiles/cuda_tools.dir/all] Error 2<br>
&gt;&gt; make: *** [all] Error 2<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; Roland<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; So all is ok now. Thanks!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; M.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; gmx-developers mailing list<br>
&gt;&gt;&gt; <a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
&gt;&gt;&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
&gt;&gt;&gt; Please don&#39;t post (un)subscribe requests to the list. Use the<br>
&gt;&gt;&gt; www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov" target="_blank">cmb.ornl.gov</a><br>
&gt;&gt;&gt; 865-241-1537, ORNL PO BOX 2008 MS6309<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; gmx-developers mailing list<br>
&gt;&gt; <a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
&gt;&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
&gt;&gt; Please don&#39;t post (un)subscribe requests to the list. Use the<br>
&gt;&gt; www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; gmx-developers mailing list<br>
&gt;&gt; <a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
&gt;&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
&gt;&gt; Please don&#39;t post (un)subscribe requests to the list. Use the<br>
&gt;&gt; www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Dr. Carsten Kutzner<br>
&gt; Max Planck Institute for Biophysical Chemistry<br>
&gt; Theoretical and Computational Biophysics<br>
&gt; Am Fassberg 11, 37077 Goettingen, Germany<br>
&gt; Tel. <a href="tel:%2B49-551-2012313" value="+495512012313">+49-551-2012313</a>, Fax: <a href="tel:%2B49-551-2012302" value="+495512012302">+49-551-2012302</a><br>
&gt; <a href="http://www.mpibpc.mpg.de/grubmueller/kutzner" target="_blank">http://www.mpibpc.mpg.de/grubmueller/kutzner</a><br>
&gt;<br>
&gt; --<br>
&gt; gmx-developers mailing list<br>
&gt; <a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
&gt; Please don&#39;t post (un)subscribe requests to the list. Use the<br>
&gt; www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
<br>
<br>
--<br>
Dr. Carsten Kutzner<br>
Max Planck Institute for Biophysical Chemistry<br>
Theoretical and Computational Biophysics<br>
Am Fassberg 11, 37077 Goettingen, Germany<br>
Tel. <a href="tel:%2B49-551-2012313" value="+495512012313">+49-551-2012313</a>, Fax: <a href="tel:%2B49-551-2012302" value="+495512012302">+49-551-2012302</a><br>
<a href="http://www.mpibpc.mpg.de/grubmueller/kutzner" target="_blank">http://www.mpibpc.mpg.de/grubmueller/kutzner</a><br>
<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>
</div></div></blockquote></div><br>