thanks a lot David .It works.<br>
<br>
regards <br>
ganapathy senthilkumar<br>
<br><div><span class="gmail_quote">On 5/3/06, <b class="gmail_sendername">David van der Spoel</b> <<a href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</a>> 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>> dear gromacs users,<br>> I tried to cross-compile gromacs for powerpc on an intel x86<br>> machine. i set the configure options as<br>><br>> export CPPFLAGS=-I/mnt/usr/local/include
<br>> export LDFLAGS=-L/mnt/usr/local/lib<br>><br>> =>i had mounted another root file system(simulated) onto mnt.<br>> i ran the configure script with the following options.<br>><br>> ./configure --prefix=/mnt/usr/local/
<br>> CC="/opt/sce/toolchain-2.3/ppu/bin/ppu-gcc -m32 -Wl,-m,elf32ppc"<br>> --enable-portable-binary<br>> CFLAGS=-L/home/murali/cell1.0.1/sysroot/usr/lib --host=powerpc64-linux<br>> RANLIB=/opt/sce/toolchain-
2.3/ppu/bin/powerpc64-linux-ranlib<br>><br>><br>> on doing make i got the following error<br>><br>> ./mknb -software_invsqrt<br>> ./mknb: ./mknb: cannot execute binary file<br>> make[5]: *** [kernel-stamp] Error 126
<br>> make[5]: Leaving directory<br>> `/home/murali/gromacs/gromacs-3.3.1/src/gmxlib/nonbonded/nb_kernel'<br>> make[4]: *** [all-recursive] Error 1<br>> make[4]: Leaving directory<br>> `/home/murali/gromacs/gromacs-
3.3.1/src/gmxlib/nonbonded'<br>> make[3]: *** [all-recursive] Error 1<br>> make[3]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src/gmxlib'<br>> make[2]: *** [all-recursive] Error 1<br>> make[2]: Leaving directory `/home/murali/gromacs/gromacs-
3.3.1/src'<br>> make[1]: *** [all] Error 2<br>> make[1]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src'<br>> make: *** [all-recursive] Error 1<br>><br>> i understand that the mknb file generated by make is an powerpc
<br>> executable and therefore cannot be executed.(since i am on a intel machine).<br>><br>> 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>><br>> sincerely,<br>> ganapathy senthilkumar<br>><br>><br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> gmx-users mailing list <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><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, 75124 Uppsala, Sweden<br>phone: 46 18 471 4205 fax: 46 18 511 755
<br><a href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</a> <a href="mailto:spoel@gromacs.org">spoel@gromacs.org</a> <a href="http://folding.bmc.uu.se">http://folding.bmc.uu.se</a><br>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<br>_______________________________________________<br>gmx-users mailing list <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>