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

Looping in inquire(file=filename, opened=op)

André_vL
Beginner
593 Views

My program gets stuck in the intrinsic function inquire. Calls to the function go right quite some times but at some time it starts looping in inquire.

The inquire statement is like: inquire(name=filename, opened=op). The file does exist and is opened. Checking the existence of the file is confirmed by inquire(name=filename, exist=exists). This call to inquire goes right which makes me think that the input is right.

In debugmode I can see the following function names coming by: for__get_next_lub( ), process_existing_lub, for_inquire, for__release_lun, enter_cr_and_find_lub, find_min_lun,

I'm using version 12.6.233 and running the debugger in idbc -dbx mode.

Is this a known issue?

0 Kudos
2 Replies
Steven_L_Intel1
Employee
593 Views
I don't see any current reports of such a problem. Can you provide an example that reliably reproduces it?
0 Kudos
André_vL
Beginner
593 Views
That'll be a dificult one since it's part of a large program. I will try a small testing program soon.Let you know.
0 Kudos
Reply