Quantcast
Channel:
Browsing latest articles
Browse All 14 View Live

We need more details about

We need more details about how you compile and which compiler versions you use, as well as actual source code to demonstrate the problem. Using the attached files and IFort/Icl 13.1.1.171, in the...

View Article



This looks like a calling

This looks like a calling mechanism problem since Fortran doesn't know anything about C++ - it just has a standard way to interface with C. Is your program 32 or 64 bit? As far as I know there is only...

View Article

Image may be NSFW.
Clik here to view.

I seem to be unable to post

I seem to be unable to post the full text of my update here, so I attach it as a text file.Please download and read,Thanks Attachments: AttachmentSizeDownloadintel.txt3.06 KB

View Article

In your case 2 (type embedded

In your case 2 (type embedded), the NULL char you observed after the string is likely accidental.type MyPro  character(len=256) :: path  integer :: flagend typeInitialize path as before, but set flag...

View Article

Thanks Jim, I checked with

Thanks Jim, I checked with various stack data around the fortran type and it was indeed accidental. This leaves the #2 issue still unsolved.

View Article


I suggest that since your C++

I suggest that since your C++ side interface explicitly uses a size argument that you declare the C++ interface on the FORTRAN side with explicit size arguments as sgearg suggests.Note, you can create...

View Article

Thanks everyone, I finally

Thanks everyone, I finally found a workaround without extra size arguments.since the general issue is to pass any type, array or string. My interface code depends on a custom data mining tool that...

View Article
Browsing latest articles
Browse All 14 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>