Hi.<br>
<br>
Sorry if it looks like a stupidy question (and it is), but I'm quite bad on C (fortran addicted).<br>
<br>
I found 4 entries in the file like the one you told me to change. May I change all them, or which ones?<br>
<br>
Thanks a lot,<br>
<br>
Jones<br><br><div><span class="gmail_quote">On 4/26/06, <b class="gmail_sendername">David van der Spoel</b> &lt;<a href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jones de Andrade wrote:<br>&gt; Hi all.<br>&gt;<br>&gt; Well, some time ago I decided to bench gromacs on AMD64 machines<br>&gt; compiled with different compilers (both single and double precision,<br>&gt; both internal and external blas and lapack, just FFTw 3 for fourier)
<br>&gt; in order to see which one performs better.<br>&gt;<br>&gt; To time, I have available GCC, PGI and Intel compilers. Pathscale is a<br>&gt; future option.<br>&gt;<br>&gt; Unfortunatelly, I was able to properly compile it just with GCC (all 4
<br>&gt; flavours, despite the fact that the external libraries of ACML didn't<br>&gt; seem to improve so much the performance as I expected), but failed on<br>&gt; both PGI and Intel compilers at different points. So, I'm asking for
<br>&gt; help on those compilation issues.<br>&gt;<br>&gt; For Intel, the compilation ends up with a segmentation fault at the<br>&gt; following point:<br>&gt;<br>&gt; ***********************************************************************************
<br>&gt; ./mknb&nbsp;&nbsp; -software_invsqrt<br>&gt;&nbsp;&nbsp;&gt;&gt;&gt; Gromacs nonbonded kernel generator (-h for help)<br>&gt;&nbsp;&nbsp;&gt;&gt;&gt; Generating single precision functions in C.<br>&gt;&nbsp;&nbsp;&gt;&gt;&gt; Using Gromacs software version of 1/sqrt(x).
<br>&gt;&nbsp;&nbsp;make[5]: *** [kernel-stamp] Falha de segmentação<br>&gt;&nbsp;&nbsp;make[5]: Leaving directory<br>&gt; `/home/johannes/src/gromacs/gromacs-3.3/src/gmxlib/nonbonded/nb_kernel'<br>&gt;&nbsp;&nbsp;make[4]: ** [all-recursive] Erro 1<br>
&gt; ***********************************************************************************<br>&gt;<br>&gt; And, for PGI, it dies at the following point (after using the<br>&gt; --without-x --without-motif-libraries -- without-motif-includes flags
<br>&gt; for configure):<br>&gt;<br>&gt; ****************************************************************************************<br>&gt; source='gmx_sgangle.c' object='gmx_sgangle.lo' libtool=yes \<br>&gt;&nbsp;&nbsp;DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
<br>&gt;&nbsp;&nbsp;/bin/sh ../../libtool --mode=compile --tag=CC<br>&gt; /usr/local/pgi/linux86-64/6.0/bin/pgcc -DHAVE_CONFIG_H -I. -I.<br>&gt; -I../../src&nbsp;&nbsp;-I../../include<br>&gt; -DGMXLIBDIR=\&quot;/usr/local/bin/chemistry/gromacs/PSI//share/top\&quot;
<br>&gt; -I/usr/local/lib64/fftw/pgi/include&nbsp;&nbsp;-tp=k8-64 -fastsse -Mipa=fast<br>&gt; -Mipa=inline -c -o gmx_sgangle.lo gmx_sgangle.c<br>&gt;&nbsp;&nbsp; /usr/local/pgi/linux86-64/6.0/bin/pgcc -DHAVE_CONFIG_H -I. -I.<br>&gt; -I../../src -I../../include
<br>&gt; -DGMXLIBDIR=\&quot;/usr/local/bin/chemistry/gromacs/PSI//share/top\&quot;<br>&gt; -I/usr/local/lib64/fftw/pgi/include -tp=k8-64 -fastsse -Mipa=fast<br>&gt; -Mipa=inline -c gmx_sgangle.c -o gmx_sgangle.o<br>&gt;&nbsp;&nbsp;PGC-S-0090-Scalar data type required for logical expression
<br>&gt; (gmx_sgangle.c: 313)<br>&gt;&nbsp;&nbsp;PGC-S-0090-Scalar data type required for logical expression<br>&gt; (gmx_sgangle.c: 320)<br>&gt;&nbsp;&nbsp;PGC/x86-64 Linux/x86-64 6.0-5: compilation completed with severe errors<br>&gt; **************************************************************************************
<br>&gt;<br>Shitty compiler...<br><br>replace in the header of the function<br>matrix box,<br>by<br>rvec *box<br><br><br>&gt; Did anyone run into those problems before when trying to compile<br>&gt; gromacs with those compilers?
<br>&gt;<br>&gt; Any help will be very welcome. :)<br>&gt;<br>&gt; Thanks a lot in advance,<br>&gt;<br>&gt; Jones<br>&gt;<br>&gt; P.S.: I'm using the &quot;mixed&quot; run simulation of the &quot;tutor&quot; directory as<br>
&gt; a compilation test.<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>&gt; <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">
http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>&gt; Please don't post (un)subscribe requests to the list. Use the<br>&gt; www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org
</a>.<br>&gt; Can't post? Read <a href="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</a><br><br><br>--<br>David.<br>________________________________________________________________________
<br>David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,<br>Dept. of Cell and Molecular Biology, Uppsala University.<br>Husargatan 3, Box 596,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;75124 Uppsala, Sweden<br>phone:&nbsp;&nbsp;46 18 471 4205&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fax: 46 18 511 755
<br><a href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:spoel@gromacs.org">spoel@gromacs.org</a>&nbsp;&nbsp; <a href="http://folding.bmc.uu.se">http://folding.bmc.uu.se</a><br>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<br>_______________________________________________<br>gmx-users mailing list&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users
</a><br>Please don't post (un)subscribe requests to the list. Use the<br>www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>Can't post? Read <a href="http://www.gromacs.org/mailing_lists/users.php">
http://www.gromacs.org/mailing_lists/users.php</a><br></blockquote></div><br>