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 9 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: problems array valued functions
AntonioGJerez

Replies: 1
Views: 4210

PostForum: Support   Posted: Sat Jun 20, 2015 2:35 pm   Subject: problems array valued functions
Dear all

I have found several problems with array valued functions. They are probably my fault. Nevertheless I think the diagnosis of the compiler may be better.

This is the first example. It fa ...
  Topic: Compiler bug: only warning for variable used as Spec. Expr.
AntonioGJerez

Replies: 8
Views: 8819

PostForum: Support   Posted: Sun Jun 07, 2015 10:49 pm   Subject:
OK,

On the other hand, a similar intend(in) error is thoroughly catched. Its seems very assymetric.

Note that at entry to my subprogram, the intent(out) variable x does not become undefined (ma ...
  Topic: Compiler bug: only warning for variable used as Spec. Expr.
AntonioGJerez

Replies: 8
Views: 8819

PostForum: Support   Posted: Sun Jun 07, 2015 10:10 pm   Subject: intent()
A minor issue in a similar context: if ftn95 is used without flags (apart from /LINK), intent(out) clauses are ignored at compilation and at runtime. Nevertheless, a suitable runtime error is display ...
  Topic: error in array construction
AntonioGJerez

Replies: 5
Views: 7251

PostForum: Support   Posted: Thu Jun 04, 2015 12:48 am   Subject: Thanks. Nevertheless...
Ok, thanks for your code (even though the proposal of supporting an arbitrary function giving a vector would be much more powerful).

Nevertheless, you say "Such functions are problematic beca ...
  Topic: MATMUL bug
AntonioGJerez

Replies: 6
Views: 8828

PostForum: Support   Posted: Thu Jun 04, 2015 12:39 am   Subject: real*8 to complex
Hello,

This is another simple example of conversion from real*8 to complex that doesn´t work (and no warning or error is displayed)

regards


program bug3

COMPLEX A(4,4)
...
  Topic: errors detection for matmul
AntonioGJerez

Replies: 3
Views: 13796

PostForum: Suggestions   Posted: Wed Jun 03, 2015 10:13 am   Subject:
Well, I disagree with you. Maybe my introduction about Matlab was unnecesary. I only wanted to show an example where the behavior of ftn95 seems weak and Matlab performs reasonably.
Forget about Matl ...
  Topic: error in array construction
AntonioGJerez

Replies: 5
Views: 7251

PostForum: Support   Posted: Tue Jun 02, 2015 8:00 pm   Subject:
Hi John

thanks, nevertheless, I would like to include the array (/ 0., diag4(matrix) /) into a more complicated expression,

e.g. ... * (/ 0., diag4(matrix) /)+...

it should be better to a ...
  Topic: errors detection for matmul
AntonioGJerez

Replies: 3
Views: 13796

PostForum: Suggestions   Posted: Tue Jun 02, 2015 7:17 pm   Subject: errors detection for matmul
Dear Friends

I am translating MATLAB code into Fortran and I can't understand some particularities of the latter which makes me waste too much time. For example, matmul(x,y) provides absurds result ...
  Topic: error in array construction
AntonioGJerez

Replies: 5
Views: 7251

PostForum: Support   Posted: Mon Jun 01, 2015 1:51 pm   Subject: error in array construction
Dear Friends

This code produces a runtime Access Violation Error when trying to construct an array which includes elements from an array-valued function

Moreover, If I define REAL kk(5), then k ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group