Author |
Message |
Topic: Trigonometric Functions COS and SIN. |
ebarbero
Replies: 8
Views: 10752
|
Forum: Support Posted: Sat Aug 18, 2012 9:37 pm Subject: cosd, sind |
I have used COSD(Arg) and SIND(Arg) with Arg in Degrees with Intel compilers, but I guess these are extensions not supported by FTN95. They must be non-standard extensions. |
Topic: FTN95 Application Extension error, passing Fortran array |
ebarbero
Replies: 2
Views: 5608
|
Forum: Support Posted: Sat Aug 18, 2012 11:48 am Subject: Utility to automatically add Fortran Interface |
Yes, of course, and thank you. Sorry for the silly question. I have been working with Intel Interoperative Systems, which I guess does the interfaces in the background for me.
I have many Fortran ... |
Topic: FTN95 Application Extension error, passing Fortran array |
ebarbero
Replies: 2
Views: 5608
|
Forum: Support Posted: Thu Aug 16, 2012 7:29 pm Subject: FTN95 Application Extension error, passing Fortran array |
I get the error:
"An unhandled exception of type 'System.InvalidProgramException' occurred in Ftn95.dll"
"Additional information: Common Language Runtime detected an invalid program. ... |
Topic: ASSEMBLY_INTERFACE and FORTRAN arrays |
ebarbero
Replies: 9
Views: 11037
|
Forum: Support Posted: Thu Aug 16, 2012 7:25 pm Subject: |
Yes, it works reversing the indexes. thank you! |
Topic: ASSEMBLY_INTERFACE and FORTRAN arrays |
ebarbero
Replies: 9
Views: 11037
|
Forum: Support Posted: Wed Aug 15, 2012 8:05 pm Subject: Re: |
Fortran arrays are mapped to .NET arrays. The (column major) ordering is not changed because this transformation would be expensive for large arrays. Your code must allow for this difference. Thus the ... |
Topic: Trying to link to a 3rd-party DLL... |
ebarbero
Replies: 11
Views: 10530
|
Forum: Support Posted: Fri Aug 10, 2012 5:37 pm Subject: |
I am sorry I misinterpreted your question.
It is really odd to ask for the dll to be in c:, but perhaps you can modify the path variable to point in the directory you have the dll. Would that solve ... |
Topic: Trying to link to a 3rd-party DLL... |
ebarbero
Replies: 11
Views: 10530
|
Forum: Support Posted: Thu Aug 09, 2012 8:24 pm Subject: Re: |
I'm working in Win32. The DLL is an "unmanaged" wrapper for a .NET project.
I don't use "!dec$ attributes dllimport::" (I can't see any help on it either?)
K
What do you ... |
Topic: Silverfroft FTN, VS, and TFS interface bugs and Workarounds |
ebarbero
Replies: 0
Views: 6240
|
Forum: Suggestions Posted: Thu Aug 09, 2012 7:38 pm Subject: Silverfroft FTN, VS, and TFS interface bugs and Workarounds |
Silverfroft FTN, VS, and TFS interface bugs and Workaround(s)
1- If you retrieve a Solution (containing a FTN Project) from TFS, VS will not be able to get all the files if they are in folders. Ins ... |
Topic: ftn95 and Team Foundation Server |
ebarbero
Replies: 4
Views: 8580
|
Forum: Support Posted: Wed Aug 08, 2012 11:19 pm Subject: file name Change |
If you change the name of a file in a VS FTN project, the name will change in the Win folder but not on the .ftn95p project file, which will cause you untold amount of trouble. Do not!!! change file n ... |
Topic: VS FTN95 and multiple C# projects in same Solution |
ebarbero
Replies: 0
Views: 3606
|
Forum: Support Posted: Wed Aug 08, 2012 10:30 pm Subject: VS FTN95 and multiple C# projects in same Solution |
VS 2010 crashes if a Silverfrost/FTN Application Extension Project/ is referenced in more than one C# Class Library. Why? It shouldn't. I can reference a Intel Visual Fortran Dll project from multiple ... |
Topic: ftn95 and Team Foundation Server |
ebarbero
Replies: 4
Views: 8580
|
Forum: Support Posted: Wed Aug 08, 2012 10:24 pm Subject: |
My Q's are about Silverfrost implementation of the interface with VS 2010 and TFS.
If you delete a file in a FTN project, it does not get deleted in the Win folder and will create problems for you ... |
Topic: Trying to link to a 3rd-party DLL... |
ebarbero
Replies: 11
Views: 10530
|
Forum: Support Posted: Wed Aug 08, 2012 8:15 pm Subject: |
.NET or win32 project? do you use !dec$ attributes dllimport:: ??? |
Topic: Exporting and calling procedures from a Fortran DLL |
ebarbero
Replies: 3
Views: 7385
|
Forum: Support Posted: Sat Aug 04, 2012 7:44 pm Subject: |
Also note that in the fortran project the Linker option Interface Only should be set to No, which is the default, but just in case. |
Topic: Exporting and calling procedures from a Fortran DLL |
ebarbero
Replies: 3
Views: 7385
|
Forum: Support Posted: Sat Aug 04, 2012 7:39 pm Subject: |
I found a way of using fixed size arrays. I would not recommend it because involves the use of pointers, but it is possible.
Imagine you have this subroutine in fortran:
subroutine Example( ... |
Topic: Exporting and calling procedures from a Fortran DLL |
ebarbero
Replies: 3
Views: 7385
|
Forum: Support Posted: Sat Aug 04, 2012 3:24 pm Subject: |
.NET will not pass/receive fixed size arrays, only assumed size arrays, so in your legacy code, change every declaration of array(number[,number]) to array(:[,:]) and you should be ok |
|