- 22 Apr, 2015 1 commit
-
-
Peter W. Draper authored
Former-commit-id: 3873e7e189c397364b81fd22a6530551e47830d9
-
- 17 Apr, 2015 3 commits
-
-
Peter W. Draper authored
Corrected the IC generation scripts IC generation scripts now create files that can be read without problems with the MPI parallel version of the HDF5 library. Solves bug #23. See merge request !11 Former-commit-id: 46c7cc9be9046ce69958a4f1a55fdef7ee628b43
-
Matthieu Schaller authored
Also corrected the FCC version of the Sedov blast grid and changed the maximal value of the smoothing length in the run script. Former-commit-id: ddc3c793b6961d23b243cc6155d66f6d2606b765
-
Matthieu Schaller authored
Corrected the python scripts generating ICs to make them compatible with the parallel HDF5 reading routines. Former-commit-id: 2ba1251a96a9305abf2e0b8528d537732e1da55e
-
- 16 Apr, 2015 1 commit
-
-
Matthieu Schaller authored
Mpi fixes The initial grid was lopsided due to some pretty stupid math on my behalf. The first few iterations before `engine_redistribute` kicks in are now much faster. See merge request !10 Former-commit-id: 17d6f25b014e6993faa55b1142313888f310ac96
-
- 15 Apr, 2015 2 commits
-
-
Pedro Gonnet authored
Former-commit-id: 168b1f7d0cf58c029fd92aaf1f0726c24734af2e
-
Peter W. Draper authored
Mpi fixes Fixes latest bug in #16. Was generating tags for the sends/receives directly from the cell pointer addresses (they need to be per-cell unique identifiers). Turns out this was not a particularly robust solution as the maximum ID value is bounded to < 30 bits. Switched to using a global counter, seems to work fine now. See merge request !9 Former-commit-id: 44c49df999e95f23176a91abadf0e6abc466fabc
-
- 14 Apr, 2015 5 commits
-
-
Pedro Gonnet authored
Former-commit-id: 5d5cc07feb9ce1c40bd3ca273d694f3d558162b8
-
Pedro Gonnet authored
Former-commit-id: bad58888d092be9d723d05383631a64d9a7892c4
-
Pedro Gonnet authored
derive cell tags from a global counter, no longer from the cell pointer as IntelMPI has a maximum value below 30 bits for its tags. Former-commit-id: 18b6a9a9833a747d962bfb7657905811e3051620
-
Matthieu Schaller authored
Autotools update Fix for issue #17. See merge request !8 Former-commit-id: 453c1467b7f100396e48f867eff1b4004f2919de
-
Peter W. Draper authored
The compiler modules at Durham rely on this working. Former-commit-id: 5f2016f136c4a3b023451b153c02870d5981c386
-
- 10 Apr, 2015 1 commit
-
-
Matthieu Schaller authored
MPI fixes Found and fixed the bug, can now do the following locally on `cosma-a`: ``` [nnrw56@cosma-a examples]$ mpirun -np 4 ./test_fixdt_mpi -r 100 -t 2 -g "2 2 1" -f CosmoVolume/cosmoVolume.hdf5 -m 0.705 -w 6000 -z 300 -d 1e-8 [000] main: MPI is up and running with 4 nodes. [000] main: grid set to [ 2 2 1 ]. [000] main: maximum h set to 7.050000e-01. [000] main: sub size set to 6000. [000] main: split size set to 300. [000] main: dt set to 1.000000e-08. [000] main: sizeof(struct part) is 128 bytes. [000] main: sizeof(struct gpart) is 64 bytes. [000] main: Unit system: U_M = 1.000000e+00 g. [000] main: Unit system: U_L = 1.000000e+00 cm. [000] main: Unit system: U_t = 0.000000e+00 s. [000] main: Unit system: U_I = 1.000000e+00 A. [000] main: Unit system: U_T = 1.000000e+00 K. [000] main: Density units: 1.000000e+00 a^-3.000000 h^2.000000. [000] main: Entropy units: inf a^4.000000 h^-1.333333. [000] main: reading particle properties took 1245.615 ms. [000] space_regrid: h_max is 4.081e-01 (cell_max=7.050e-01). [000] space_regrid: h_max is 4.081e-01 (cell_max=7.050e-01). [000] space_regrid: h_max is 4.081e-01 (cell_max=7.050e-01). [000] space_regrid: h_max is 4.081e-01 (cell_max=7.050e-01). [000] space_regrid: set cell dimensions to [ 6 6 6 ]. [000] main: space_init took 40.547 ms. [000] main: dt_max is 1.000000e-08. [000] main: space dimensions are [ 6.250 6.250 6.250 ]. [000] main: space is periodic. [000] main: highest-level cell dimensions are [ 6 6 6 ]. [000] main: 460281 parts in 216 cells. [000] main: maximum depth is 0. [000] space_regrid: set cell dimensions to [ 6 6 6 ]. [000] main: nr_nodes is 4. [000] main: map_cellcheck picked up 0 parts. [000] main: nr of cells at depth 0 is 216. [000] main: nr_nodes is 4. [000] space_regrid: set cell dimensions to [ 6 6 6 ]. [000] main: nr_nodes is 4. [000] space_regrid: set cell dimensions to [ 6 6 6 ]. [000] main: nr_nodes is 4. [002] engine_init: cpu map is [ 0 32 16 48 8 24 40 56 4 12 20 28 36 44 52 60 2 6 10 14 18 22 26 30 34 38 42 46 50 54 58 62 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 [001] engine_init: cpu map is [ 0 32 16 48 8 24 40 56 4 12 20 28 36 44 52 60 2 6 10 14 18 22 26 30 34 38 55 57 59 61 63 ]. [000] engine_init: cpu map is [ 0 32 16 48 8 24 40 56 4 12 20 28 36 44 52 60 2 42 46 50 54 58 62 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 6 10 14 18 22 26 30 34 38 42 46 50 54 58 62 1 3 5 7 9 11 43 45 47 49 51 53 55 57 59 61 63 [003] engine_init: cpu map is [ 0 32 16 48 8 24 40 56 4 12 20 28 36 44 52 60 2 6 10 14 18 22 26 30 34 38 42 46 50 54 58 62 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 ]. 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 ]. ]. [000] main: engine_init took 4.417 ms. [001] engine_redistribute: node 1 now has 381147 parts in 48 cells. [003] engine_redistribute: node 3 now has 139728 parts in 24 cells. [000] engine_redistribute: node 0 now has 804888 parts in 96 cells. [002] engine_redistribute: node 2 now has 515364 parts in 48 cells. [003] main: writing particle properties took 1152.966 ms. [003] main: starting for 100 steps with 2 threads and 2 queues... [000] main: writing particle properties took 1134.348 ms. [000] main: starting for 100 steps with 2 threads and 2 queues... # step time e_tot e_kin e_temp dt dt_step count dt_min dt_max [002] main: writing particle properties took 1134.243 ms. [002] main: starting for 100 steps with 2 threads and 2 queues... [001] main: writing particle properties took 1154.141 ms. [001] main: starting for 100 steps with 2 threads and 2 queues... [000] space_regrid: h_max is 3.205e-01 (cell_max=0.000e+00). [001] space_regrid: h_max is 3.205e-01 (cell_max=0.000e+00). [002] space_regrid: h_max is 3.205e-01 (cell_max=0.000e+00). [003] space_regrid: h_max is 3.205e-01 (cell_max=0.000e+00). [003] engine_rebuild: task counts are [ none=0 sort=2080 self=3492 pair=14880 sub=0 ghost=24 kick1=0 kick2=24 send=144 recv=144 link=646 grav_pp=0 grav_mm=0 grav_up=0 grav_down=0 skipped=0 ] [003] engine_rebuild: nr_parts = 139728. [001] engine_rebuild: task counts are [ none=0 sort=5228 self=8888 pair=38558 sub=0 ghost=48 kick1=0 kick2=48 send=192 recv=204 link=1785 grav_pp=0 grav_mm=0 grav_up=0 grav_down=0 skipped=0 ] [001] engine_rebuild: nr_parts = 381147. [002] engine_rebuild: task counts are [ none=0 sort=7461 self=12822 pair=53006 sub=0 ghost=48 kick1=0 kick2=48 send=192 recv=192 link=2277 grav_pp=0 grav_mm=0 grav_up=0 grav_down=0 skipped=0 ] [002] engine_rebuild: nr_parts = 515364. [000] engine_rebuild: task counts are [ none=0 sort=11195 self=19260 pair=82086 sub=0 ghost=96 kick1=0 kick2=96 send=252 recv=240 link=3755 grav_pp=0 grav_mm=0 grav_up=0 grav_down=0 skipped=0 ] [000] engine_rebuild: nr_parts = 804888. 0 1.000000e-08 5.1730708358525280e+06 2.2517348558944156e+06 2.9213359799581119e+06 1.000e-08 3.403e+38 0 1.201e-08 1.686e-03 0.000 334.257 1.779 55.402 1706.244 1974.563 1060.687 0.000 65049.109 55063.251 0.000 0.000 0.000 0.000 19044.610 19205.921 533.745 512.945 5.383 72369.969 72706.348 1 2.000000e-08 5.1730711787431166e+06 2.2517240292652557e+06 2.9213471494778614e+06 1.000e-08 3.403e+38 0 1.199e-08 1.686e-03 0.000 5.281 0.000 58.884 0.000 848.888 1054.040 0.000 21747.300 23349.203 0.000 0.000 0.000 0.000 0.000 39.853 3009.585 1481.495 1138.413 25084.257 30963.648 2 3.000000e-08 5.1730711972561674e+06 2.2517138635396268e+06 2.9213573337165406e+06 1.000e-08 3.403e+38 0 1.351e-08 1.686e-03 0.000 1.795 0.000 60.258 0.000 842.590 1057.486 0.000 21162.531 23289.499 0.000 0.000 0.000 0.000 0.000 39.831 1632.495 1394.155 160.481 24067.260 30685.746 3 4.000000e-08 5.1730711973641682e+06 2.2517043660566136e+06 2.9213668313075551e+06 1.000e-08 3.403e+38 0 1.451e-08 1.686e-03 0.000 1.786 0.000 57.933 0.000 839.370 1057.145 0.000 21350.334 23216.613 0.000 0.000 0.000 0.000 0.000 39.686 5506.825 2691.968 2756.773 26057.512 31147.877 4 5.000000e-08 5.1730711878426019e+06 2.2516955296040117e+06 2.9213756582385898e+06 1.000e-08 3.403e+38 0 1.551e-08 1.686e-03 0.000 1.705 0.000 59.648 0.000 832.407 1058.578 0.000 21301.543 23424.617 0.000 0.000 0.000 0.000 0.000 39.826 2924.990 1717.112 1175.071 24843.851 30848.812 ``` All nodes now agree on the top-level grid, which is nice. This was the source of the bug in #16. Still haven't submitted any real jobs with it, but it's getting late and I really have to get to bed. See merge request !7 Former-commit-id: 0eb1f7b3cf45940913213244ef745b1c50be74f3
-
- 09 Apr, 2015 2 commits
-
-
Pedro Gonnet authored
Former-commit-id: 268a1b6c142ba31132690bc90e8338e2cb9df8ec
-
Pedro Gonnet authored
Autotools update Adds additional libraries for MPI and an option for the gcc address sanitizer. See merge request !6 Former-commit-id: a18be2a8b1b2cf35b15336eeb93e59bbac2d79b1
-
- 30 Mar, 2015 1 commit
-
-
Peter W. Draper authored
Note that PLATFORM doesn't really work as it outputs the message: MPI_File_open is not yet thread safe so cannot be used with a parallel HDF. Improve configuration for the METIS library. Only apply the sanitizer flags for a real GCC, not those who support GNU extensions. Tidy up examples Makefile.am to remove compiler specific flags. Former-commit-id: 8cac59db8fc27033c9f83c13e9d037b757ae64d2
-
- 28 Mar, 2015 1 commit
-
-
Matthieu Schaller authored
Fix examples See merge request !5 Former-commit-id: c60ad5a329706e7393f3ee39e9e3e75e1ac5f518
-
- 27 Mar, 2015 2 commits
-
-
Pedro Gonnet authored
Former-commit-id: f70103fbcb4a34cbb07fa69a448cc7046d9c0ea4
-
Pedro Gonnet authored
Autotools update Rationalise the use of optimization macros and a lot of other related tidyups. Add options to not optimize and add debugging flags. Start a description of how to build SWIFT. See merge request !4 Former-commit-id: 0056b73c37f873181468e9d7cb6cfaffb431371d
-
- 23 Mar, 2015 4 commits
-
-
Peter W. Draper authored
Also add a section to output the main configuration values, compiler and flags Add METIS library to LDFLAGS of examples, otherwise the code will not link Former-commit-id: 012e4a05b70258fa78bdc8ae4e06708abd8fbe83
-
Peter W. Draper authored
Former-commit-id: 5d40a7758b2176d1a73213d239b3a71d8ba97bcd
-
Peter W. Draper authored
These are now AX_ Former-commit-id: 8cad87bc27c45d1695b38f1a8db248333f1bb97f
-
Peter W. Draper authored
Needs a GCC version 4.8.0 or later Former-commit-id: e6c52bd861031a931bc4017e38436a2c3886cbcc
-
- 20 Mar, 2015 1 commit
-
-
Peter W. Draper authored
The intel compiler warns that each flag is superceded by previous one, so just use the most specific, note this also means that GCC will only see one flag. Former-commit-id: b7ae1ae756dec010b97826833768a67197292444
-
- 19 Mar, 2015 6 commits
-
-
Pedro Gonnet authored
Former-commit-id: f5c1325cc9fe86669804d6ed56681a5caf0865e0
-
Pedro Gonnet authored
Former-commit-id: 07caec88409232eec893bff463770b1fded8f2bc
-
Pedro Gonnet authored
Former-commit-id: 600e09db0adf4742d48ed3ea66caaaec8a2d52cc
-
Pedro Gonnet authored
Former-commit-id: f27a058089062f081bd68ce7ccd6421142047bf2
-
Pedro Gonnet authored
This reverts commit d2d2ce03261ac0c5f6d8461dc68366785c652313. Former-commit-id: 4a91a31e08967dfb665fde875c68022946dead6c
-
Pedro Gonnet authored
Former-commit-id: 451931f9664da5a0930ce0f48585ec9885e1e97c
-
- 11 Mar, 2015 5 commits
-
-
Peter W. Draper authored
Former-commit-id: ad5e6da0d37ceae6bf2b07e64f88d7d992ba8d0e
-
Peter W. Draper authored
We have 2.63 and 2.64 is required! Former-commit-id: af0f689646357c801e085f58ea4184024e0de9fb
-
Peter W. Draper authored
Also add ability to disable optimizations and add debugging flags Former-commit-id: 3064d197009712af27b78692a93a353b6ff668fa
-
Peter W. Draper authored
Former-commit-id: a1fc5905dfc2251de417855221c82aa10e66e1d4
-
Peter W. Draper authored
Former-commit-id: 3ac7671fdaeaebadf4c379fd90dea8a4f3e2e4e6
-
- 10 Mar, 2015 4 commits
-
-
Peter W. Draper authored
Various reorganisations to make sure that the compiler flags are not lost Lots of compilers warnings to still resolve Former-commit-id: 63fb4ac0f7e6f2885a11edc101108edc169f5c76
-
http://www.gnu.org/software/autoconf-archivePeter W. Draper authored
Former-commit-id: 616cdcb2e1d83ca5bffcd1787df8398b3dbff62b
-
Peter W. Draper authored
Change ordering of some macros to match expected, remove some out of date options Former-commit-id: b3b8cb190dd98b5603e32e91c3a1333cf3729407
-
Peter W. Draper authored
These belong in configure.ac and top-level Makefile.am Former-commit-id: 5a1d813e9537eb32cf6d7f86d8ebf0113add9ca8
-
- 09 Mar, 2015 1 commit
-
-
Matthieu Schaller authored
Scheduler doforcesplit off The scheduler_doforcesplit flag will make the scheduler split tasks that have too many particles even if the smoothing lengths inside the cells are too large. This means that interactions will be generated with cells outside of the 27 direct neighbours. Switching this off for now as it causes massive problems with engine_addlinks, which assumes a maximum number of density/force tasks per cell. I have added a comment warning users to this effect, should re-design engine_addlinks at some point to avoid this type of problem. Note that I don't want to remove this option permanently as it could be useful in cases with density gradients >2. See merge request !3 Former-commit-id: 7dbeba7b1af4f75e17648935ac5409c0a2e617ab
-