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

FYI: SLEEP defined in IFPORT and IFWIN modules

j0e
New Contributor I
623 Views
Hi,

Because I wasted a little time on trying to isolate a linker problem, I'll post it here.

It appears that the subroutine SLEEP is in both IFPORT and IFWIN modules, but in the former, SLEEP's argument specifies seconds, while in the latter time is in ms.

In previous versions of IVF, I hadn't noticed SLEEP in the portability routines (only SLEEPQQ). The documentation states the need for IFPORT, but if you are also using IFWIN, then you will need to use ONLY in your USE statements.

cheers,
-joe
0 Kudos
1 Reply
Steven_L_Intel1
Employee
623 Views
Thanks for the tip. There are several routines by the same name in IFWIN and the Intel-specifc modules. Use of ONLY or a renaming clause is the solution.
0 Kudos
Reply