Lahey Support
08-15-2003, 12:19 AM
May I suggest using the TIMER subroutine?
-David
----------
From: Richard B. Ahlvin
Sent: Monday, January 25, 1999 9:16 AM
To: Al Salamah, Muhammad; cosine Cheng
Cc: [address removed]
Subject: Re: [LF] Help!pause for desired time duration
This would only work with a real dumb compiler! Any decent
Fortran compiler would eliminate empty DO loops entirely!
-----Original Message-----
From: Al Salamah, Muhammad [address removed]
To: cosine Cheng [address removed]
Cc: [address removed] [address removed]
Date: Saturday, January 23, 1999 10:10 AM
Subject: Re: [LF] Help!pause for desired time duration
>Hi
>I usually use an empty DO construct. You have to experiment with the
size
>of the DO construct to arrive at the desired pause duration.
>
>
>On Fri, 22 Jan 1999, cosine Cheng wrote:
>
>> Dear All:
>>
>> In FORTRAN90, we can use 'pause' or 'read(*,*)'
>>
>> to pause the excutable, but how can one pause it
>>
>> for a desired time period, say, one sec or 10 min.?
>>
>>
>> Thanks
>>
>> by Cheng Cosine
>> Jan/22/1999 UT
>>
>> __________________________________________________ ____
>> Get Your Private, Free Email at http://www.hotmail.com
>>
>
>
>************************************************
>************************************************
>** Muhammad Al Salamah **
>** KFUPM **
>** Box 382 **
>** Dhahran 31261 **
>** Saudi Arabia **
>** Phone No.: Residence +(966)38606045 **
>** Office +(966)38602541 **
>************************************************
>************************************************
>
>
-David
----------
From: Richard B. Ahlvin
Sent: Monday, January 25, 1999 9:16 AM
To: Al Salamah, Muhammad; cosine Cheng
Cc: [address removed]
Subject: Re: [LF] Help!pause for desired time duration
This would only work with a real dumb compiler! Any decent
Fortran compiler would eliminate empty DO loops entirely!
-----Original Message-----
From: Al Salamah, Muhammad [address removed]
To: cosine Cheng [address removed]
Cc: [address removed] [address removed]
Date: Saturday, January 23, 1999 10:10 AM
Subject: Re: [LF] Help!pause for desired time duration
>Hi
>I usually use an empty DO construct. You have to experiment with the
size
>of the DO construct to arrive at the desired pause duration.
>
>
>On Fri, 22 Jan 1999, cosine Cheng wrote:
>
>> Dear All:
>>
>> In FORTRAN90, we can use 'pause' or 'read(*,*)'
>>
>> to pause the excutable, but how can one pause it
>>
>> for a desired time period, say, one sec or 10 min.?
>>
>>
>> Thanks
>>
>> by Cheng Cosine
>> Jan/22/1999 UT
>>
>> __________________________________________________ ____
>> Get Your Private, Free Email at http://www.hotmail.com
>>
>
>
>************************************************
>************************************************
>** Muhammad Al Salamah **
>** KFUPM **
>** Box 382 **
>** Dhahran 31261 **
>** Saudi Arabia **
>** Phone No.: Residence +(966)38606045 **
>** Office +(966)38602541 **
>************************************************
>************************************************
>
>