Author |
Message |
Topic: Strange padding of file names. |
bplevenson
Replies: 2
Views: 2636
|
Forum: Support Posted: Thu Jun 03, 2021 8:37 pm Subject: Strange padding of file names. |
I'll try that! Thanks! |
Topic: Strange padding of file names. |
bplevenson
Replies: 2
Views: 2636
|
Forum: Support Posted: Tue Jun 01, 2021 10:49 pm Subject: Strange padding of file names. |
I have a file-name variable 77 characters long ("fn") which gets partially filled in, in the program (say, 'LS_rocket01.dat'). Whether I open the file using file=trim(fn) or file=fn, and wh ... |
Topic: Why is it telling me I have two main programs? |
bplevenson
Replies: 3
Views: 13866
|
Forum: General Posted: Thu Nov 09, 2006 8:48 am Subject: Why is it telling me I have two main programs? |
Paul Laidler wrote:DoneYet is external so you must declare it as LOGICAL
logical::small, DoneYet
Also you must use brackets in the call and in the definition.
small = DoneYet()
It works! ... |
Topic: Why is it telling me I have two main programs? |
bplevenson
Replies: 3
Views: 13866
|
Forum: General Posted: Thu Nov 09, 2006 6:41 am Subject: Why is it telling me I have two main programs? |
Sorry, I forgot to hit "pre" on that one for the code. I'll try again:
---------------------------------------------------------------------------------------------------
[pre]!==== ... |
Topic: Why is it telling me I have two main programs? |
bplevenson
Replies: 3
Views: 13866
|
Forum: General Posted: Thu Nov 09, 2006 6:37 am Subject: Why is it telling me I have two main programs? |
I'm writing a very simple climate model program which calls a logical function, DoneYet, to signal the program when the simulation is done. Here's the code:
------------------------------- ... |
Topic: Bizarre run-time error in the compiler itself |
bplevenson
Replies: 9
Views: 17100
|
Forum: General Posted: Wed Nov 08, 2006 1:54 pm Subject: Bizarre run-time error in the compiler itself |
Bruce Bowler wrote:Just a casual observer here, who hasn't downloaded and tried your example, but I'm VERY surprised that changing P to p (or vise versa) would make a difference. The REAL prob ... |
Topic: Bizarre run-time error in the compiler itself |
bplevenson
Replies: 9
Views: 17100
|
Forum: General Posted: Wed Nov 08, 2006 10:13 am Subject: Bizarre run-time error in the compiler itself |
Barton Levenson wrote:Paul Laidler wrote:
Can you post a small program that demonstrates the access violation so we can fix it?
Yes, I'll try to do that today. Nag me if it isn't up by the ... |
Topic: Bizarre run-time error in the compiler itself |
bplevenson
Replies: 9
Views: 17100
|
Forum: General Posted: Wed Nov 08, 2006 10:05 am Subject: Bizarre run-time error in the compiler itself |
Paul Laidler wrote:Can you post a small program that demonstrates the access violation so we can fix it?
Yes, I'll try to do that today. Nag me if it isn't up by the end of the week.
-BPL |
Topic: Bizarre run-time error in the compiler itself |
bplevenson
Replies: 9
Views: 17100
|
Forum: General Posted: Wed Nov 08, 2006 7:09 am Subject: Bizarre run-time error in the compiler itself |
Paul Laidler wrote:Just comment out blocks of your program until the access violation goes away.
Alternatively, start from nothing and add a few lines at a time.
When you find the offending line ... |
Topic: Bizarre run-time error in the compiler itself |
bplevenson
Replies: 9
Views: 17100
|
Forum: General Posted: Tue Nov 07, 2006 6:49 pm Subject: Bizarre run-time error in the compiler itself |
Okay, I was trying to compile a program, and I got the following:
----------------------------------------------------------
Compiling file: SmallRad.f95
C:FortranSmallRad.F95(10) : comment 981 - ... |
Topic: Editor options |
bplevenson
Replies: 2
Views: 7330
|
Forum: General Posted: Tue Nov 07, 2006 6:47 pm Subject: Editor options |
Paul Laidler wrote:Option dialog
Text Editor->General
Thanks!
-BPL |
Topic: Precision of intrinsic math functions |
bplevenson
Replies: 8
Views: 14341
|
Forum: General Posted: Tue Nov 07, 2006 6:34 am Subject: Precision of intrinsic math functions |
Hold the phone!!!
Paul, you were right. It is a bug, but not with the intrinsics.
I declared pi as
real(kind=2), parameter :: 3.141592653589793238
when I made it
real(kind=2), paramet ... |
Topic: Precision of intrinsic math functions |
bplevenson
Replies: 8
Views: 14341
|
Forum: General Posted: Tue Nov 07, 2006 6:30 am Subject: Precision of intrinsic math functions |
Paul Laidler wrote:I do not have time to check out your program in detail but I would use...
180.0_2 instead of 180.0
sin instead of dsin
cos instead of dcos
tan instead of dtan.
None of thes ... |
Topic: Editor options |
bplevenson
Replies: 2
Views: 7330
|
Forum: General Posted: Tue Nov 07, 2006 6:26 am Subject: Editor options |
Does anyone know how to make the editor in the Plato IDE put in spaces instead of tab characters when the user enters a tab? I can never get a program listing to come out looking neat when I post it ... |
Topic: Precision of intrinsic math functions |
bplevenson
Replies: 8
Views: 14341
|
Forum: General Posted: Tue Nov 07, 2006 5:01 am Subject: Precision of intrinsic math functions |
Paul Laidler wrote:I have to admit that I do not understand your problem.
Are you saying that the following code does not give the correct double precision answer?
REAL(2) x, y
x = 0.3_2
y = sin ... |
|