1834191 Members
2531 Online
110064 Solutions
New Discussion

Fortran on HP-UX

 
SOLVED
Go to solution
Shivakumar_3
Advisor

Fortran on HP-UX

Hello Everybody,
Does HP-UX support fortran?If yes which version fortran77 or fortran90.I have fortran programs written in fortran77 will it compile in HP-UX without any modification?
7 REPLIES 7
Indira Aramandla
Honored Contributor
Solution

Re: Fortran on HP-UX

Hi Shiva,

HP FORTRAN 77 v1.2 is supported on HP9000 Series 700/800 hardware running the HP-UX 10.20 operating system. HP FORTRAN 77 v1.2 recommends that HP-UX version 10.20 be installed.

You can install HP FORTRAN 77 v1.2 after loading the HP-UX 10.20 operating system. To install your software, run the SD-UX swinstall command. It invokes a user interface that leads you through the installation process and give you information about product size, version numbers, and dependencies.

The HP FORTRAN 77 compiler requires approximately 46 megabytes (MB) of disk space. This includes approximately 16 MB for the compiler, with remaining space for other components such as HP/PAK.

The HP FORTRAN 90 bundle provides the tools for compiling, linking, and debugging FORTRAN 90 programs. This bundle is intended for machines running HP-UX 11.00, 11i version 1, and 11i version 2.

Tools included in the bundle are:
HP FORTRAN 90 Compiler
HP WDB debugger (HP-supported version of Gnu GDB debugger)
HP/DDE debugger

IA
Never give up, Keep Trying
Indira Aramandla
Honored Contributor

Re: Fortran on HP-UX

Shiva,

Here's more.

HP Fortran 90 v2.4 for HP-UX 10.20 and 11.x provides a common sourcebase for both HP-UX operating systems. This release of the compiler corrects runtime defects as well as improves buildtime performance. New features have been added to enhance the performance of the compiler on both PA-RISC 1.1 and 2.0
HP Fortran 90 v2.4 for HP-UX 10.20 and 11.x consists of a common sourcebase of HP Fortran 90 for both operating systems. The Fortran 90 compiler for HP-UX 11.x has been backported to run on HP-UX 10.20.
Note that HP Fortran 90 for HP-UX 10.20 does not support parallelism (including parallel directives) or 64-bit addressing ("wide mode"). If you want to take advantage of these features, you must upgrade your operating system to HP-UX 11.x and run the HP Fortran 90 for 11.x compiler

HP Fortran is a modern, powerful mathematical and scientific language that supports array-handling, data abstraction, and data hiding. HP Fortran is now available on both PA-RISC and Itanium-based platforms, and includes the following features:
· Full Fortran 95 compiler, based on International ANSI/ISO standards
· Full OpenMP v2.0
· Object-oriented Fortran feature optimizations
· Math intrinsic inlining support
· Standard Fortran library
· Native and cross compilers for PA-RISC and Itanium-based systems
· HP WDB debugger support
· HP Caliper


IA
Never give up, Keep Trying
Shivakumar_3
Advisor

Re: Fortran on HP-UX

I am using HP-UX 11i v1.what can i do to migrate fortran77 programs to fortran90?Any good material or tutorials pls help me out?
morganelan
Trusted Contributor

Re: Fortran on HP-UX

Please see this link:
http://docs.hp.com/en/B3909-90002/ch10s03.html
Kamal Mirdad
Yogeeraj_1
Honored Contributor

Re: Fortran on HP-UX

hi,

below a link to a document that i had downloaded recently on:"HP Fortran 90 Programmer's Guide"

It describes describes how to migrate HP FORTRAN 77 programs to the HP Fortran 90 compiler and how to use the different compiler features for porting programs written for other vendorsâ Fortran to HP Fortran 90.

http://docs.hp.com/en/B3909-90002/B3909-90002.pdf

hope this helps!

regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Mahesh Kumar Malik
Honored Contributor

Re: Fortran on HP-UX

Hi Shivakumar

Following link may be of help

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B3909DB

Regards
Mahesh
Bill Hassell
Honored Contributor

Re: Fortran on HP-UX

And just a note about the Fortran (and ANSI C and Cobol, etc) languages, the compilers and development tools are priced products and not included in the basic OS. Contact your HP sales rep for details.


Bill Hassell, sysadmin