- 17 Aug, 2015 1 commit
-
-
Peter W. Draper authored
These are needed when the environment CFLAGS do not point at the HDF5 include directory. Use CPPFLAGS as CFLAGS is not set Former-commit-id: cd1da96aeecf3e8abce21946d0b1168ae6159e53
-
- 31 Jul, 2015 1 commit
-
-
Peter W. Draper authored
Previously --with-metis=<location> only picked up the library, not the headers, we now require the installation root, not the directory with the library Former-commit-id: cad63fbc2562b553aba188801450de8d20d68fbd
-
- 24 Jul, 2015 1 commit
-
-
Peter W. Draper authored
Former-commit-id: c8b7f31c1076d38184bdfcb19a77e7284cb53b4e
-
- 23 Jun, 2015 1 commit
-
-
Peter W. Draper authored
This can happen if a zip/tar of the source code is download directly from gitlab Former-commit-id: 87b39ab3cf4d53a625511937b8bdda5c9b3a9cf1
-
- 08 May, 2015 1 commit
-
-
Peter W. Draper authored
Former-commit-id: 0cffbe34cf5f2c782442aebdeb4a007944ca851b
-
- 29 Apr, 2015 2 commits
-
-
Peter W. Draper authored
Defines the macro HAVE_PARALLEL_HDF5 and the automake conditional HAVEPARALLELHDF5 if HDF5 is parallel. Former-commit-id: 2ad24c19fade194da91336e59347b96cc69d76ed
-
Peter W. Draper authored
Former-commit-id: 4a8913188826e3cb24d0cf176e0df60ae924cf88
-
- 27 Apr, 2015 1 commit
-
-
Pedro Gonnet authored
Mpi fixes Batch jobs on the COSMA4 queue (using intel compiler and MPI) do not run. The main reason is an overrun of the cpuid array because of the number of cores (not a power of 2). This patch attempts to fix that. Also includes an additional fix for a incorrect size memcpy I discovered. See merge request !12 Former-commit-id: 19f3277120365d6722cfbddc94c97cb04bda1326
-
- 24 Apr, 2015 1 commit
-
-
Peter W. Draper authored
The hdf5 compiler doesn't understand the builtin paths of the mpicc command, so don't check the include path, just the libs Former-commit-id: ee7a02c3721c4a8aa41b0c009d83bc1ebc8c901f
-
- 23 Apr, 2015 2 commits
-
-
Matthieu Schaller authored
Autotools attempts Add version and git revision functions to SWIFT. See merge request !13 Former-commit-id: b60562cb50b11066a067e6e5fde32462798120ea
-
Peter W. Draper authored
Add package description function and simple documentation Former-commit-id: c363b8223a62e9c5752a2e0ade55e3b96e341985
-
- 22 Apr, 2015 2 commits
-
-
Peter W. Draper authored
of the cpuid array was happening (COSMA4 has 24 cores per node). There may be better solutions, one just refuses to accept invalid ids using the existing calculation that runs cleanly to the next power of 2. Former-commit-id: e698ada22eb1240257feb31505a55dfde386e105
-
Peter W. Draper authored
Former-commit-id: 3873e7e189c397364b81fd22a6530551e47830d9
-
- 20 Apr, 2015 1 commit
-
-
Peter W. Draper authored
versions. Tidy up autoconf to keep simple. Fix dependencies so that we do not keep rebuilding library and examples. Former-commit-id: ebff646b432b6982965d059c8e54a24969575fcd
-
- 19 Apr, 2015 1 commit
-
-
Matthieu Schaller authored
The Makefile now generates a file containing the git revision hash key of the project. A temporary file is used for the distributed tarball versions. Former-commit-id: ca3f77c1607c85ef4a236d15717bb85131605789
-
- 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 2 commits
-
-
Pedro Gonnet authored
Former-commit-id: f5c1325cc9fe86669804d6ed56681a5caf0865e0
-
Pedro Gonnet authored
Former-commit-id: 07caec88409232eec893bff463770b1fded8f2bc
-