[torqueusers] compiling pbs_python modules against torque on x86_64

Garrick Staples garrick at usc.edu
Thu Feb 23 14:12:17 MST 2006

On Thu, Feb 23, 2006 at 03:27:09PM -0500, Troy Baer alleged:
> On Thu, 2006-02-23 at 13:17 -0700, Steven A. DuChene wrote:
> > The README file for the pbs_python module code includes the following info:
> > 
> >   - For X86_64 systems you have to compile torque/openpbs with
> >     the -fPIC option. Else you can not build the python module
> > 
> > Since I am indeed looking to use this on a x86_64 system does this
> > mean the various torque libraries in src/lib have to be built as shared
> > libraries? I don't see any options in the configure script to tell it to build
> > shared libraries. Has anyone else worked with the pbs_python module
> > on a x86_64 system? Any hints would be most appreciated.
> AFAIK, you don't need full-blown shared libs from TORQUE to make this
> work on Linux/x86_64; you just need to compile TORQUE with -fPIC.

Just to clarify, ./configure --set-cflags="-fPIC" is the minimal
required.  You probably also want other flags like -g and -O2.  There
are other mailing list threads on this subject.

Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20060223/742ca870/attachment.bin

More information about the torqueusers mailing list