CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Fortran on Unix (https://www.cfd-online.com/Forums/main/1961-fortran-unix.html)

cherif March 22, 2000 07:04

Fortran on Unix
 
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

Steve Amphlett March 22, 2000 09:57

Re: Fortran on Unix
 
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


Frank Bramkamp March 22, 2000 10:02

Re: Fortran on Unix
 
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


All times are GMT -4. The time now is 03:10.