CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   32-bit to 64-bit (https://www.cfd-online.com/Forums/main/9350-32-bit-64-bit.html)

Khurram June 17, 2005 18:04

32-bit to 64-bit
 
Hi,

I want to convert my code from 32-bit machine to 64-bit machine. The code is written in Fortran. Everytihing is working fine but when i want to change the memory size beyond 3-bit machine, I have a problem.

The problem boils down to following:

Integer*8 max Parameter (max=8.e9)!here is a problem common m(max)

This is giving me an error. Basically I have isolated the problem to finding a way to define double precision integer with parameter command

I would appreciate any feedback

andy June 20, 2005 04:05

Re: 32-bit to 64-bit
 
You parameter statement is using a real literal instead of an integer literal. This will give a compilation error. You must use an integer literal (i.e. 89000000).


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