[torqueusers] Re: torque under AIX 5.2L

torqueusers at supercluster.org torqueusers at supercluster.org
Fri Oct 15 15:17:43 MDT 2004

Sorry for the slow response, we got word back from one site that has
been using TORQUE on an AIX52 system.  He mentioned the following:

> We built it with the IBM AIX compilers (the cluster we're working on
> doesn't have GCC installed sadly), but the way we built it there was:

> export OBJECT_MODE=64
> ./configure --with-scp '--set-cflags=-g -lodm -lcfg' --disable-gui

These are the only requirements we are aware of to get TORQUE to build
on AIX52, I'm posting this to the mailing list to hopefully get some
more help from other sites that may have your same architecture.

Let us know if you have any more issues,

Cluster Resources, INC.

On Thu, 2004-10-07 at 14:15 -0400, Alan Cheng wrote:
> Hello,
> I am trying to build torue-1.1.0p2 under AIX 5.2L but am having issues with
> undefined symbols.  I am building it with gcc-3.4.1.
> gcc -g -I../include -I../../src/include -I./aix5 -DHAVE_CONFIG_H -DPBS_MOM -
> DDEMUX=\"/usr/local/sbin/pbs_demux\" -DRCP_PATH=\"/usr/local/sbin/pbs_rcp\" 
> -c ./aix5/pe_input.c
> gcc  -g -I../include -I../../src/include -I./aix5 -DHAVE_CONFIG_H -DPBS_MOM 
> -DDEMUX=\"/usr/local/sbin/pbs_demux\" -DRCP_PATH=\"/usr/local/sbin/pbs_rcp\"
>  -o pbs_mom mom_main.o mom_comm.o mom_server.o mom_inter.o attr_recov.o
> catch_child.o dis_read.o job_attr_def.o job_func.o job_recov.o list_link.o
> process_request.o prolog.o reply_send.o requests.o req_quejob.o start_exec.o
> resc_def_all.o mom_mach.o mom_start.o pe_input.o  ../lib/Libattr/libattr.a
> ../lib/Liblog/liblog.a ../lib/Libnet/libnet.a ../lib/Libpbs/libpbs.a
> ../lib/Libsite/libsite.a -ldl
> ld: 0711-224 WARNING: Duplicate symbol: pbs_current_user
> ld: 0711-341 WARNING: Replaced XTY_CM symbol pbs_current_user requires an
>         alignment more strict than the alignment of the symbol that replaces
> it.
> ld: 0711-224 WARNING: Duplicate symbol: pbs_errno
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> ld: 0711-317 ERROR: Undefined symbol: .odm_set_path
> ld: 0711-317 ERROR: Undefined symbol: .getattr
> ld: 0711-317 ERROR: Undefined symbol: odmerrno
> collect2: ld returned 8 exit status
> make[3]: *** [pbs_mom] Error 1
> make[3]: Leaving directory `/gpfs/local/src/torque-1.1.0p2/src/resmom'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/gpfs/local/src/torque-1.1.0p2/src/resmom'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/gpfs/local/src/torque-1.1.0p2/src'
> make: *** [all] Error 2
> [root at clustermgr /usr/local/src/torque-1.1.0p2]#
> *** If I use IBM C compiler, xlc, configure script would abort:
> [root at clustermgr /usr/local/src/torque-1.1.0p2]# CC=xlc ./configure
> creating cache ./config.cache
> checking host system type... powerpc-ibm-aix5.2.0.0
> checking PBS machine type... aix5
> checking for sendmail... /usr/lib/sendmail
> checking for flex... lex
> checking for yywrap in -ll... no
> checking whether ln -s works... yes
> checking whether make sets ${MAKE}... yes
> checking for ranlib... ranlib
> checking for ar... ar
> checking for bison... bison -y
> checking for the install-sh script... ./buildutils/install-sh -c
> checking for gtbl... no
> checking for tbl... tbl
> checking for gpic... no
> checking for pic... pic
> checking for groff... no
> checking for troff... troff
> checking whether make understands '.POSIX:'... yes
> checking whether make understands an initial '+'... yes
> checking for gcc... xlc
> checking whether the C compiler (xlc  ) works... no
> configure: error: installation or configuration problem: C compiler cannot
> create executables.
> [root at clustermgr /usr/local/src/torque-1.1.0p2]#
> Please help.
> Thanks,
> Alan Cheng
> Institute for Advanced Study
> Einstein Drive
> Princeton, NJ 08540
> (609) 734-8169

More information about the torqueusers mailing list