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

Graphics application in CVF 6.6 on a 2 cpu machine.

los
Beginner
517 Views

Hi,

I use graphic Quickwin routines in my program. I have used it for some years on single CPU machines (XP) without any problems. Now, however I have a 2-CPU machine and experience problems quite often, but not always. When I draw a graph for the first time, all information does not appear in the window. If I then try a second time, I will get an access violation in ntdll.dll when initiating the graph. My application uses multi threads but I dont know if this affects my problem.

Has anyone experienced this type of problems?

Thank you for any tips how to solve.

Lars

0 Kudos
3 Replies
Steven_L_Intel1
Employee
517 Views
I remember seeing this in the past. A workaround has generally been to put a call to SLEEPQQ(.5) at the start of the program to give the threads time to initialize.
0 Kudos
los
Beginner
517 Views
Hi,
Thank you Steve, it seem to work with SLEEPQQ.
I have put in a delay after opening the window and one after drawing the graphbefore reading a continue key stroke fromthe keyboard.
Started with 50 ms delay at the end but that was not enough. But 500 ms works.
Lars
0 Kudos
constrasm1
Beginner
517 Views
Hi, I has a problem like yours about 2 years ago, CVF 6.6 doesn't support 2 cpu, I upgraded to IVF and the problem missing.
Gabriele.
0 Kudos
Reply