Operating System - HP-UX
1833883 Members
1714 Online
110063 Solutions
New Discussion

Re: Same code running on both PA-RISC and Itanium

 
SOLVED
Go to solution
Wendy_4
Frequent Advisor

Same code running on both PA-RISC and Itanium

Hi,

We need to run the same code on both PA-RISC and Itanium. Currently we have C3XXX workstation and running HP-UX 11i v1.

As I was told we need to upgrade OS to HP-UX v2 TCOE on both PA-RISC and Itanium then we can use the same code to compile on different processor.

But I heard again that C3xxx and c8000 workstation does not support HP-UX v2! What can we do then to use same code base?

I need answer as soon as possible!
Thanks a lot!
Wendy
14 REPLIES 14
Dennis Handly
Acclaimed Contributor

Re: Same code running on both PA-RISC and Itanium

Code running under 11.11 should run under 11.23 IPF under Aries. CPU bound applications would be much slower.

If you recompile for IPF, that would be best. If your code is portable and meets the standards and only uses features from 11.11, you should be able to compile and run on each architecture. (Is this C or C++ code?)
Wendy_4
Frequent Advisor

Re: Same code running on both PA-RISC and Itanium

Hi Dennis,

We develop and sell application based on HP-UX 11i v1 on PA-RISC. We heard that PA-RISC will be out of market soon. We need to move on Itanium, but at the same time we should support existing PA-RISC.

Our goal is to use same code base including same environment setting for both PA-RISC and Itanium. We need to make a decision are we going to move on HP-UX v2 for PA-RISC or keep v1 for PA-RISC and v2 for Itanium.

Please give me some suggestion. What is IPF anyway? Since we are selling software, we can't use Aries since the performance is not good.

Thanks,
Wendy

Dennis Handly
Acclaimed Contributor

Re: Same code running on both PA-RISC and Itanium

Do you have a contact with SAE?

>Our goal is to use same code base including same environment setting for both PA-RISC and Itanium. We need to make a decision are we going to move on HP-UX v2 for PA-RISC or keep v1 for PA-RISC and v2 for Itanium.

I'm not sure what they would recommend.

>What is IPF anyway?

Integrity

>Since we are selling software, we can't use Aries since the performance is not good.

I'm glad you already know that. :-)
Wendy_4
Frequent Advisor

Re: Same code running on both PA-RISC and Itanium

Hi Dennis,

What is SAE then? We are going to purchase HP machines these days but it's very hard to get help from HP. Today I was being towed around on the phone for more than half an hour, then the phone was disconnected, sharply at time when they should go home. :-)

Thanks,
Wendy
Dennis Handly
Acclaimed Contributor

Re: Same code running on both PA-RISC and Itanium

>What is SAE then?

Solution Alliances Engineering, one group that works with ISVs.

You should also look at the DSPP pages:
http://www.hp.com/dspp/
Wendy_4
Frequent Advisor

Re: Same code running on both PA-RISC and Itanium

Hi Dennis,

Do you mean we should get help from HP vendor, they should have connection with SAE?

Thanks,
Wendy
Dennis Handly
Acclaimed Contributor
Solution

Re: Same code running on both PA-RISC and Itanium

>Do you mean we should get help from HP vendor, they should have connection with SAE?

SAE works directly with the top ISVs. Take a look at the DSPP page to see if there is something for you. Perhaps a contact where you can ask these questions related to your business.
Wendy_4
Frequent Advisor

Re: Same code running on both PA-RISC and Itanium

Thanks Dannis,

I just registed as a DSPP company member. I'll find out how to get help from SAE tomorrow.

Thanks,
Wendy
Dennis Handly
Acclaimed Contributor

Re: Same code running on both PA-RISC and Itanium

>I'll find out how to get help from SAE tomorrow.

You may want to talk to DSPP first or look at what they offer.
OldSchool
Honored Contributor

Re: Same code running on both PA-RISC and Itanium

you may want to review your previous post, especially the last 2 or 3 responses

https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1093886
A. Clay Stephenson
Acclaimed Contributor

Re: Same code running on both PA-RISC and Itanium

While I would certainly prefer to port the source code to IPF, don't dismiss ARIES out of hand because of poor performance. It is certainly true that the CPU-bound sections of your code will take a 3-6x performance hit as opposed to native code. In many case, the newer Itanium boxes are so much faster than older PA-RISC boxes that the overall performance is no worse. In fact, the vast majority of UNIX code is i/o bound rather than CPU bound so that the actual performance differences may be very small. So the answer to your question is "it depends". Obviously, if you are doing CPU-intensive tasks such as finite element analysis then you need all the CPU throughput that you can muster and ARIES is not an option.
If it ain't broke, I can fix that.
Wendy_4
Frequent Advisor

Re: Same code running on both PA-RISC and Itanium

Thanks all for your help!

We'll user HP-UX v2 on Itanium. I know we need to change aC++ option. But I'm not sure should we upgrade HP-UX v1 on PA-RISC to v2?

Please give me advice.
Thanks,
Wendy
Mark Schafer_2
Advisor

Re: Same code running on both PA-RISC and Itanium

Wendy,

DSPP company members may get help just by emailing dspp.dev at hp.com

Please include your company name.

Thank you,

Mark Schafer
Hewlett-Packard Company
200 Forest St., MRO1-3/K12
Marlboro, MA 01752
508.467.3524

hp developer & solution partner program
800.249.3294
http://www.hp.com/dspp
Emil Velez
Honored Contributor

Re: Same code running on both PA-RISC and Itanium

It really depends on what your code does. In most cases executibles written well will run across multiple versions of HPUX and between PA Risc and Itanium. Aries is the compatibility mode that PA risc executibles use to run on Itanium. A intersting thing to realize is if you look at a Itanium system running 11.23 many of the executibles on the box are PA risc executibles running on a Itanium box. Executibles do not have to be recompiled. It really depends on what libraries your application uses and whether they were recompiled. IF you recompile for IA64 the code will run a bit faster and be optimized for the chip architecture but the application should run without recompiling between the platforms.

check out http://www.hp.com/products1/evolution/9000/

Check out
http://www.hp.com/products1/evolution/9000/faqs.html#4

check out
http://devresource.hp.com/drc/STK/PA_Integrity.jsp

I hope this helps