by parkerchuks » Wed May 02, 2012 10:10 pm
Here is the general layout of what I'm doing: I am doing an optimization problem where I'm running parallel monte carlo calculations which should produce N (the number of nodes) double precision numbers. I then need to pass all those to the master thread and determine the lowest one and then restart the whole process with the data produced with that thread until exit conditions are met. Can someone help me out with the psuedo code with particular emphasis on the !$OMP commands I need to use for this. Thanks!