Operating System - HP-UX
1826341 Members
4051 Online
109692 Solutions
New Discussion

PA-RISC to Itaniun questions

 
SOLVED
Go to solution
JUP
Regular Advisor

PA-RISC to Itaniun questions

Hi all,

We are about to port our PA-RISC (HP 9000/803, HP-UX 11.00E) application to Itanium.

The application is written in a combination both C (CC) and Fortran (F90). The C compiler we used on the RISC was the one that came bundled with the operating system. We purchased F90 for the RISC.

We have purchased an Itanium system to start development on the ported application.

I have the following questions:

1. I believe we need to purchase a seperate C compiler as the Itanium does not come with the full compiler. Is that correct and if so is there a particular compiler I should purchase to compile our application ?. Would the C++ compiler suffice even though we have no C++ code ?

2. Is F90 supported on the Itanium. The HP sites just refer to Fortran compiler, not specifically Fortran 90 for the Itaniums.

3. We have been using the operating system debugger. Does this debugger come with the Itanium, C or the Fortran compilers, or do we need to purchase a licence seperately for the debugger.

I would appreciate some advice.

Thanks in advance
JUP
14 REPLIES 14
Steven E. Protter
Exalted Contributor

Re: PA-RISC to Itaniun questions

1) If you got it working on one platform with cc then you should be able to get it working on the other the same way. If you purchased ansi/c for itanium you'll need it for pa-risc and vice versa. The license rules as far as I know are the same on both platforms.

2)If the fortran compiler came from HP there probably is a PA-RISC version. check the notes in software.hp.com

3)What debugger. HP-UX v1 is a little different that HP-UX v2 for Itanium. They do have the same basic feature set. If you use HP-UX v2 for PA-RISC you should note little difference between your Itanium server and your HP-9000 server.

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
Trond Haugen
Honored Contributor

Re: PA-RISC to Itaniun questions

1. With regards to the C compiler I can tell you that your PA system didn't come with a full compiler ether.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
JUP
Regular Advisor

Re: PA-RISC to Itaniun questions

Thanks for your replies.

What does aCPP and aC refer to - does it mean Ansi CPP and Ansi C ?

Also can someone confirm if the Itanium operating system comes with a fully fledged C compiler (ie. cc) ? We have network routines, shared memory and file routines in our applications to build. Do I need to purchase a seperate compiler for this. HP have not been able to help.

Thanks again
JUP
H.Merijn Brand (procura
Honored Contributor

Re: PA-RISC to Itaniun questions

And since the C++ compiler is quite a bit more expensive than HP's C-ANSI-C compiler, don't buy the C++ version if you are not going to use it.

We bought the C-ANSI-C compiler, which still outperforms GNU's gcc for the generated object files (programs)

GNU gcc is free however, and comes with a C++ compiler. Look in the HP archives for the latest version ( http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.4.2/ )

If you get that, install it, and use it to rebuild GNU gcc from the source files ( ftp://ftp.nluug.nl/mirror/languages/gcc/releases/ ), you can specify to also build a fortran compiler

... --languages=c,c++,fortran ...

all for free

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
G. Vrijhoeven
Honored Contributor

Re: PA-RISC to Itaniun questions

Hi Jup,

Here is a link to "HP's" software and a price overview:

http://software.hp.com/portal/swdepot/searchProducts.do

Regards,

Gideon
JUP
Regular Advisor

Re: PA-RISC to Itaniun questions

Thanks.

I think I will need to buy the C-ANSI-C compiler as our code base is very large and it compiles well on the PA-RISC with cc, so I don't really like to take a chance with another compiler.

So is there a version number or reference for the C-ANSI-C compiler that is required for the Itaniums ?

Thanks again
JUP
Zygmunt Krawczyk
Honored Contributor

Re: PA-RISC to Itaniun questions

Hi,

1) On Itanium (HP-UX 11.23) the HP ANSI C and HP ANSI C++ are actually
the same compiler, but still distributed as separate software bundles.
I recommend use ANSI C++ compiler (aCC). The aCC compiler can work
as ANSI C mode also (aCC -Ae). I think, that in the near future only one
compiler will be distributed - ANSI C++. You will reach the best performance
on Itanium HP-UX by using HP ANSI C++.

The product number is:
B3913DB HP aC++ LTU for Servers

Read the docs:
HP aC++/HP C Programmerâ s Guide
http://www.docs.hp.com/hpux/pdf/B3901-90017.pdf

HP aC++/HP ANSI C Release Notes
http://www.docs.hp.com/hpux/pdf/5990-8187.pdf

2) The HP Fortran compiller is fully supported on Itanium HP-UX.

The product number is:
B3909DB HP Fortran LTU for servers

Read the doc:
HP Fortran Programmer's Guide
http://www.docs.hp.com/hpux/pdf/B3909-90014.pdf

HP Fortran v2.8
for HP-UX 11.0/11i v1 and 11i v2
Release Note
http://www.docs.hp.com/hpux/pdf/5990-6773.pdf


3) On Itanium machine debuggers are the same.

On Itanium HP-UX you can also use a performance analyzer - HP Caliper (free of charge)
Read the docs:
HP Caliper User Guide
http://www.docs.hp.com/hpux/pdf/5991-0649.pdf

HP Caliper 3.6 Release Notes
http://www.docs.hp.com/hpux/pdf/5991-0650.pdf

If your application is numeric sensitive, you will be interested probably
in HP MLIB - see the link:
http://www.hp.com/go/mlib

and read the doc:
HP MLIB User's Guide
http://www.docs.hp.com/hpux/pdf/B6061-96017.pdf

HP MLIB Version 8.6 Release Note
http://www.docs.hp.com/hpux/pdf/B6061-96026.pdf

HP MLIB is included in HP-UX TCOE.

The product numbers for Itanium compilers are the same, as for PA-RISC.
You should use the correct DVD Application media for Itanium.
You should buy the compiler licenses and the Application media:
B8480AA Application DVD media for HP-UX 11i v2

Regards,
Zygmun
Gregory Fruth
Esteemed Contributor

Re: PA-RISC to Itaniun questions

1) PA-RISC machines don't come with a full
ANSI C compiler, either. Itaniums are no
different. You probably want the "ANSI C
Developer's Bundle" or somesuch. The C
compiler from a PA-RISC machine won't work
on an Itanium AFAIK.

2) HP Fortran is currently Fortran95. The
command name is still "f90", however. HP
Fortran is available on both PA-RISC and
Itanium.

3) Which "operating system debugger"? On
PA-RISC the standard debugger from HP is
wdb/gdb/vdb, which obsoleted dde, which
obsoleted xdb. On Itanium the only
debugger available from HP is wdb/gdb/vdb.
You can also use the GNU gdb/ddd/etc. on
either platform if you want.
Ted Buis
Honored Contributor

Re: PA-RISC to Itaniun questions

The pa-risc system came with a limited C-complier, just enough to compile the kernel. I would think that the Itanium systems would also have this limited compile capability to it's kernel. However, there is no debug capability. If you code is old K&R C, then you might have to be careful with an ANSI C compiler. F90 is the only FORTRAN for either HP-UX architecture.
The development tools come with the compilers and can be downloaded from software.hp.com for free.
Mom 6
JUP
Regular Advisor

Re: PA-RISC to Itaniun questions

Thanks everyone for their replies.

I don't believe we puchased a seperate C compiler for the PA-RISC but were still able to compile and build our C programs.

Ted Buis
Honored Contributor

Re: PA-RISC to Itaniun questions

Do a swlist on your pa-risc system and see what is loaded. If you see ANSI C then you have the one that comes at additional cost.
Post the output of swlist here if you have any doubt.
Mom 6
JUP
Regular Advisor

Re: PA-RISC to Itaniun questions

Thanks Ted - swlist attached.

Any comments appreciatd.

Ted Buis
Honored Contributor
Solution

Re: PA-RISC to Itaniun questions

B3901BA B.11.01.01 HP C/ANSI C Developer's Bundle for HP-UX11.00 (S800)

There it is. That is the one that you have to purchase. The part number is B3901BA and you will need option 2AH if I remember correctly for each CPU on your new system. However, you might want to talk to your HP rep about transfering the license from your existing system to the new system if you no longer need it on the existing system. If you are under software support for the B3901BA, then that could be possible to transfer the license on a one-for-one basis, old CPU count to new CPU count. If not, you definitely need to re-purchase it. Should be true for Fortran also.
Mom 6
JUP
Regular Advisor

Re: PA-RISC to Itaniun questions

Thanks again Ted.