| Commit message (Collapse) | Author | Age |
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@526 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@525 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@524 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
Check that there are enough grid points to send while synchronizing.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@519 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
| |
Move MPI support from flesh to thorn ExternalLibraries/MPI. This also
requires thorns that call MPI directly to declare this in their
configuration.ccl. Existing configurations using MPI need to include
ExternalLibraries/MPI into their thorn list.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@516 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce cctk_ash, describing the process-local array shape that has
been allocated. This may be larger than cctk_lsh, the process-local
shape that should be used.
Retire cctk_lssh and related infrastructure to handle staggered grid
functions.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@515 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@514 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
| |
expected to fail in some cases, so this should not be of level COMPLAIN. This level was meant for development, but this change is now old enough
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@509 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
| |
Correct error checking logic that would otherwise prevent group 0 from
being synchronised.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@508 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@506 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@505 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@502 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@499 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
| |
be safe.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@498 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It used to fall back to the old method, when some of the spcifications
for nprocs have already been set, because it should not overwrite
something e.g. specified by parameters. If this is not the case,
nprocs is usually initialized with 0es. This was good.
PUGH also tries to be smart and for very small extends in one direction
(smaller than 2*ghostsize) it presets nprocs in that direction with 1.
This is also good.
Now, PUGH presets this before the "automatic" topology generator kicks
in, which means this sees the "1" and falls back to the old method. This
old method however has problems with exactly this type of grid and gets
it wrong (overwriting that "1").
This patch now lets the automatic method only fall back to the old method
if it arrives at a different answer than preset values (if set). (This
fallback is neccessary because it cannot handle all cases which the old
method does.) This fixes the problem because the automatic method also
arrives at the preset value of "1" (and can set the other dimentions which
have not been preset).
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@497 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
| |
are not allowed, as indicated by the flesh parameter
Cactus::allow_mixeddim_gfs. This prevents problems if such topologies
do not exist, e.g. on small grids such as 3x3x200.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@493 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@492 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@491 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
invalid group.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@490 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
allocated.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@489 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
| |
argument into PUGH's overloadable for CCTK_Barrier().
This allows CCTK_Barrier() to be called even before a grid hierarchy exists
(eg. during PARAM_CHECK).
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@488 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
| |
PR 2088.
* Check if malloc returns a null pointer, and if so die with a level 0 warning.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@487 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@486 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
number of processors available only for topology dimensions > 1.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@485 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
check that they sum up to the total number of processors available.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@484 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@483 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
| |
Do not overload CCTK_SyncGroup() anymore by default.
This patch requires the most recent changes in the flesh API to provide the
new overloadable function CCTK_SyncGroupsByDirI(), as discussed in thread
http://www.cactuscode.org/old/pipermail/developers/2006-June/004933.html.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@482 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
| |
PUGH_GenerateTopology an export it
to other thorns.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@481 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
| |
See http://www.cactuscode.org/old/pipermail/patches/2005-November/000118.html
for the start of the thread. The final patch is not available on the patches
mailing list but can eventually be refered to via http://www.aei.mpg.de/~jthorn/spool/pugh-memstats-2.diff.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@480 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
| |
processor_topology="manual" and set processor_topology_* parameters.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@479 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@478 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
| |
parameters (but private instead) so that PUGH and Carpet can still be compiled
together.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@477 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@476 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
routines and introducing a physical to logical processor
mapping.
Now it is possible to register custom topology routines if
you don't like the two ones we have at the moment (the
traditional one and the new one from Frank Loeffler).
You can also provide routines to optimise the placement of
neighbouring processes on the processors by giving a custom
mapping from the numbers PUGH uses for the processors to
the actual MPI processor.
Please treat this registration as semi-volatile for the moment
and coordinate with Dylan if you fancy using it.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@475 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@474 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
| |
comments), and merging two private parameter sections. This commit is purely
cosmetic (and fixes incorrect comments).
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@472 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PUGH:
Up to now, PUGH does not take the actual grid size into account while
setting the number of processors/domains in each direction. This
gives problems, e.g. using boxes like 200x7x7 (with 3 ghostzones). It
also does not really do a good job in situations with non near-cubic
domains (like in bitant mode it devides first in the z-direction,
which is usually the smallest).
I inserted another decomposition algorithm which is looking for the
longest direction and devides this if possible. Because it was done
to be easy to understand, it can fail in certain situations, in which
it is gracefully falling back to the old decomposition (e.g. a cubic
box and 9 processors).
To include this algorithm I added a keyword "automatic_old" to
PUGH::processor_topology. The new behaviour is the default; this
keyword re-enables the old behaviour.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@471 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
|
|
| |
ghost zones to be larger than the number of interior points if there
is only one processor in the corresponding direction. This is
necessary to allow two ghost zones when there is only one interior
grid point, which is often used to set up lower-dimensional domains.
Second part of this patch.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@470 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
|
|
| |
ghost zones to be larger than the number of interior points if there
is only one processor in the corresponding direction. This is
necessary to allow two ghost zones when there is only one interior
grid point, which is often used to set up lower-dimensional domains.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@469 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
are legal, and whether malloc returned a null pointer.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@468 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@466 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
This closes PR 483.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@465 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
storage
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@464 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@463 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
| |
variables, because PUGH cannot handle this case
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@462 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@461 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
| |
specifying the processor-local unghosted grid size -- this is the grid
size that should stay constant for a parallel performance test.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@460 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@459 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
|
|
|
|
| |
"no" because it doesn't seem to be doing any good on Intel processors and
actually decreases performance on Opterons.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@458 b61c5cb5-eaca-4651-9a7a-d64986f99364
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@457 b61c5cb5-eaca-4651-9a7a-d64986f99364
|