CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Fortran on Unix

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 22, 2000, 07:04
Default Fortran on Unix
Posts: n/a
Dear friends, I'm facing a real problem when I try to run my program written in Fortran 90 on a big computer (unix system). The compilation and link does't find any error except the message " warning at least one PA 2.0 object file (name of the programe) was detected. the linked output may not run on a PA 1.x system" First I thought that it isn't a big problem, but unfortunately I could't run the program and all my work is stopped because of this. Can somebody explain to me the nature of this problem and more important how to solve it. Thank you in advance for the precious time you will deserve for my request. Cherif
  Reply With Quote

Old   March 22, 2000, 09:57
Default Re: Fortran on Unix
Steve Amphlett
Posts: n/a
I am assuming you are compiling on an HP-UX system. Your warning is concerned with the target architecture of the compilation. The FORTRAN 90 compiler can build programs suitable for old and new architectures as well as 32 and 64 bit architectures. Try using the compiler switches: +DA and +DS. I would recommend using:

+DA1.0 +DS2.0

- for an average HP-UX 10.20, 32-bit machine.


+DA2.0W +DS2.0

- if you require a 64-bit version and have HP-UX 11.



  Reply With Quote

Old   March 22, 2000, 10:02
Default Re: Fortran on Unix
Frank Bramkamp
Posts: n/a
Are you sure that everything is compiled on the same machine and that you run the program on THAT machine, where you compiled the code ?!

Compiling the code on a HP with a 8000 or 9000 processor does of course not run on a 7000 machine.

The warning just tells you that the code will not run e.g. on a 7000 HP machine. But its nothing to worry about, as long as you run it on the machine where you compiled the code (in my experience)

  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fortran Compiler-CFX12.1 Araz CFX 13 March 27, 2017 05:37
Compiling kiva3 with fortran 77 on unix T.Sencic Main CFD Forum 3 November 5, 2010 08:43
Makefile for f90 under unix Jinwon Main CFD Forum 1 September 22, 2007 05:10
Intrinsic Procedure 'ISNAN' in GNU FORTRAN 77 hawk Main CFD Forum 1 April 12, 2005 22:13
visual fortran Monica Main CFD Forum 1 August 28, 2004 20:45

All times are GMT -4. The time now is 16:33.