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 2076 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: No_Truncate
JohnCampbell

Replies: 11
Views: 200

PostForum: General   Posted: Fri Jun 14, 2019 2:39 am   Subject:
Dan,

Why don't you write a program that scans for lines longer than 132 characters and also for <HT> characters.
You could either open the file using transparent:
open (unit = 1 ...
  Topic: conveting REGQUERYVALUEEX to /64
JohnCampbell

Replies: 5
Views: 118

PostForum: 64-bit   Posted: Sun Jun 09, 2019 3:41 pm   Subject:
Paul,

Thanks for the answers. I shall review them further.

re 1) Although this is ok, I wonder if SDBG would struggle with this construct.

re 2) I am still not sure what is correct. For /64, ...
  Topic: conveting REGQUERYVALUEEX to /64
JohnCampbell

Replies: 5
Views: 118

PostForum: 64-bit   Posted: Sat Jun 08, 2019 12:17 am   Subject:
/ctd!
write (*,*) 'NUMBER_OF_PROCESSORS = ', trim(num_process), len_trim (num_process)
write (*,*) 'PROCESSOR_IDENTIFIER = ', trim(IDENTIFIER), ...
  Topic: conveting REGQUERYVALUEEX to /64
JohnCampbell

Replies: 5
Views: 118

PostForum: 64-bit   Posted: Sat Jun 08, 2019 12:13 am   Subject:
For those interested in my expanded registry inquiry, my incomplete /64 code is: program test_processor_id
use mswin
Integer, external :: processor_id
integer jj
jj = pr ...
  Topic: conveting REGQUERYVALUEEX to /64
JohnCampbell

Replies: 5
Views: 118

PostForum: 64-bit   Posted: Fri Jun 07, 2019 11:49 pm   Subject: conveting REGQUERYVALUEEX to /64
Dan's example of problems with SDBG ( or is it SDBG64 ? ) has provided a number of questions for me about how to convert to /64.
It also shows some interesting problems accessing the registry.
His e ...
  Topic: Incorrect first line of subroutines in debugger under /64
JohnCampbell

Replies: 5
Views: 189

PostForum: 64-bit   Posted: Fri Jun 07, 2019 2:50 pm   Subject:
Dan,

I do not get your SDBG problem, but the code example is very interesting.

I would have thought that the following line of code is asking for trouble.
READ(getenv@('NUMBER_OF_PROCESSORS'),* ...
  Topic: Fortran 2003/2008
JohnCampbell

Replies: 146
Views: 83611

PostForum: General   Posted: Mon Jun 03, 2019 9:42 am   Subject:
Paul,

Re: testing my iso_fortran_env module

I have got somewhere, as the linked example appears to work for 32-bit, but not for 64-bit.
If successful, the approach I am using does not require c ...
  Topic: Fortran 2003/2008
JohnCampbell

Replies: 146
Views: 83611

PostForum: General   Posted: Sat Jun 01, 2019 5:19 am   Subject:
For my ISO_FORTRAN_ENV .mod / .mod64 file, the compiling with USE ISO_FORTRAN_ENV appears to be ok, but linking is a problem.

It appears that I can't have contained routines, as this would require ...
  Topic: Fortran 2003/2008
JohnCampbell

Replies: 146
Views: 83611

PostForum: General   Posted: Thu May 30, 2019 6:07 am   Subject:
I have experimented with writing my own ISO_FORTRAN_ENV module and placed the .f90 .mod and .obj files in .../Silverfrost/FTN95../INCLUDE.

This appears to work ok, although I need different source ...
  Topic: Allocation of derived type not standard conforming
JohnCampbell

Replies: 15
Views: 405

PostForum: General   Posted: Thu May 30, 2019 2:14 am   Subject:
Bill,

Thanks for the example. I have expanded and this appears to be an error.

If after testing the status of vector, if I deallocate, the program crashes.

Alternatively, if I allocate, tes ...
  Topic: Allocation of derived type not standard conforming
JohnCampbell

Replies: 15
Views: 405

PostForum: General   Posted: Tue May 28, 2019 6:22 am   Subject:
Dan,

I have a derived type which is a large array, with each element of the array having a number of allocatable components. My comment refers to the overhead of defining the size of each allocatbl ...
  Topic: Allocation of derived type not standard conforming
JohnCampbell

Replies: 15
Views: 405

PostForum: General   Posted: Tue May 28, 2019 5:29 am   Subject:
Paul identifies that ALLOCATABLE components of a derived TYPE could be handled better in the Fortran Standard.

Their use also comes with some issues that need to be considered.

1) apparently the ...
  Topic: gFortran and MAKE
JohnCampbell

Replies: 18
Views: 751

PostForum: General   Posted: Sun May 26, 2019 1:23 pm   Subject:
I have had many attempts at correcting TAB characters in Fortran source code I have needed to fix.

My utilities include:
count_char.exe which counts all characters [1:255] that appear in a file ...
  Topic: gFortran and MAKE
JohnCampbell

Replies: 18
Views: 751

PostForum: General   Posted: Sun May 26, 2019 3:25 am   Subject:
Paul,

Thanks for the update.

Definition of TAB interpretation is not easy to find. I could not find what gFortran does although I think it may be similar to iFort, which has the first tab to col ...
  Topic: gFortran and MAKE
JohnCampbell

Replies: 18
Views: 751

PostForum: General   Posted: Sat May 25, 2019 2:09 pm   Subject:
My understanding is the TAB is not part of the Fortran standard.
I do not know what interpretation ifort, gFortran or FTN95 apply to TAB, but it certainly is not portable.

There is also the issue ...
 
Page 1 of 139 Goto page 1, 2, 3 ... 137, 138, 139  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group