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.
29298 Discussions

FYI: SLEEP defined in IFPORT and IFWIN modules

j0e
New Contributor I
668 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
668 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