CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Fortran on Unix

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2000, 06:04
Default Fortran on Unix
  #1
cherif
Guest
 
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, 08:57
Default Re: Fortran on Unix
  #2
Steve Amphlett
Guest
 
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.

and:

+DA2.0W +DS2.0

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

regards,

Steve

  Reply With Quote

Old   March 22, 2000, 09:02
Default Re: Fortran on Unix
  #3
Frank Bramkamp
Guest
 
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)

Frank
  Reply With Quote

Reply


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 Off
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 07: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 12:09.