Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29277 Discussions

Problem with Console output from a Fortran DLL

larsl
Beginner
789 Views

I have just updated to 11.0 and has now run into a problem.

I have a MFC app and has created a Console Window with AllocConsole();

When I call the routine in the Fortran DLL which do the output to a console,

the program crashes at the 1:st write(*,*)

This worked perfectly using the 10.1 compilier .

Thanks in advance.

/Lars

0 Kudos
4 Replies
Steven_L_Intel1
Employee
789 Views

This thread seems to discuss the same issue. I'd recommend submitting a problem report to Intel Premier Support and attaching a ZIP of the C and Fortran projects. That the behavior changed between 10.1 and 11.0 is not good.

0 Kudos
larsl
Beginner
789 Views

This thread seems to discuss the same issue. I'd recommend submitting a problem report to Intel Premier Support and attaching a ZIP of the C and Fortran projects. That the behavior changed between 10.1 and 11.0 is not good.

Yes, I saw that there are others having the same problem. I have uploaded a small testcase to Premier support and got the response "Investigation" .But I saw in the above thread that there is a "workaround" (writing to unit=0 instead). I have not got any feedback from support. What timeframe are we talking about until this is fixed ?

/Lars

0 Kudos
Steven_L_Intel1
Employee
789 Views

I had discussed this item personally with the libraries project leader. I have asked that it be fixed in the first available update. Next one is late January.

0 Kudos
larsl
Beginner
789 Views

I had discussed this item personally with the libraries project leader. I have asked that it be fixed in the first available update. Next one is late January.

Thanks. I will try the workaround since this must work for me.

/Lars

0 Kudos
Reply