forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 1944 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Side by side versions?
JohnCampbell

Replies: 9
Views: 390

PostForum: General   Posted: Mon May 14, 2018 6:49 am   Subject:
John,

%1 is the first option provided to the batch file.
So assuming the batch file is called set_ftn95.bat
I want to select the version in directory ftn95_8.20F
I would issue the command " ...
  Topic: Error Argument of ichar at (1) must be of length one
JohnCampbell

Replies: 8
Views: 232

PostForum: Support   Posted: Sun May 13, 2018 12:45 pm   Subject:
The use of ICHAR appears to test if the first character of the string read starts with a number. An alternative could be to read the string as a number and use iostat=iostat or test if the character f ...
  Topic: Why we have to declare random@ ?
JohnCampbell

Replies: 15
Views: 472

PostForum: Support   Posted: Wed May 09, 2018 1:21 am   Subject:
Dan,

You should review this above example of using inconsistent kind definitions for reals.
Looks like another piece of devilry waiting to happen when converting to /64
  Topic: Why we have to declare random@ ?
JohnCampbell

Replies: 15
Views: 472

PostForum: Support   Posted: Tue May 08, 2018 3:25 pm   Subject:
Paul,

Thanks for considering these "special" functions.

I am not sure how extensive a longer list could be, but could the following be included:
real*10 function CPU_CLOCK@()
integer ...
  Topic: Why we have to declare random@ ?
JohnCampbell

Replies: 15
Views: 472

PostForum: Support   Posted: Mon May 07, 2018 7:23 am   Subject: Re:
RANDOM@ ... which clashes with the documented value of 2 in FTN95.HLP.
I was struggling to find where the kind for random@ is now documented. I finally found it listed as RANDOM.

The following pro ...
  Topic: Why we have to declare random@ ?
JohnCampbell

Replies: 15
Views: 472

PostForum: Support   Posted: Sun May 06, 2018 8:50 am   Subject:
I tried a few options to get it to work in PLATO with "Release x64"
I needed "real*8, external :: random@" to get it to work

program trand
! implicit none
! implicit real &# ...
  Topic: Will /zero be restored?
JohnCampbell

Replies: 3
Views: 158

PostForum: 64-bit   Posted: Sat May 05, 2018 2:56 am   Subject:
i can not run 3 instances of the code simultaneously, the allocation of big arrays fails
Dan,
I think it unlikely to be the problem of available virtual memory when running multiple clearwin+ progra ...
  Topic: Will /zero be restored?
JohnCampbell

Replies: 3
Views: 158

PostForum: 64-bit   Posted: Sat May 05, 2018 2:04 am   Subject:
I am a bit confused about what /zero does, as I think it is unnecessary with FTN95 as this is the default action.
Zeroing variables and arrays is not required by the Fortran standard and so assuming ...
  Topic: Extracting part of code from the large source
JohnCampbell

Replies: 9
Views: 373

PostForum: General   Posted: Mon Apr 30, 2018 6:20 am   Subject:
Dan,

I did suggest Excel to filter the listing and ignore line numbers of the module. I disagree with JohnS's response! Perhaps he forgot to define the outcome.
If you don't like a "manual or ...
  Topic: Extracting part of code from the large source
JohnCampbell

Replies: 9
Views: 373

PostForum: General   Posted: Sun Apr 29, 2018 6:31 am   Subject:
Dan,

I'd recommend you look at my recent post regarding a bug I had dumping .png files of a %gr plot. It was difficult to locate and very hard to reproduce. In the end it was most likely not a clea ...
  Topic: Extracting part of code from the large source
JohnCampbell

Replies: 9
Views: 373

PostForum: General   Posted: Sat Apr 28, 2018 5:37 am   Subject:
Dan,

I use /xref to get a list of variables that are referenced outside the module, using Excel and pivot tables.
Once I have that list, I can comment out all variables in the module that are not ...
  Topic: Stack Size
JohnCampbell

Replies: 15
Views: 483

PostForum: 64-bit   Posted: Fri Apr 27, 2018 2:43 am   Subject:
Davidb,
/SAVE is not an option that should be encouraged. Also could you provide a reference that indicates separate threads have a separate stack allocated. Do these individual stacks start on separ ...
  Topic: Stack Size
JohnCampbell

Replies: 15
Views: 483

PostForum: 64-bit   Posted: Thu Apr 26, 2018 9:04 am   Subject:
mecej4,

There are two possible solutions:
1) create a second (another) stack when the first runs out
2) place "large" arrays somewhere else. ie by default place large arrays using the a ...
  Topic: Stack Size
JohnCampbell

Replies: 15
Views: 483

PostForum: 64-bit   Posted: Wed Apr 25, 2018 1:06 pm   Subject:
Paul,

My apologies, I read the SLINK help in more detail and it appears that it also uses hex values. I first read "size in bytes", although the examples are hex. an alternative decimal o ...
  Topic: URGENT HELP
JohnCampbell

Replies: 21
Views: 704

PostForum: 64-bit   Posted: Wed Apr 25, 2018 11:55 am   Subject:
Dan,

I got a stack of errors compiling this code.
I used "ftn95 aaa.f95 /-imp"

first, I needed " integer, parameter :: idim=50"
(I have always thought your parameter stat ...
 
Page 1 of 130 Goto page 1, 2, 3 ... 128, 129, 130  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group