console hangup, no output

General OpenMP discussion

console hangup, no output

Postby open_coder » Fri Nov 16, 2018 11:48 pm

I am running while loop in parallel using Openmp, after while when i comment "cout << "\n" ", console hangs up and show no output, but when i uncomment, it show output correctly.
Anyone suggest me what's wrong going one.
I faced as problem in serial programming, but that was related to system call.
open_coder
 
Posts: 9
Joined: Mon Oct 29, 2018 9:42 pm

Re: console hangup, no output

Postby MarkB » Mon Nov 19, 2018 2:54 am

Hard to say without some more details - perhaps the output is just getting buffered?
MarkB
 
Posts: 776
Joined: Thu Jan 08, 2009 10:12 am
Location: EPCC, University of Edinburgh


Return to Using OpenMP

Who is online

Users browsing this forum: Google [Bot] and 2 guests