1847474 Members
2835 Online
110265 Solutions
New Discussion

purify on Itanium

 
Nyck_1
Super Advisor

purify on Itanium

I have been told by IBM that purify is available to Itanium but its not tested/supported on dual core. Has anyone out there used purify on a dual core itanium and if so does it work ok?
24 REPLIES 24
F Verschuren
Esteemed Contributor

Re: purify on Itanium

we do not use it but maybe there is some more info on:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1153407
Nyck_1
Super Advisor

Re: purify on Itanium

Thats my original thread from many moons ago:-)

I can go ahead and install it but I want to be sure that it will not crash my main development server once its being used!
Steven E. Protter
Exalted Contributor

Re: purify on Itanium

Shalom,

If it works on Itanium at all, dual core will not be an issue. IBM is being a little anal here.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: purify on Itanium

>SEP: If it works on Itanium at all, dual core will not be an issue. IBM is being a little anal here.

That came up before and that was our conclusion. It may make more sense if hyperthreading was involved.
Peter Nikitka
Honored Contributor

Re: purify on Itanium

Hi,

the Interim Fix 7.0.0.0-010 has support for HP on Itanium.

ftp://ftp.software.ibm.com/software/rational/private/pplusu-LJfG9yhjSvzR/PurifyPlus-7.0.0.0-010-release-notes.html

I don't know, if this a public available URL, however.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Nyck_1
Super Advisor

Re: purify on Itanium

That is the one I have just installed on our itanium server and the install went fine. So its now handed over to the development guys to see if it works!
Nyck_1
Super Advisor

Re: purify on Itanium

Well I installed purify yesterday and the developers gave it a whirl and it core dumped with the following:-

Missing BranchOut in Function at 0x4000000000E9A620
Address : 40000000012C1FC0
Missing BranchOut in Function at 0x4000000000E9A620
Address : 40000000012C2180
.....Unhandled indirect branch at 400000000120F368
......./opt/PurifyPlus/releases/purify.hpia.7.0.0.0-010/purify.sh[942]: 20478 Memory fault

Does this ring any bells?
Peter Nikitka
Honored Contributor

Re: purify on Itanium

Hi,

did they use a compiler, which is supported by Purify-7.0.0.0-10 - use the Release Notes.

And: raise a call at Rational!

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Nyck_1
Super Advisor

Re: purify on Itanium

I'm looking to see which compiler they are using as the release notes mention that it has to be a certain level. Also purify is not actually supported on dual core itanium servers, so not too sure if i will get much help there.
Dennis Handly
Acclaimed Contributor

Re: purify on Itanium

>Also purify is not actually supported on dual core Itanium servers, so not too sure if i will get much help there.

I would ignore this part, you haven't even gotten to running it yet.
Nyck_1
Super Advisor

Re: purify on Itanium

I have a contact at IBM who is going to help me out with this purify issue. I will let you know the solution.

I personally now believe that its probably the version of compiler we have on that server, its quite an old one.
zang_1
Advisor

Re: purify on Itanium

Hi, I also try to use Purify on Dual Core Itanium, I installed it and it is successful for Purify Examples.
But when I try to compile my project as below, the system is hangup, I have to shutdown my HP server by power button, does anyone give me some advise? Here is my command:

purify cc -g -Ae -Y +Olit=none +wlint +DSitanium -Dhpux -o myproj.o myproj.c

purify cc myproj.o -L/opt/oracle/product/10.2.0/db/lib32 -lclntsh -o myproj

Instrumenting: myproj
libclntsh.so.10.1........................

zang_1
Advisor

Re: purify on Itanium

>I have a contact at IBM who is going to >help me out with this purify issue. I will >let you know the solution.
Hi, did you get any answer?
Dennis Handly
Acclaimed Contributor

Re: purify on Itanium

>I try to compile my project as below, the system is hangup

I've had purify run over 24 hours before I killed it. Did you try kill then kill -9?

I assume you know that you can use +check= to check array bounds and heap corruption?
Nyck_1
Super Advisor

Re: purify on Itanium

I'm still awaiting a response from IBM, they are doing this as a favour so it might take a little longer. As soon as I get an answer I will let you know!
zang_1
Advisor

Re: purify on Itanium

>I've had purify run over 24 hours before I >killed it. Did you try kill then kill -9?
You are lucky!
I can't login even as root, I have to reboot it.

>I assume you know that you can use +check= >to check array bounds and heap corruption?
What do you mean?
The hangup was not happened when I run myapp, it was happened when I built myapp suing purify.

Now I got a method by build time options as below:
-selective -exclude-libs=libclntsh.so.10.1
zang_1
Advisor

Re: purify on Itanium

By the way, I am working on
Intel Itanium 2 Dual Core
HP-UX 11i v3(11.32)
B3910B.A.06.15 compiler
B.12.43 linker ld
Oracle 10gR2(10.2.0.4.0)
Dennis Handly
Acclaimed Contributor

Re: purify on Itanium

>I can't login even as root, I have to reboot it.

You need to monitor it with top to see what's going wrong. Are you out of swapspace?

>What do you mean?

Instead of using purify, you can compile with +check=.

>A.06.15

You can patch up to A.06.17, PHSS_37950.
zang_1
Advisor

Re: purify on Itanium

>You need to monitor it with top to see >what's going wrong. Are you out of >swapspace?
I gor the reason, as no more memory.

>Instead of using purify, you can compile >with +check=.
I am not sure about this option, I will check it, you mean they have similar function?

>You can patch up to A.06.17, PHSS_37950.
Thanks a lot, I will try.

By the way, I run my app, I got a core dump as below:
in x_pure_change_sp+0 /purify.hpia.7.0.0-010/lib32/librtlib.so
....
in EM_mark_BOS+0x50 /usr/lib/hpux32/dld.so

Do you have any suggestion about this core dump?
Dennis Handly
Acclaimed Contributor

Re: purify on Itanium

>zang I got the reason, as no more memory.

That will do it.

>I will check it, you mean they have similar function?

Yes.

>I got a core dump as below:
>x_pure_change_sp+0 /purify.hpia.7.0.0-010/lib32/librtlib.so
>Do you have any suggestion about this core dump?

Were there any error messages before this?
Otherwise you'll need to talk to IBM.
Nyck_1
Super Advisor

Re: purify on Itanium

IBM came back yesterday with the following:-

We don't support instrumenting Oracle client library libclntsh.so on HP-UX Itanium.

Please try to "exclude" this library by including the following option at the command line (change the library path appropriately):
-selective=yes -exclude-libs=/home/oracle/product/10.2.0/lib/libclntsh.so.10.1

Also they said that our compiler is the wrong version:-

[~]% aCC -V
aCC: HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005]
This version of aCC (6.05) is also not supported. That is to say, even after excluding the Oracle library, you may run into issues caused by this compiler version. Please try and upgrade to aCC 6.10, if possible.

How do I get the compiler up to 6.10, is this a patch?
Dennis Handly
Acclaimed Contributor

Re: purify on Itanium

>How do I get the compiler up to A.06.10, is this a patch?

You don't, that's obsolete.
A.06.10, A.06.15 and A.06.20 are new releases. You must purchase them or have a support contract so you can update to the latest.
These is a evaluation version available.
http://www.hp.com/go/cpp
Nyck_1
Super Advisor

Re: purify on Itanium

Thats what I thought, for some reason we need to use 6.05 as that is our certified version, I have told the developers many times that we need to have much newer versions!

I tried to download a newer version via DSPP and my account does not allow me to do so anymore!

I will try that eval one you mention!
Nyck_1
Super Advisor

Re: purify on Itanium

IBM have given me the following purify release which hopefully will resolve our issue:-

Product: Rational PurifyPlus for Linux and UNIX
Platforms: HP-UX 11 IA-64
Version: 7.0.0.0 Build/ID: 010.P
Type: Limited Availability Interim Fix (LA iFix)
Note: FTP access expires on August 1, 2009 at 07:24 (GMT).

Description, including fixed defects:
RATLC01232936: Purify Segmentation Fault on HP Itanium
RATLC01055649: Purify instrumentation error with Oracle Library, libclntsh.sl on HP-UX 11.11 (64-bit)

If it works I will let u know