Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Read file error in Fortran DLL

pradeepnatekar
Beginner
498 Views

What is the default directory path when there are readfile statements in fortran dll created.

I get error of "Filed to open xxxx file for reading" even if the files are there in same directory where dll is located.

Regards,

Pradeep

0 Kudos
1 Reply
anthonyrichards
New Contributor III
498 Views

If it is a DLL, you must be calling it by running an .EXE first, so the file you need to
access should probably be in the same directory as the .EXE that calls the DLL (or calls a DLL that calls the DLL in question).

0 Kudos
Reply