ERROR: Unable to calculate region volume - are you operating on a 2d region?

Submitted by msbentley on
ckloss

Hi Mark,

there is a Monte Carlo run calculating the volume of regions. If it fails the error pops up. Maybe the region is very small compared to the simulation box? Could you please post the script?

Thanks!

Cheers,
Christoph

Thu, 14 Feb 2013 - 09:24 Permalink
msbentley

In reply to by anonymous_stub (not verified)

Too small region - OK, this could be it - that the region is big enough when running with a single CPU, but when running with spatial domain decomposition the individual fill regions are smaller than the threshold. I'll check back on the script and post if I still can't get it working - thanks!

Tue, 12 Mar 2013 - 09:40 Permalink

Hi all,

I have a script that works perfectly on a single core (i.e. no MPI), but when I run in MPI it runs fine for a while, and then after a region definition gives an error:

ERROR: Unable to calculate region volume - are you operating on a 2d region? (region.cpp:586)

Any clues if this is a bug, or a problem in my script? In the source this comes from:

MPI_Sum_Scalar(n_in_global,n_in_global_all,world);
if(n_in_global_all == 0)
error->all(FLERR,"Unable to calculate region volume - are you operating on a 2d region?");

Thanks!!

Mark