Commit Graph

882 Commits

Author SHA1 Message Date
jpekkila d4cbe287ea Merge branch 'master' into decoupled-standalone-from-core-2020-08-19 2020-08-20 14:32:26 +03:00
Miikka Vaisala ea93a556b3 Updated a working mpirun instruction to the readme. 2020-08-20 13:47:09 +08:00
jpekkila b0cfceab98 Merged with master 2020-08-19 16:16:06 +03:00
jpekkila 6e5f0726b7 Needed one more flag to force MPI to use the C interface 2020-08-19 16:05:28 +03:00
jpekkila 46cfa9cd37 Now using MPI C bindings instead of the (deprecated?) C++ bindings due to compilation issues on some machines (error: cast between incompatible function types, ompi_mpi_cxx_op_intercept) 2020-08-19 15:50:16 +03:00
jpekkila 03c0173021 Try #4 2020-08-19 12:07:56 +00:00
jpekkila e32e824a85 Try #3 2020-08-19 11:50:06 +00:00
jpekkila 3f85240d9c Try #2 2020-08-19 11:44:37 +00:00
jpekkila 1c4aac80c3 Autobuild gets stuck due to interactive dialog when installing some package, a potential fix. 2020-08-19 11:36:23 +00:00
jpekkila d6fc9552e9 Merge branch 'master' into decoupled-standalone-from-core-2020-08-19 2020-08-19 13:51:38 +03:00
jpekkila 043237f677 Now samples build even if MPI is not available 2020-08-19 13:50:26 +03:00
jpekkila f9e9a4a4ef Streamlined setting up MPI in the CMakeLists 2020-08-19 13:44:35 +03:00
jpekkila b035dfd6fb Modified CMakeLists.txt: standalone is now built with samples and BUILD_SAMPLES=ON by default 2020-08-19 13:36:40 +03:00
jpekkila e051d72091 Moved standalone from src to samples 2020-08-19 13:35:49 +03:00
jpekkila 38e3fad023 New try 2020-08-19 12:52:45 +03:00
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