Using gcc -m32 will compile 32-bit binaries, however you'll also need<br>
32-bit libraries and a 32 bit linker to actually complete the process. If<br>
you really want to run the server in 64 bit mode, your best bet will be<br>
to make a 32-bit environment that you can chroot into for the purpose<br>
of compiling for the nodes/building the node images. Depending upon<br>
the distro you're using, they may also have a multilib environment<br>
available such as Gentoo.<br>
<br>
Anyways, you can check out Gentoo's docs for creating the chroot<br>
environment, I run this on my home computer and it works fine.<br>
<br>
<a href="http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml">http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml</a><br><br><div><span class="gmail_quote"><br>
Hope this helps,<br>
Justin Bronder<br>
UMaine ACRL<br>
<br>
On 2/8/06, <b class="gmail_sendername">Michelangelo D'Agostino</b> <<a href="mailto:mdagost@berkeley.edu">mdagost@berkeley.edu</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;">
Hey everybody. I'm new to all this and having some problems with my<br>setup. I have a 64 bit AMD Opteron server with a bunch of 32 bit<br>nodes. I'd like to have the pbs_server running on the 64 bit server<br>sending out jobs to the 32 bit nodes. However, if I run the usual
<br>configure, make, make install on the 64 bit system and then make the<br>self-extracting packages, they don't work on the 32 bit nodes because<br>they're the wrong architecture.<br><br>Is there a way to compile things in 32 bit mode on the 64 bit server? I
<br>tried modifying the makefiles by hand to use "gcc -m32" instead of<br>"gcc", but then I get linking errors. Or maybe I'm doing something<br>completely wrong here?<br><br>Thanks in advance for any help...
<br><br>Michelangelo<br>_______________________________________________<br>torqueusers mailing list<br><a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br><a href="http://www.supercluster.org/mailman/listinfo/torqueusers">
http://www.supercluster.org/mailman/listinfo/torqueusers</a><br></blockquote></div><br>