Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Annonces
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.
29285 Discussions

Sharing of unit numbers / files between DLLs

ferrad01
Débutant
462 Visites
I'm not sure if it was by chance or not, but we were previously able from DLL2 to write into a file created and opened in DLL1, by sending the unit number between the DLLs. This was when both DLLs were built with Intel V8. Now DLL2 is built with Intel V11.1 and this no longer works (DLL2 writes to FORT.36 where 36 is the unit number). DLL1 is still built with Intel v8.

Is this expected? Is there any way to get around it bearing in mind DLL1 is not ours?
0 Compliments
3 Réponses
Steven_L_Intel1
Employé
462 Visites
Both DLLs must be linked to the same set of DLL run-time libraries. My guess is that one or both of the DLLs is linked to the static libraries.
0 Compliments
ferrad01
Débutant
462 Visites
That's it! We had dynamic before now static. So I guess the Intel version differences won't be a problem if I make both dynamic?
0 Compliments
Steven_L_Intel1
Employé
462 Visites
No problem as long as the run-time DLLs you're using are the higher version.
0 Compliments
Répondre