Commit Graph

967 Commits

Author SHA1 Message Date
jpekkila
15785f6c44 Revert "Updated README.md that MPI runs are production-ready."
This reverts commit 0a26112a93.
Bitbucket editor mangled the file for some reason.
2020-08-19 12:51:22 +03:00
jpekkila
0a26112a93 Updated README.md that MPI runs are production-ready. 2020-08-19 09:48:39 +00:00
jpekkila
a85b8b8cd1 MPI: corners are now transferred by default because 1) with those Astaroth works with any symmetric stencil and 2) corners have very small impact on performance. Also disabled resetting the device s.t. one could potentially assign many subgrids to one GPU (f.ex. in AMR) 2020-08-19 12:05:20 +03:00
jpekkila
7f7b0b89ea Fetched improvements to benchmarks from the mpi-paper-benchmarks branch 2020-08-19 12:03:15 +03:00
jpekkila
eb86ce09f4 I have inspected the branch and it complies and functions fine in my system. NOTE: I could not test MPI at the moment, but it should not prevent the merge.
Merged in mpi-to-master-merge-candidate-2020-06-01 (pull request #12)

Astaroth 2.3
2020-08-19 06:54:34 +00:00
jpekkila
0872695c48 Updated API_specification_and_user_manual.md with info on the acGrid layer 2020-07-30 14:38:12 +00:00
jpekkila
5185a4d471 README.md edited online with Bitbucket 2020-07-30 13:58:11 +00:00
jpekkila
fca615defb Removed an old unused file 2020-07-29 20:01:11 +03:00
jpekkila
3afab77533 Removed astaroth_utils from astaroth_core dependencies 2020-07-29 19:58:21 +03:00
jpekkila
a5d6fb4303 Host flags were not propagated to the CUDA compiler, fixed 2020-07-29 19:34:28 +03:00
jpekkila
8fb271bbf3 Upped CMake version to 3.18 and cleaned up CUDA architecture selection 2020-07-29 18:45:10 +03:00
jpekkila
372f9add36 Merge branch 'mpi-to-master-merge-candidate-2020-06-01' of https://bitbucket.org/jpekkila/astaroth into mpi-to-master-merge-candidate-2020-06-01 2020-07-29 18:44:23 +03:00
jpekkila
5e04a61cd2 README.md edited online with Bitbucket 2020-07-29 15:43:58 +00:00
jpekkila
bb821df686 README.md edited online with Bitbucket 2020-07-29 15:19:05 +00:00
jpekkila
cd888be9ec README.md edited online with Bitbucket 2020-07-29 15:17:37 +00:00
jpekkila
31db032f43 Upped the version number 2020-07-29 17:05:07 +03:00
jpekkila
770173a55d Limited automated build time to 5 minutes. 2020-07-29 13:55:22 +00:00
jpekkila
003c202e8c Pulled useful changes from the benchmark branch. GPUDirect RDMA (unpinned) is now the default for MPI communication. 2020-07-29 16:39:24 +03:00
jpekkila
6cab3586cf The generated fortran header is now consistent with fortran conventions. Also cleaned up the C version of the header. 2020-06-29 01:06:30 +03:00
jpekkila
d0ca1f8195 Reduction types are now generated with acc instead of being explicitly declared in astaroth.h 2020-06-28 18:16:19 +03:00
jpekkila
852fae17cf Added a function for getting the GPU count from fortran 2020-06-28 18:15:40 +03:00
jpekkila
50fb54f1aa Added more warnings since its easy to make off-by-one mistakes when dealing with fortran-c-interop 2020-06-28 18:14:54 +03:00
jpekkila
e764725564 acUpdateBuiltinParams now recalculates AC_inv_dsx and others if necessary 2020-06-26 09:54:17 +03:00
jpekkila
6f59890a3f Added loading and storing functions to the fortran interface 2020-06-26 09:52:33 +03:00
jpekkila
ee4b18c81c Merge branch 'mpi-to-master-merge-candidate-2020-06-01' of https://bitbucket.org/jpekkila/astaroth into mpi-to-master-merge-candidate-2020-06-01 2020-06-25 20:40:24 +03:00
jpekkila
39c7fc6c6f Streams are now generated with acc 2020-06-25 20:40:02 +03:00
jpekkila
7e71e32359 Fortran does not seem to really support arrays of pointers, better to modify the interface function to take the f array as an input and use it in C to costruct a proper AcMesh 2020-06-25 20:21:16 +03:00
jpekkila
1b50374cdb Added the rest of the basic functions required for running simulations with the fortran interface 2020-06-25 20:09:35 +03:00
jpekkila
0a19192004 Auto-optimization was not on for all GPUs when using MPI. May have to rerun all benchmarks for the MPI paper. 2020-06-25 19:53:39 +03:00
jpekkila
225c660e0d Merge branch 'mpi-to-master-merge-candidate-2020-06-01' of https://bitbucket.org/jpekkila/astaroth into mpi-to-master-merge-candidate-2020-06-01 2020-06-25 06:44:54 +03:00
jpekkila
172ffc34dc Was missing another fortran file, added 2020-06-25 06:44:27 +03:00
jpekkila
264abddefb bitbucket-pipelines.yml edited online with Bitbucket 2020-06-25 03:41:23 +00:00
jpekkila
f11c5b84fb Forgot the actual interface from previous commits, here it is 2020-06-25 06:36:00 +03:00
jpekkila
c44c3d02b4 Added a sample for testing the Fortran interface 2020-06-25 06:35:13 +03:00
jpekkila
fbb8d7c7c6 Added a minimal Fortran interface to Astaroth 2020-06-25 06:34:16 +03:00
jpekkila
70ecacee7c Reverted the default build options to what they were before merging (again) 2020-06-24 17:04:35 +03:00
jpekkila
196edac46d Added proper casts to modelsolver.c 2020-06-24 17:03:54 +03:00
jpekkila
c0c337610b Added mpi_reduce_bench to samples 2020-06-24 16:42:39 +03:00
jpekkila
fab620eb0d Reordered reduction autotests and made it so that the exact same mesh is used for both the model and candidates instead of the unclean integrated one 2020-06-24 16:34:50 +03:00
jpekkila
ba0bfd65b4 Merged the new reduction functions manually 2020-06-24 16:10:27 +03:00
jpekkila
ff1a601f85 Merged mpi-to-master-merge-candidate-2020-06-01 here 2020-06-24 16:08:14 +03:00
jpekkila
0d1c5b3911 Autoformatted 2020-06-24 15:56:30 +03:00
jpekkila
3c3b2a1885 Reverted the default settings to what they were before merge. Note: LFORCING (1) is potentially not tested properly, TODO recheck. 2020-06-24 15:35:19 +03:00
jpekkila
88f99c12e4 Fixed #fi -> #endif 2020-06-24 15:20:43 +03:00
jpekkila
f04e347c45 Cleanup before merging to the master merge candidate branch 2020-06-24 15:13:15 +03:00
jpekkila
0e4b39d6d7 Added a toggle for using pinned memory 2020-06-11 11:28:52 +03:00
Oskar Lappi
0030db01f3 Automatic calculation of nodes based on processes 2020-06-10 16:51:35 +03:00
jpekkila
1cdb9e2ce7 Added missing synchronization to the end of the new integration function 2020-06-10 12:32:56 +03:00
jpekkila
fa422cf457 Added a better-pipelined version of the acGridIntegrate and a switch for toggling the transfer of corners 2020-06-10 02:16:23 +03:00
Oskar Lappi
c7f23eb50c Added partition argument to mpibench script 2020-06-09 14:07:37 +03:00