thanks a lot David .It works.<br>
<br>
regards&nbsp; <br>
ganapathy senthilkumar<br>
 <br><div><span class="gmail_quote">On 5/3/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;">
ganapathy senthilkumar wrote:<br>&gt; dear gromacs users,<br>&gt; I tried to cross-compile gromacs for powerpc on an intel x86<br>&gt; machine. i set the configure options as<br>&gt;<br>&gt; export CPPFLAGS=-I/mnt/usr/local/include
<br>&gt; export LDFLAGS=-L/mnt/usr/local/lib<br>&gt;<br>&gt; =&gt;i had mounted another root file system(simulated) onto mnt.<br>&gt; i ran the configure script with the following options.<br>&gt;<br>&gt; ./configure&nbsp;&nbsp;--prefix=/mnt/usr/local/
<br>&gt; CC=&quot;/opt/sce/toolchain-2.3/ppu/bin/ppu-gcc -m32 -Wl,-m,elf32ppc&quot;<br>&gt; --enable-portable-binary<br>&gt; CFLAGS=-L/home/murali/cell1.0.1/sysroot/usr/lib&nbsp;&nbsp;--host=powerpc64-linux<br>&gt; RANLIB=/opt/sce/toolchain-
2.3/ppu/bin/powerpc64-linux-ranlib<br>&gt;<br>&gt;<br>&gt; on doing make i got the following error<br>&gt;<br>&gt; ./mknb&nbsp;&nbsp; -software_invsqrt<br>&gt; ./mknb: ./mknb: cannot execute binary file<br>&gt; make[5]: *** [kernel-stamp] Error 126
<br>&gt; make[5]: Leaving directory<br>&gt; `/home/murali/gromacs/gromacs-3.3.1/src/gmxlib/nonbonded/nb_kernel'<br>&gt; make[4]: *** [all-recursive] Error 1<br>&gt; make[4]: Leaving directory<br>&gt; `/home/murali/gromacs/gromacs-
3.3.1/src/gmxlib/nonbonded'<br>&gt; make[3]: *** [all-recursive] Error 1<br>&gt; make[3]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src/gmxlib'<br>&gt; make[2]: *** [all-recursive] Error 1<br>&gt; make[2]: Leaving directory `/home/murali/gromacs/gromacs-
3.3.1/src'<br>&gt; make[1]: *** [all] Error 2<br>&gt; make[1]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src'<br>&gt; make: *** [all-recursive] Error 1<br>&gt;<br>&gt; i understand that the mknb file generated by make is an powerpc
<br>&gt; executable and therefore cannot be executed.(since i am on a intel machine).<br>&gt;<br>&gt; kindly help me solve this problem.thank you in advance.<br>compile mknb separately for the host platform and run it before cross
<br>compiling.<br><br>you may also want to tell configure to use altivec<br>&gt;<br>&gt; sincerely,<br>&gt; ganapathy senthilkumar<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------
<br>&gt;<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>