Error Compiling Parallel Transformer

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
parameswar
Premium Member
Premium Member
Posts: 66
Joined: Sun Apr 08, 2007 12:34 pm

Error Compiling Parallel Transformer

Post by parameswar »

Hi All,
I have created a c++ program which does sum of two number. I created object file from it and created parallel routine. I am calling this from datastage job.
While I am compiling the Job , getting following error.

##I TFSC 000001 16:54:36(006) <main_program> APT configuration file: /dspx00/Ascential/DataStage/Configurations/dimdevconfig.apt
##W TCOS 000049 16:54:37(000) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E TBLD 000000 16:54:44(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256.
##E TFSR 000019 16:54:44(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 16:54:44(002) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##W TBLD 000000 16:54:44(003) <main_program> Error when checking composite operator: Output from subprocess: ld: Can't find library or mismatched ABI for -lorchhpia64
Fatal error.

##I TFCP 000000 16:54:44(004) <transform> Error when checking composite operator: /opt/aCC/bin/aCC -L/dspx00/Ascential/DataStage/Projects/DIMDevt/RT_BP1676.O/ -L/dspx00/Ascential/DataStage/PXEngine/lib -L/dspx00/Ascential/DataStage/PXEngine/user_lib +DD64 -b -Wl,+s -Wl,+vnocompatwarnings -lorchhpia64 -lorchcorehpia64 -lorchbuildophpia64 /home/paroah/Psh/sum.o /dspx00/Ascential/DataStage/Projects/DIMDevt/RT_BP1676.O/V0S3_TestRoutine_XfmField.tmp.o -o /dspx00/Ascential/DataStage/Projects/DIMDevt/RT_BP1676.O/V0S3_TestRoutine_XfmField.so.
##E TCOS 000029 16:54:44(005) <main_program> Creation of a step finished with status = FAILED. (TestRoutine.XfmField)

Can anybody help if I am missing any parameters .

Regards,
Param
michaeld
Premium Member
Premium Member
Posts: 88
Joined: Tue Apr 04, 2006 8:42 am
Location: Toronto, Canada

Post by michaeld »

What options did you compile your C++ routine with?

I had a similar problem before and it was resolved when I recompiled without any extended compilation options. (not the datastage job, but the routine itself).
Mike
parameswar
Premium Member
Premium Member
Posts: 66
Joined: Sun Apr 08, 2007 12:34 pm

Post by parameswar »

michaeld wrote:What options did you compile your C++ routine with?

I had a similar problem before and it was resolved when I recompiled without any extended compilation options. (not the datastage job, but the routine itself).
Hi Michaeld,

I am using the following command to compile c++ routine:
/opt/aCC/bin/aCC -O +z -c Sum.c -o sum.o



Regards,
Param
parameswar
Premium Member
Premium Member
Posts: 66
Joined: Sun Apr 08, 2007 12:34 pm

Post by parameswar »

parameswar wrote:
michaeld wrote:What options did you compile your C++ routine with?

I had a similar problem before and it was resolved when I recompiled without any extended compilation options. (not the datastage job, but the routine itself).
Hi Michaeld,

I am using the following command to compile c++ routine:
/opt/aCC/bin/aCC -O +z -c Sum.c -o sum.o


Regards,
Param
Option Should be +DD64, Since it is Itanium server.
Command looks like this:
$aCC +DD64 Sum.c
Post Reply