[torqueusers] Compiling xpbsmon

Diego Vadell dvadell at lantech.com.ar
Thu Jan 19 09:39:24 MST 2006


Hi,
   This is Rocks 3.3.0 on an Opteron machine. It is the frontend, with the
development tools installed.
   What I do is untar the tarball, enter the directory torque-1.2.0p6 and
run:

./configure --prefix=/tmp/pbs-temp \
            --set-server-home=/tmp/pbs-temp/spool/PBS  --with-tclx

/tmp/pbs-temp exists and it is where I want torque to be installed. This
step gives no error related to tcl (no error at all) and it also says
"creating src/tools/xpbsmon/Makefile" and "checking Tclx library path
prefix... /usr".

Then I run "make" and I get the error:
--------------------8<-------------------8<----------------------
make[3]: Entering directory
`/export/home/admin/downloads/xpbsmon/torque-1.2.0p6/src/tools'
gcc -g -I../../src/include -I../../src/include -I/usr/include
-I/usr/include -DHAVE_CONFIG_H -c ./../scheduler.tcl/pbs_tclWrap.c
gcc -g -I../../src/include -I../../src/include -I/usr/include
-I/usr/include -DHAVE_CONFIG_H -c ./../scheduler.tcl/site_tclWrap.c
gcc -g -I../../src/include -I../../src/include -I/usr/include
-I/usr/include -DHAVE_CONFIG_H -c pbsTclInit.c
gcc -g -I../../src/include -I../../src/include -I/usr/include
-I/usr/include -DHAVE_CONFIG_H -o pbs_tclsh pbs_tclWrap.o site_tclWrap.o
pbsTclInit.o  ../lib/Liblog/liblog.a ../lib/Libcmds/libcmds.a
../lib/Libnet/libnet.a ../lib/Libpbs/libpbs.a -L/usr/lib -ltclx -ltkx
-ltcl8.3-lm -ldl -lelf
/usr/bin/ld: skipping incompatible /usr/lib/libtclx.so when searching for
-ltclx
/usr/bin/ld: cannot find -ltkx
collect2: ld returned 1 exit status
make[3]: *** [pbs_tclsh] Error 1
make[3]: Leaving directory
`/export/home/admin/downloads/xpbsmon/torque-1.2.0p6/src/tools'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/export/home/admin/downloads/xpbsmon/torque-1.2.0p6/src/tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/export/home/admin/downloads/xpbsmon/torque-1.2.0p6/src'
make: *** [all] Error 2
--------------------8<-------------------8<----------------------

So /usr/lib/libtclx.so is a 32bits library and Im compiling a 64bits one.

I'm almost sure it something with my Tcl/Tk installation. Thanks for all
the answers.

Regards,
 -- Diego.


<quote who="Bisbal, Prentice">
> What O/S are you installing on again? Is the problem occurring during
> configuration or compilation? If you can post your errors, that would
> help pinpoint the problem.
>
> Prentice
>
> -----Original Message-----
> From: torqueusers-bounces at supercluster.org
> [mailto:torqueusers-bounces at supercluster.org] On Behalf Of Diego M.
> Vadell
> Sent: Thursday, January 12, 2006 2:26 PM
> To: Bisbal, Prentice; torqueusers at supercluster.org
> Subject: Re: [torqueusers] Compiling xpbsmon
>
> Hi,
>    Thanks Prentice for the answer. For the record, it was my fault: I
> only
> tried --with-tcl  and not --with-tclx. Trying --with-tclx gives me a
> compile
> failure. I may have something wrong with my tcl/tk installation.
>
> Thanks again,
>  -- Diego.
>
> On Thursday 12 January 2006 16:18, you wrote:
>> I had no problem getting xpbs and xpbsmon to compile and install on my
>> systems (once I had all the correct tcl/tk dev libraries installed on
> my
>> systems, that is).
>>
>> >From the crudeness of the interface, I get the impression that
>>
>> xpbs/xpbsmon are no longer actively developed.
>>
>> Prentice
>>
>> -----Original Message-----
>> From: torqueusers-bounces at supercluster.org
>> [mailto:torqueusers-bounces at supercluster.org] On Behalf Of Diego
> Vadell
>> Sent: Wednesday, January 11, 2006 1:05 PM
>> To: torqueusers at supercluster.org
>> Subject: [torqueusers] Compiling xpbsmon
>>
>> Hi all,
>>    I was asked to install xpbsmon. We use Rocks and xpbsmon does not
>> come
>> with it, so I downloaded torque's sources. My idea was to compile all
>> torque and then only install xpbsmon, but however I run ./configure,
>> xpbsmon does not get compiled or installed. I tried with
>>
>> ./configure --prefix=/tmp/pbs-temp \
>> --set-server-home=/tmp/pbs-temp/spool/PBS \
>>             --with-tclx
>>
>> But when I run make and make install, xpbsmon does not get installed
> in
>> /tmp/pbs-temp . I tried also adding --enable-clients and --with-gui,
>> although I read that they were defaults. No sign of in configure's
>> output
>> that could tell me that tcl or tclx has been disabled.
>> I went to src/tools and ran make and make install there, and it worked
>> (with some minor glitches). xpbsmon *is* running now, but it let me
> with
>> a
>> bad taste in my mouth... is there an easier way of compiling torque
>> including xpbsmon? Is it that xpbsmon is no longer an active part of
>> torque (i.e. nobody is using it and nobody complains when it breaks)?
>> Are
>> there any instructions?
>>
>> I was using torque-1.2.0p6 in an x86_64 machine.
>>
>> Thanks in advance,
>>  -- Diego.
>>
>> _______________________________________________
>> torqueusers mailing list
>> torqueusers at supercluster.org
>> http://www.supercluster.org/mailman/listinfo/torqueusers
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>



More information about the torqueusers mailing list