1834599 Members
3970 Online
110069 Solutions
New Discussion

PA 2.0 or PA 1.X ??

 
SOLVED
Go to solution
Randy_9
Regular Advisor

PA 2.0 or PA 1.X ??

How do I determine the architecture level?.
And to determine a compilers upgrade history,
would I do so by listing all the compiler
patches which list the compiler versions, and
via the swinstall.log file?.

Thanks,

Randy
6 REPLIES 6
Patrick Wallek
Honored Contributor
Solution

Re: PA 2.0 or PA 1.X ??

You can go into SAM -> PERFORMANCE MONITORS -> SYSTEM PROPERTIES and look at the CPU Version.
S.K. Chan
Honored Contributor

Re: PA 2.0 or PA 1.X ??

Example ( on a B2000 )
# model
9000/785/B2000
# cd /usr/sam/lib/mo
# grep B2000 sched.models
B2000 2.0 PA8500

Helen French
Honored Contributor

Re: PA 2.0 or PA 1.X ??

Hi,

You can look at the swinstall.log file. Also swlist -lfileset.

For PA RISC level, SAM->Performance monitors -> system properties -> Processor

Also look at STM

HTH,
Shiju
Life is a promise, fulfill it!
Steven Gillard_2
Honored Contributor

Re: PA 2.0 or PA 1.X ??

Run the 'model' command, then have a look at the /opt/langtools/lib/sched.models file for your model - it will tell you what PARISC version you're on.

To view your compilers patch history, try this:

# swlist -l patch

Eg for aCC:

# swlist -l patch ACXX

Regards,
Steve
A. Clay Stephenson
Acclaimed Contributor

Re: PA 2.0 or PA 1.X ??

Hi:

If you are trying to create code that will run on all (well, most) HP platforms then your best option is to use the +DAportable compiler option. While this will sacrifice some performance on the high-end boxes, you will be able to run on a broader equipment range. Because the vast majority of UNIX programs are not CPU bound or computationally intensive the performance hit will be very small.

If you are doing CAD/CAM/analysis work and performance is a major concern then compiling for the different architectures makes sense.

Food for thought, Clay

If it ain't broke, I can fix that.
Randy_9
Regular Advisor

Re: PA 2.0 or PA 1.X ??

It always amazes me what a fantastic tool
this is, that I can throw a question out there
and get an answer (and then some)just like that!. Great answers everybody, and thank you
very much. I will assign those points now!

Randy