Operating System - HP-UX
1829115 Members
12892 Online
109986 Solutions
New Discussion

Itainium - RISC HPUX 11i v1 C Code question

 
SOLVED
Go to solution
James M. Dunn
Frequent Advisor

Itainium - RISC HPUX 11i v1 C Code question

A little history first.

I'm current running an application that has some old C code on it, this code works on 11i v1. The server is RISC and the sorce code is no longer available (vendor has lost it) in any case I need to buy a new server that can run HPUX 11i v1, I'd like to buy an Itanium server and run HPUX 11i v1.

Will C code that was compiled on RISC HPUX 11i v1 run on an Itanium 11i v1?

Any thoughts?
12 REPLIES 12
James R. Ferguson
Acclaimed Contributor

Re: Itainium - RISC HPUX 11i v1 C Code question

Hi James:

> Will C code that was compiled on RISC HPUX 11i v1 run on an Itanium 11i v1?

Well, first, Itanium platforms do not run 11iv1 (11.11). They ONLY run 11.23 (11iv2) or 11.31 (11iv3).

That said, yes, your PA-RISC C-code (if well-bahanved = not kernel intrusive) will run on an Itanium server using ARIES:

http://docs.hp.com/en/B3921-60631/ARIES.5.html

Regards!

...JRF...
James M. Dunn
Frequent Advisor

Re: Itainium - RISC HPUX 11i v1 C Code question

james

Thanks FOR YELLING!

and the INFO you Provided!
Torsten.
Acclaimed Contributor

Re: Itainium - RISC HPUX 11i v1 C Code question

James, if you think you still need a server that can run 11.11 (11iv1), have a look at the current HP9000 family:

http://www.hp.com/products1/servers/HP9000_family_overview.html

Anyway, an Integrity with aries could be a solution too.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor
Solution

Re: Itainium - RISC HPUX 11i v1 C Code question

Hi (again) James:

> james Thanks FOR YELLING!

...well, the "ONLY" was for meant for emphasis...and the "ARIES" case was to signify an acronym (which it is).

:-))

Regards!

...JRF...

James M. Dunn
Frequent Advisor

Re: Itainium - RISC HPUX 11i v1 C Code question

Umm thanks for the link.

This C code is used to comunicate with a HP Non Stop server. The code has been working on 10.20, 11.0, 11i v1, my wish is to move to Itanium and get off the RP7420 its sitting on now.

since I dont know if it will work on a Itanuim without testing it on a server, I thought I would ask the forum about portability of C code from RISC to Itanium.

Unfortunately for me I worded the question wrong and I'm receiving answers in CAP's.

Re: Itainium - RISC HPUX 11i v1 C Code question

James,

Generally code portability is pretty good, but without knowing the specifics of your application it's difficult to say.

I'd start by reviewing the material in the Software Transition Kit (STK)

http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=bdbdf58743935110VgnVCM100000275d6e10RCRD

And make sure you look at the binaryScan tool which might help qualify how easy/hard the transition will be:

http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=3db726604c695110VgnVCM100000275d6e10RCRD

HTH

Duncan

I am an HPE Employee
Accept or Kudo

Re: Itainium - RISC HPUX 11i v1 C Code question

... and then I read your inital post again and noted that you've not got the source code...

In that situation ARIES (sorry about the CAPSQ!) is the only way to go.

Regards,

Duncan

I am an HPE Employee
Accept or Kudo
James M. Dunn
Frequent Advisor

Re: Itainium - RISC HPUX 11i v1 C Code question

http://h21007.www2.hp.com/portal/site/dspp/PAGE.template/page.document?ciid=3db726604c695110VgnVCM100000275d6e10RCRD

huh the download page is blank,

darn it.

I sent a message to HP, they will contact me in 3 days, time to open a ticket i guess.
rick jones
Honored Contributor

Re: Itainium - RISC HPUX 11i v1 C Code question

Well, some Itaniums ran 11i v1.5 (11.20) and 11i v1.6 (11.22), but neither of those are supported any longer :) Regardless, it is indeed the case that the HP-UX 11i v1 Operating System/kernel will not run on an Itanium system.

As already pointed-out, one can execute HP-UX PA-RISC binaries on HP-UX Integrity (aka Itanium) systems. Also, I suspect that if the code has been on 10.20, 11.0 and 11.11 the source code would likely port to HP-UX Integrity rather easily - likely as not just a simple matter of recompilation.
there is no rest for the wicked yet the virtuous have no pillows
James M. Dunn
Frequent Advisor

Re: Itainium - RISC HPUX 11i v1 C Code question

/opt/binaryscan/binaryscan -o text /tmp/callcti.sl
/opt/binaryscan/.binaryscan: Cannot open /usr/lib/libCTI.sl (No such file or directory)
*****************************************
*
* binaryScan
* Summary Report
*
*****************************************

Date: Thu May 22 11:22:58 2008
OS Version: ush12, HP-UX B.11.11 U, 9000/800
Scanner Version: binaryScan V3.0
Database Used: pa_ipf.db
Shared Library Autoscan: YES

Reported Dispositions:
Migration Environment
Not Documented
No Information
Non-critical Change
Critical Change
Not Going Forward

*****************************************
*
* Scan Summary :
*
*****************************************


Count of dispositions for /tmp/callcti.sl:

0 -- Migration Environment
0 -- Not Documented
0 -- No Information
0 -- Non-critical Change
0 -- Critical Change
0 -- Not Going Forward


I take that this output means its portable...

Re: Itainium - RISC HPUX 11i v1 C Code question

Afraid I know where the tool is, but not how to interperet its output.

I note that the binary you are checking is a shared lib... do you call that shared lib from other code of yours that you intend to port to Itanium?

The reason I ask is that what ARIES will *not* allow you to do is call a PA-RISC shared library from a IA64 executable. The executable would have to stay on PA-RISC as well.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Dennis Handly
Acclaimed Contributor

Re: Itainium - RISC HPUX 11i v1 C Code question

For more info about Aries see:
http://www.hp.com/go/aries

>Duncan: what ARIES will *not* allow you to do is call a PA-RISC shared library from a IA64 executable. The executable would have to stay on PA-RISC as well.

What Duncan means is that the whole application would have to be left as-is and the whole thing copied to your new Integrity box.