<div>Mark, thanks. It resolves my problem.<br></div>
<div class="gmail_quote">2010/4/21 Mark Abraham <span dir="ltr"><<a href="mailto:Mark.Abraham@anu.edu.au">Mark.Abraham@anu.edu.au</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="h5">On 21/04/2010 4:14 PM, shuqi zhao wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Dear all,<br>I am compiling gromacs 4.0.7 on AIX 5.3 with "./configure --enable-mpi<br>--enable-ppc-sqrt=1 --enable-ppc-altivec --disable-fortran<br>
--with-fft=fftw3". The source codes under<br>src/gmxlib/nonbonded/nb_kernel_ppc_altivec/ are compiled and archived.<br>However, when generating the executable binary "mdrun", it seems that<br>the object file generated by "mknb" is used to link for mdrun.<br>
Therefore, I cannot make full use of SIMD instruction to accelerate the<br>computation on power architecture. Does anyone know what should I do to<br>let mdrun call nb_kernel**_ppc_altivec instead of nb_kernel***? Thanks a<br>
lot.<br></blockquote><br></div></div>mdrun tests at runtime to see whether the altivec instructions will fail - see the code in src/gmxlib/nonbonded/nonbonded.c and the altivec-related subdirectory. Check your .log file to see what it says about that test. Probably it's attempting the test and then failing. This suggests the hardware you're compiling for won't work with the altivec implementation of GROMACS, or that you haven't got the compiler organized properly.<br>
<br>Mark<br><font color="#888888"><br>-- <br>gmx-users mailing list <a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br><a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>Please don't post (un)subscribe requests to the list. Use the www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>.<br>
Can't post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br></font></blockquote></div><br>