aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Added new driver overloadable function for querying array data such as lsh.allen2000-06-22
| | | | | | | Put bbox onto the pGV structure to speed up calling this new overloadable function git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@228 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Removing loop over timelevels in destroying grid arraysallen2000-06-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@227 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Really free comm buffers when destroying a grid array variable.tradke2000-06-22
| | | | | | | | | | | | This fixes a memory leak in PUGH. Also introduced a termination routine for PUGH which destroys the top-most pGH. Now all memory ever allocated by PUGH should be finally freed at CCTK_TERMINATE. Other thorns' termination routines which still need some information from the pGH should register themselfs as "BEFORE Driver_Terminate". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@226 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Replacing allocated message buffer by using CCTK_VInfo().tradke2000-06-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@225 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Bugfix for syncing 1D GArrays.tradke2000-06-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@224 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixed initialization of a pGH's identity_string.tradke2000-06-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@223 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Enabled PUGH to synchronize groups of arrays in one communication calltradke2000-06-14
| | | | | | | | | | | | | | rather than doing it sequentially on individual arrays. Nothing changes for the CCTK routines overloaded by PUGH. For BAM and other thorns which don't care about groups there is now a separate interface to synchronize individual arrays. Also eliminated the restriction to synchronize 1D and 3D arrays only - now it should do arbitrary dims (not yet tested). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@222 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Moved the termination condition check for the main iteration looptradke2000-05-15
| | | | | | | | into a separate routine DoneMainLoop(). Now parameter Cactus::cctk_itlast is really steerable. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@220 b61c5cb5-eaca-4651-9a7a-d64986f99364
* fixing staggering - again. lssh is set from lsh. In the case of staggerings ↵lanfer2000-05-15
| | | | | | other than vertex cntr (istag>0) decrease by one. Tested with a sample GF git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@219 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Splitting setup of pGH structure in PUGH_ScheduleTraverseGH()tradke2000-05-11
| | | | | | | | | | | into PUGH_InitGHBasics() and PUGH_InitGHVariables(). The former is also called by PUGH_InitGH() now so that the cGH structure passed to other thorns' InitGH() routines is initialized somehow. Untabified sources. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@218 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixing a strange assignment. A few rearrangements. Free some more memorygoodale2000-05-11
| | | | | | | | | on destruction of connectivity structure. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@217 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Removing an extraneous free.goodale2000-05-11
| | | | | | | | | Fixes PR 346. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@216 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixing my last commit.goodale2000-05-11
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@215 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixing some strange switch statements.goodale2000-05-11
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@214 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Small memory leaksallen2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@213 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Changed names of PUGH functions to be uniform. Now all PUGH functionsgoodale2000-04-19
| | | | | | | | | should begin with PUGH. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@211 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Putting back the int i needed when MPI is usedallen2000-04-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@210 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Compiler warningallen2000-04-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@209 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Print the name of the variable in a warning message.tradke2000-04-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@208 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Check HAVE_UNISTD_H before including it.goodale2000-04-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@207 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixed typo in rcsidallen2000-04-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@206 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixing rcsid warning.tradke2000-04-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@205 b61c5cb5-eaca-4651-9a7a-d64986f99364
* adding a return value for Exit/Abortlanfer2000-04-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@204 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixing rscid warnings, untabified files, combined identical case statementstradke2000-04-18
| | | | | | | for GROUP_GF and GROUP_ARRAY. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@203 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixing GFExtras to come from GA rather than GHallen2000-04-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@202 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixing bugs I just commited!allen2000-04-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@201 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixing how the pointer to GFExtras is found.allen2000-04-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@200 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Changing in line with the new flesh definition of an overloadable function.goodale2000-04-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@199 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Support for constant sized arrays on each processorallen2000-04-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@198 b61c5cb5-eaca-4651-9a7a-d64986f99364
* #define MPIallen2000-04-04
| | | | | | | | | | | to #define CCTK_MPI need a reconfigure before next build git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@197 b61c5cb5-eaca-4651-9a7a-d64986f99364
* #define MPI becomes #define CCTK_MPIallen2000-04-04
| | | | | | | Need to reconfigure before your next build git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@196 b61c5cb5-eaca-4651-9a7a-d64986f99364
* MPI becomes CCTK_MPIallen2000-04-04
| | | | | | | Need to reconfigure before a new build git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@195 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Use CCTK_MPI rather than MPIallen2000-04-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@194 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Use CCTK_MPI instead of MPIallen2000-04-04
| | | | | | | Reconfigure after you update git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@193 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Removing old files with pGFsallen2000-04-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@192 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Finxing PUGH to sync nect timelevel, not current one. The current timelevelgoodale2000-03-31
| | | | | | | | | should never be touched. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@191 b61c5cb5-eaca-4651-9a7a-d64986f99364
* (pGH *)cctkGH->extensions[] -> pugh_pGH()tradke2000-03-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@190 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Some tidying up and updating of grdoc.goodale2000-03-29
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@188 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Uncommenting XDM etc for now, for EllPETScallen2000-03-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@187 b61c5cb5-eaca-4651-9a7a-d64986f99364
* staggering with PGVlanfer2000-03-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@186 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Trial of memory reporting in PUGH, settingallen2000-03-23
| | | | | | | | | | pugh::storage_verbose = "yes" will give an screen report of the number of grid arrays and the storage they use in bytes each time a variable group has storage enabled/disabled. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@185 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Removing print statementallen2000-03-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@184 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Major changes to PUGH as the dearly loved pGF is removed, and a grid functionallen2000-03-23
| | | | | | | | | | | | | | | | | | | | | | | is lowered to being simply a special case of a grid array, pGA. Grid arrays can all have different sizes, which means that now the size of a GA is moved from the GH to a structure on the GA, along with a lot of other connectivity and additional information which was formerly on the GH. If you need to care about these changes, take a look at the files in src/include/pGH.h and src/include/pGA.h, to see the new structures (I'll leave the old files pGF.h and SetupPGF.c around for a while to compare with). Also, look at a PUGH dependent file which has already been converted, such as CactusPUGHIO/IOASCII/src/Write1D.c. Warning: This commit breaks the development versions of IOHDF5 and IsoSurfacer, these will be fixed real quick. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@182 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Ed Evans routine for overloading the evolve stepallen2000-03-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@181 b61c5cb5-eaca-4651-9a7a-d64986f99364
* removing if (MPI_Active)lanfer2000-03-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@179 b61c5cb5-eaca-4651-9a7a-d64986f99364
* overloading CCTK_Exit with: int pugh_Exit(int retval, cGH *GH)lanfer2000-03-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@178 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Completed DestroyPGH(), added DestroyConnectivity() and DestroyPGextras().tradke2000-03-13
| | | | | | | | | | | This should fix the memory leak in BAM as well as running out of MPI_Type_requests. Thomas git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@177 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixing compiler warnings about unused variables, missing prototypes,tradke2000-03-08
| | | | | | | | | | | and return values. Fixing CactusPUGH-PUGH 264. Thomas git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@176 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Load balancing grid decomposition for PUGH.allen2000-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Contributed by Matei Ripeneau Here are his notes (hopefully there will soon be PUGH docs to add them to): 1. Purpose Allow manual (user specified) grid partitioning 2. Parameters I've added the following parameters to ./PUGH/param.ccl KEYWORD partition "Is the partition manual/automatic" { "automatic" :: "even implicit partition" "manual" :: "specified by partition_#d_XYZ .." } "automatic" STRING partition_1d_X "Tells how to partition on direction X" ... STRING partition_2d_X "Tells how to partition on direction X" ... STRING partition_2d_Y "Tells how to partition on direction Y" ... STRING partition_3d_X "Tells how to partition on direction X" ... STRING partition_3d_Y "Tells how to partition on direction Y" ... STRING partition_3d_Z "Tells how to partition on direction Z" ... (all these strings have default "") How to specify a manual partition? Simpler to explain using an example: partitioning a grid space with 30 x 30 x 30 points for a configuration with 8 processors can be specified as: PUGH::partition = "manual" PUGH::partition_1d_X = "" // uses default PUGH::partition_2d_X = "16:14" PUGH::partition_2d_Y = "7:9:5:9" PUGH::partition_3d_X = "16:14" PUGH::partition_3d_Y = "12:18" PUGH::partition_3d_Z = "17:13" Even if PUGH::partition = "manual" an empty string like PUGH::partition_1d_X = "" will lead to default (even) partition on that direction git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@174 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixing CactusPUGH-PUGH/256 (uninitialised variable)allen2000-03-05
| | | | | | | Removing other warnings git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@173 b61c5cb5-eaca-4651-9a7a-d64986f99364