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

Linking a file to a Fortran unit number via env variable

efengle
Novice
373 Views
I know you can set evironment variables FORTn=to link an external file to a Fortran unit number. However, are there any compiler options I need to specify in order for this to work?
If so do I need to use this option(s) in all code that is used to build an executable? For example, I have a huge library .a file I create and then compile a program source code seprately.
Thanks.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
373 Views
No options are required. This behavior is always enabled. One tricky bit is that the "n" is not zero-filled, so FORT6, FORT15, etc.
0 Kudos
Reply