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

FYI: SLEEP defined in IFPORT and IFWIN modules

j0e
Nouveau contributeur I
616 Visites
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 Compliments
1 Répondre
Steven_L_Intel1
Employé
616 Visites
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 Compliments
Répondre