Hi,
We recently migrated the DS parallel server from Linux to Sun Solaris machine.
Issues faced were
1. need to compile every DS object and c++ code. Is there any other way out?
2. The jobs that refer to custom routines is having problem during execution. we used g++ compler on linux to compile cc code. after we moved to sun the same were recompiled in CC [APT_COMPILER and APT_LINKER point to CC path]? Why idea why?
Transformer_3: Failed to load the library "V0S3_testcompare_Transformer_3.so"; either the directory containing the library file
is not on the library search path, or the library was compiled on a system
that is incompatible with this system: Could not load "V0S3_testcompare_Transformer_3": ld.so.1: osh: fatal: relocation error: file /ETL_PROJECTS/TRAINING/RT_BP34.O/V0S3_testcompare_Transformer_3.so: symbol __1cHcompare6Fpc0_W_: referenced symbol not found.
Linux to Sun migration
Moderators: chulett, rschirm, roy
Although server object code is portable the same does not apply to any c++ objects or PX jobs.
Step (1) is necessary
Step (2) means you need to recompile and bind your object library for customer routines
Step (3) looks like missing object code.
Did you do a FORCE recompile?
Step (1) is necessary
Step (2) means you need to recompile and bind your object library for customer routines
Step (3) looks like missing object code.
Did you do a FORCE recompile?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
1. I compiled the cc code as CC -G -o XX.so XX.ccArndW wrote:Although server object code is portable the same does not apply to any c++ objects or PX jobs.
Step (1) is necessary
Step (2) means you need to recompile and bind your object library for customer routines
Step (3) looks like missing object code.
Did you do a FORCE recompile?
2. COMPILED job
Found the reason.
In Linux like mentioned earlier the cc code was compiled in g++. The return value of the funtion is INT. But in the routine, the return value was mentioned as CHAR. This worked fine in the LINUX env.
But when we moved to SUN, and recomplied the cc code in CC, I had to change to return type in the routine to be INT (same as in the code); for the jobs to work