[Users] Illegal number of boundary points

Erik Schnetter schnetter at cct.lsu.edu
Mon Mar 12 20:47:47 CDT 2012


Maria

I don't see how this line could be triggered when the number of
boundary points is zero.

Can you output bnd_points[2*d+f] and cctk_lsh[d] (both are ints)
before the error message, or look at them in a debugger?

-erik

On Mon, Mar 12, 2012 at 1:51 PM, Babiuc-Hamilton, Maria
<babiuc at marshall.edu> wrote:
> The error is:
>
> WARNING level 0 in thorn CarpetReduce processor 0 host babiuc-9
>  (line 96 of /home/babiuc/EinsteinToolkit/Cactus/configs/carpetwave/build/CarpetReduce/mask_coords.c):
>  -> Illegal number of boundary points
> WARNING level 0 in thorn CarpetReduce processor 0 host babiuc-9
>  (line 96 of /home/babiuc/EinsteinToolkit/Cactus/configs/carpetwave/build/CarpetReduce/mask_coords.c):
>  -> Illegal number of boundary points
> cactus_carpetwave: /home/babiuc/EinsteinToolkit/Cactus/configs/carpetwave/build/Carpet/helpers.cc:272: int Carpet::Abort(const cGH*, int): Assertion `0' failed.
> Rank 0 with PID 7048 received signal6
> Writing backtrace to testcells/backtrace.0.txt
> Aborted
>
> thank you,
> Maria
>
> ________________________________________
> From: Erik Schnetter [schnetter at cct.lsu.edu]
> Sent: Sunday, March 11, 2012 10:01 AM
> To: Babiuc-Hamilton, Maria
> Cc: users at einsteintoolkit.org
> Subject: Re: [Users] Illegal number of boundary points
>
> What is the error message you are seeing?
>
> -erik
>
> On Sat, Mar 10, 2012 at 5:54 PM, Babiuc-Hamilton, Maria
> <babiuc at marshall.edu> wrote:
>> Hello,
>>
>> It seems that CarpetReduce does not allow me to run the executable with the following parameter choice:
>>
>> CoordBase::boundary_size_x_upper     = 0
>> CoordBase::boundary_size_y_upper     = 0
>> CoordBase::boundary_size_z_upper     = 0
>>
>> CoordBase::boundary_shiftout_x_upper = 0
>> CoordBase::boundary_shiftout_y_upper = 0
>> CoordBase::boundary_shiftout_z_upper = 0
>>
>> The offending line was commented out on Mac I I have forgotten about it.
>> Is there a reason I am overlooking of why I cannot have this combination of paramentes?
>>
>> thank you,
>> Maria
>> ________________________________________
>> From: Erik Schnetter [schnetter at cct.lsu.edu]
>> Sent: Saturday, March 10, 2012 7:08 AM
>> To: Babiuc-Hamilton, Maria
>> Cc: users at einsteintoolkit.org
>> Subject: Re: [Users] Illegal number of boundary points
>>
>> Maria
>>
>> The respective check (in line 96) ensures that the number of boundary
>> points is non-negative, and that it is not larger than the total
>> number of points on this process. Zero boundary points satisfy both
>> properties.
>>
>> Can you check that this condition reads indeed
>>
>>        if (bnd_points[2*d+f] < 0 || bnd_points[2*d+f] > cctk_lsh[d]) {
>>
>> on both computers? If so, something is strange on the Ubuntu system.
>>
>> -erik
>>
>> On Fri, Mar 9, 2012 at 4:46 PM, Babiuc-Hamilton, Maria
>> <babiuc at marshall.edu> wrote:
>>> Hello,
>>>
>>> The CarpetReduce thorn does not allow boundary_size = 0, although the Coordbase thorn provides this capabilitiy.
>>> The error is:
>>> WARNING level 0 in thorn CarpetReduce processor 0 host babiuc-9
>>>  (line 96 of /home/babiuc/EinsteinToolkit/Cactus/configs/fourierwave/build/CarpetReduce/mask_coords.c):
>>>  -> Illegal number of boundary points
>>> WARNING level 0 in thorn CarpetReduce processor 0 host babiuc-9
>>>  (line 96 of /home/babiuc/EinsteinToolkit/Cactus/configs/fourierwave/build/CarpetReduce/mask_coords.c):
>>>  -> Illegal number of boundary points
>>> cactus_fourierwave: /home/babiuc/EinsteinToolkit/Cactus/configs/fourierwave/build/Carpet/helpers.cc:272: int Carpet::Abort(const cGH*, int): Assertion `0' failed.
>>> Rank 0 with PID 18884 received signal6
>>> Writing backtrace to wavetest/backtrace.0.txt
>>> Aborted
>>>
>>> This happens on a Ubuntu. On a MacOS, the problem seems to be overlooked. The parameter file is attached.
>>>
>>> thanks,
>>> Maria
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at einsteintoolkit.org
>>> http://lists.einsteintoolkit.org/mailman/listinfo/users
>>>
>>
>>
>>
>> --
>> Erik Schnetter <schnetter at cct.lsu.edu>
>> http://www.perimeterinstitute.ca/personal/eschnetter/
>
>
>
> --
> Erik Schnetter <schnetter at cct.lsu.edu>
> http://www.perimeterinstitute.ca/personal/eschnetter/



-- 
Erik Schnetter <schnetter at cct.lsu.edu>
http://www.perimeterinstitute.ca/personal/eschnetter/


More information about the Users mailing list