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

Replies: 4
Views: 146

PostForum: General   Posted: Tue Feb 27, 2024 11:51 pm   Subject:
Bill,

I am not sure how extensive this limit of 256 or 260 characters applies.

I googled limits and found:
Maximum path length is 260 bytes for FAT with LFN support
The maximum filename length ...
  Topic: Access Violation in CCOPY
JohnCampbell

Replies: 7
Views: 256

PostForum: Support   Posted: Tue Feb 27, 2024 2:35 pm   Subject:
In F77, this type of error could have occurred if generating a concatenated string into itself.
It can be overcome by using an explicit defined destination string that is long enough, then copying t ...
  Topic: SLINK64 not working
JohnCampbell

Replies: 14
Views: 767

PostForum: 64-bit   Posted: Wed Feb 14, 2024 10:14 am   Subject:
Kevin,

I could not identify any problem in your directory list.
The only remaining possibility is conflicting .dll usage.
I certainly get a prompt when using slink64 ??

This is my version 8.80 ...
  Topic: SLINK64 not working
JohnCampbell

Replies: 14
Views: 767

PostForum: 64-bit   Posted: Tue Feb 13, 2024 6:37 am   Subject:
Kevin,

I am puzzled by the reports you are providing. slink64 should give some response ?

Can you type the following command (even copy it into a file zzz.bat)
dir "c:\program files (x86)& ...
  Topic: Fails to save arrays > 4GB
JohnCampbell

Replies: 92
Views: 64903

PostForum: Support   Posted: Sat Feb 10, 2024 9:29 am   Subject:
I have tidied up a program that uses stream I/O to replicate FTN95 unformatted sequential access files for larger records.

This approach takes the 1-byte (records up to 240 bytes long) else -1+4 by ...
  Topic: SLINK64 not working
JohnCampbell

Replies: 14
Views: 767

PostForum: 64-bit   Posted: Sat Feb 10, 2024 2:17 am   Subject:
this is more than strange !!

can you try other commands, eg
slink64
slink
ftn95 program.f90 /64 /link
set > environment.txt

these should provide some sensible responses.

I have a .bat ...
  Topic: Error in dot_product with /64 /opt
JohnCampbell

Replies: 4
Views: 282

PostForum: 64-bit   Posted: Thu Feb 08, 2024 12:29 pm   Subject:
mecej4,

The modified code I posted:
showed "delta(K) = dot_product ( vec, vec ) " appeared to work,

but "delta(K) = dot_product (ap(1:nbn,K), ap(1:nbn,K) ) " still failed w ...
  Topic: SLINK64 not working
JohnCampbell

Replies: 14
Views: 767

PostForum: 64-bit   Posted: Thu Feb 08, 2024 6:08 am   Subject:
Kevin,

Do you have a slink64.bat or some other environment variable alias that could be redirecting ?

Where are you building your program, as you probably don't have adequate rights in c:\Progra ...
  Topic: Error in dot_product with /64 /opt
JohnCampbell

Replies: 4
Views: 282

PostForum: 64-bit   Posted: Thu Feb 08, 2024 6:01 am   Subject:
Hi mecej4,

Thanks for this example. I can reproduce your result, even after changing your code !
I replaced "l" with "K', as "l" is the worst variable name to use with the ...
  Topic: Allocate on assignment to grow an array.
JohnCampbell

Replies: 25
Views: 2112

PostForum: Support   Posted: Fri Feb 02, 2024 3:27 am   Subject:
Hi Ken,

Thanks for highlighting an added complexity of changing the lower bound of an allocatable array !

Not something I want to address ( as I find Fortran's support of non-default lower bound ...
  Topic: Allocate on assignment to grow an array.
JohnCampbell

Replies: 25
Views: 2112

PostForum: Support   Posted: Wed Jan 31, 2024 1:25 am   Subject:
Thanks Paul and Ken for this thread.

The following are 3 alternatives for extending a vector size by nn, using either:
* FTN95+ but no auto allocate
* using auto allocate, but making a copy first ...
  Topic: Allocate on assignment to grow an array.
JohnCampbell

Replies: 25
Views: 2112

PostForum: Support   Posted: Sun Jan 28, 2024 10:03 am   Subject:
Expanding on my "Saturday devilry" and including a variant of Ken's suggestion of MOVE_ALLOC, the following code example does not compile with updated FTN95 Ver 9.00.
subroutine auto_allo ...
  Topic: Allocate on assignment to grow an array.
JohnCampbell

Replies: 25
Views: 2112

PostForum: Support   Posted: Sat Jan 27, 2024 2:17 pm   Subject:
Thanks Paul for finding the source of the error.
  Topic: Allocate on assignment to grow an array.
JohnCampbell

Replies: 25
Views: 2112

PostForum: Support   Posted: Fri Jan 26, 2024 4:27 am   Subject:
Saturday devilry !!
I put the full test back together and it works without a problem !!
program extend
use iso_fortran_env
implicit none
real, allocatable :: a(:)
int ...
  Topic: Allocate on assignment to grow an array.
JohnCampbell

Replies: 25
Views: 2112

PostForum: Support   Posted: Fri Jan 26, 2024 3:53 am   Subject:
Pail,

My simple auto-allocate code "a = use iso_fortran_env
real, allocatable :: a(:)
integer, allocatable :: sizes(:)
integer n,i ...
 
Page 1 of 169 Goto page 1, 2, 3 ... 167, 168, 169  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group