Author |
Message |
Topic: ASSEMBLY_INTERFACE and FORTRAN arrays |
HaymoKutschbach
Replies: 9
Views: 12967
|
Forum: Support Posted: Mon Apr 02, 2012 11:53 am Subject: |
Thanks Paul! What would be the best way to arrange the terms and conditions regarding those additions? |
Topic: ASSEMBLY_INTERFACE and FORTRAN arrays |
HaymoKutschbach
Replies: 9
Views: 12967
|
Forum: Support Posted: Sun Apr 01, 2012 12:51 pm Subject: |
Right. This would work. Unfortunately, it would require to modify the FORTRAN source. On the .NET side, the method requires to pin the array manually - in contrast to have it pinned automatically, if ... |
Topic: ASSEMBLY_INTERFACE and FORTRAN arrays |
HaymoKutschbach
Replies: 9
Views: 12967
|
Forum: Support Posted: Sat Mar 31, 2012 12:03 am Subject: |
Let me try to make my question more clear:
A multidimensional array is declared on the FORTRAN side as parameter of a subroutine:
SUBROUTINE FORT_TEST(A,M)
INTEGER M
REAL A(M,: )
ASSEMBLY_INT ... |
Topic: ASSEMBLY_INTERFACE and FORTRAN arrays |
HaymoKutschbach
Replies: 9
Views: 12967
|
Forum: Support Posted: Thu Mar 29, 2012 9:11 am Subject: ASSEMBLY_INTERFACE and FORTRAN arrays |
For array parameter - correct me, if I am wrong - using ASSEMBLY_INTERFACE has the following implications:
1) non assumed-shape arrays are not allowed as parameters for FORTRAN subroutines
2) ass ... |
Topic: Problem using 'Salford.Fortran.Character' from C# |
HaymoKutschbach
Replies: 2
Views: 4802
|
Forum: Support Posted: Wed Mar 28, 2012 8:59 pm Subject: |
Thanks! According to the documentation, one has to use
ASSEMBLY_INTERFACE(...)
on all methods which are to be used from .NET. This will expose System.string parameter types for all CHARACTER a ... |
Topic: Problem using 'Salford.Fortran.Character' from C# |
HaymoKutschbach
Replies: 2
Views: 4802
|
Forum: Support Posted: Mon Mar 26, 2012 10:37 pm Subject: Problem using 'Salford.Fortran.Character' from C# |
Thanks for your great support so far! I have been able to generate a managed LAPACK from the (slightly altered) official sources at netlib.org.
Now, I am stuck with an interfacing issue: in a FORT ... |
Topic: Linker flags for sloppy checking |
HaymoKutschbach
Replies: 2
Views: 5571
|
Forum: Support Posted: Mon Mar 26, 2012 10:09 pm Subject: |
Thank you, Paul! Its working. |
Topic: Linker flags for sloppy checking |
HaymoKutschbach
Replies: 2
Views: 5571
|
Forum: Support Posted: Sat Mar 24, 2012 10:25 am Subject: Linker flags for sloppy checking |
Are there any Linker flags for the FTN95.NET compiler to allow for less strict type checking of subroutine arguments? One example: a subroutine expects a REAL argument and is called with a COMPLEX par ... |
Topic: Error: ',' found where ')' was expected |
HaymoKutschbach
Replies: 11
Views: 12271
|
Forum: Support Posted: Fri Mar 23, 2012 3:29 pm Subject: |
Removing the parentheses around
(ZERO, ZERO)
from the TRANSFER arguments will make it compile without errors. But the output will not be complex which is what is needed according to the subrou ... |
Topic: Error: ',' found where ')' was expected |
HaymoKutschbach
Replies: 11
Views: 12271
|
Forum: Support Posted: Wed Mar 21, 2012 6:26 pm Subject: |
Here comes the original code. It compiles with GCC:
CALL CLA_GERFSX_EXTENDED( PREC_TYPE, TRANS_TYPE, N,
$ NRHS, A, LDA, AF, LDAF, IPIV, COLEQU, C, B,
$ ... |
Topic: Error: ',' found where ')' was expected |
HaymoKutschbach
Replies: 11
Views: 12271
|
Forum: Support Posted: Mon Mar 19, 2012 10:16 pm Subject: |
The file version of ftn95.exe installed is 6.2.0.0. Last change: 2011-11-19.
Any hints? Thanks in advance. It seems to be the only error so far which is pretty impressive. But nevertheless, this co ... |
Topic: Error: ',' found where ')' was expected |
HaymoKutschbach
Replies: 11
Views: 12271
|
Forum: Support Posted: Mon Mar 19, 2012 9:32 pm Subject: |
Thanks davidb!
you are right: I changed the code, trying to circumvent the (/ extension. It didn't work out and I accidently posted the wrong example code. Sorry.
Unfortunately, the correct code d ... |
Topic: Error: ',' found where ')' was expected |
HaymoKutschbach
Replies: 11
Views: 12271
|
Forum: Support Posted: Fri Mar 16, 2012 5:36 pm Subject: Error: ',' found where ')' was expected |
I am evaluating the FTN95 .NET compiler and got very promising results. Unfortunately I am not able to get around the following error message:
CALL CLA_HERFSX_EXTENDED( PREC_TYPE, UPL ... |
|