Commit Graph

  • fc03675d61 add gaussian explosion code gaussian_explosion Carl Pearson 2021-03-24 16:45:05 -06:00
  • 5cdedc29dc Removed AVX dependency from the core library (astaroth_core). Astaroth utils (astaroth_utils) still requires it though because the model CPU solver uses vectorization. jpekkila 2021-02-17 13:07:16 +02:00
  • f697b53b01 Auto-format of astaroth.h jpekkila 2021-02-07 19:53:49 +02:00
  • 2dbf703c59 Filed line integration and other smaller python tools. Miikka Vaisala 2021-01-11 11:27:12 +08:00
  • 7878811820 Merged in host-layer-renaming-2020-11-24 (pull request #17) jpekkila 2020-11-25 03:37:40 +00:00
  • 5df695b4b1 Merge branch 'master' into host-layer-renaming-2020-11-24 jpekkila 2020-11-24 22:00:30 +02:00
  • 5a29543727 Merge branch 'alt_bcond_2020_09' jpekkila 2020-11-24 21:59:09 +02:00
  • b6bb53a75c Missed some renamings jpekkila 2020-11-24 21:39:44 +02:00
  • bcacc357d3 Now all host functions start with acHost to avoid confusion on whether the function operates on host or device memory jpekkila 2020-11-24 21:32:43 +02:00
  • 095f863097 Added functions acSetVertexBuffer, acNodeSetVertexBuffer, and acDeviceSetVertexBuffer for setting device memory directly to some constant jpekkila 2020-11-24 21:29:14 +02:00
  • d83fd173fa Merged in alt_bcond_2020_09 (pull request #16) Miikka Väisälä 2020-11-23 10:24:01 +00:00
  • 850394760a Made strong scaling benchmark the default (was weak for some reason) jpekkila 2020-11-23 12:19:16 +02:00
  • 11eddabbd6 Merge branch 'master' into alt_bcond_2020_09 Miikka Vaisala 2020-11-23 15:47:46 +08:00
  • 543c565e5d Dummy at the moment, but now the boundary condition kernel caller can see what vertex buffer name is in use. Miikka Vaisala 2020-11-23 15:43:52 +08:00
  • 2f0f6ceac2 Functioning symmetric antisymmetric boundary condition. Miikka Vaisala 2020-11-23 15:19:47 +08:00
  • d4ee066b3c Periodic boundary conditions work with switchable system. Miikka Vaisala 2020-11-20 17:00:48 +08:00
  • 288693fab5 Flexible boundary conditions called from simulation.cc Miikka Vaisala 2020-11-20 16:31:13 +08:00
  • 4add619e2f Calling boundconds compiles again. Miikka Vaisala 2020-11-20 16:22:47 +08:00
  • 06bacf298a Created local_boundcondstep_GBC() Miikka Vaisala 2020-11-20 16:07:33 +08:00
  • f87d65408c Added acBoundcondStepGBC() for flexible boundary conditions. Miikka Vaisala 2020-11-20 15:42:54 +08:00
  • 8732480cd9 Added acIntegrateGBC() Miikka Vaisala 2020-11-20 15:37:37 +08:00
  • efd3cc40cd Compiles without the API funtion call. Miikka Vaisala 2020-11-20 14:11:14 +08:00
  • cb15668f2d Figuring out compilations. Miikka Vaisala 2020-11-20 11:58:15 +08:00
  • e3eb782213 Sorry for the compilation problem. Corrected. Miikka Vaisala 2020-11-20 11:11:54 +08:00
  • dd9dd5e8ce Merged in synch_collapse_2020_11 (pull request #15) Miikka Väisälä 2020-11-19 07:19:01 +00:00
  • 204f075343 AC_unit_magnetic in dsl Miikka Vaisala 2020-11-19 15:14:28 +08:00
  • a463fd492f Synched simulation.cc with existing work. Miikka Vaisala 2020-11-19 14:31:10 +08:00
  • f61223c02b The number of default streams is now 32 jpekkila 2020-11-11 13:18:29 +02:00
  • dff560561e Explicit casting during error checking jpekkila 2020-11-03 10:28:58 +02:00
  • 349093768d Added acMeshRandomize to astaroth.h to keep core and utils separate jpekkila 2020-11-02 17:14:26 +02:00
  • d48a478254 Removed duplicate genbenchmarkscripts jpekkila 2020-11-02 16:39:01 +02:00
  • 00b7b537ce Modifications for master merge: reverted CMakeLists.txt to the original, disabled mixed precision by default jpekkila 2020-11-02 10:58:18 +02:00
  • bf7eb83084 Updated benchmark script jpekkila 2020-10-29 16:34:48 +02:00
  • ae0d4de23c The root host mesh is no longer allocated during benchmarking as this caused out-of-memory errors in weak scaling tests jpekkila 2020-10-29 16:33:41 +02:00
  • 0a2827593c Added very experimental implementation for mixed precision. Comm is done with f32 and comp with f64. jpekkila 2020-10-28 12:56:34 +02:00
  • c1f2a6c340 Setup for benchmarks jpekkila 2020-10-28 12:55:32 +02:00
  • d060e67bec Includes also Miikka Vaisala 2020-10-06 18:16:24 +08:00
  • cf6b21e3ab Created separate acGridIntegrateNonperiodic() Miikka Vaisala 2020-10-06 17:49:36 +08:00
  • 681035275d Draft of symmetric/antisymmetric boundary condition. Miikka Vaisala 2020-09-30 14:38:27 +08:00
  • 8667e2b2ec Entering kernel level Miikka Vaisala 2020-09-29 18:46:41 +08:00
  • 711cc4d350 Moving code in wrong place. Miikka Vaisala 2020-09-29 16:36:43 +08:00
  • 9386129f1b Cleaning and improving the boundary condition draft. Miikka Vaisala 2020-09-29 16:31:16 +08:00
  • 2f85cbba1a Last mimnnut modification before the meeting. Miikka Vaisala 2020-09-21 15:54:33 +08:00
  • f33f0dab65 Merge branch 'master' into alt_bcond_2020_09 Miikka Vaisala 2020-09-21 15:49:10 +08:00
  • eb9090cc90 Added a helpful template script for running Astaroth simulations. Miikka Vaisala 2020-09-21 15:19:55 +08:00
  • 1868031f1e Working on marking the active edges. Miikka Vaisala 2020-09-18 17:25:34 +08:00
  • f736aa1cd1 Attemptiong to make kernels to go where they should. Miikka Vaisala 2020-09-18 16:55:36 +08:00
  • 67aa87731b Crafting code. Attempting to figure out the MPI domain decomposition etc. Miikka Vaisala 2020-09-18 15:25:14 +08:00
  • b81180ff19 Desperate but perhaps wrongminded attempts. Miikka Vaisala 2020-09-15 19:08:32 +08:00
  • 8146857dd5 Merged in dignostics_2020_09 (pull request #14) Miikka Väisälä 2020-09-14 10:36:16 +00:00
  • d56c7ef312 Updated modelsolver to use the same induction equation as the updated DSL kernel jpekkila 2020-09-14 13:28:44 +03:00
  • 6d2be634d7 Simulation.cc sets LBFIELD (1) only if BFIELDX has been defined in the DSL jpekkila 2020-09-14 13:27:56 +03:00
  • 830b8ad179 Disabled LBFIELD by default as there are no autotests for it jpekkila 2020-09-14 13:27:09 +03:00
  • 784ff61436 Merge branch 'master' into dignostics_2020_09 jpekkila 2020-09-14 13:03:32 +03:00
  • 4372a378ed Plot Alfven speeds. Miikka Vaisala 2020-09-14 15:46:46 +08:00
  • 66afc21162 Improved Python file reading routines. Miikka Vaisala 2020-09-14 15:40:29 +08:00
  • 948b16aaaa Added vidualization properties to python samples. Miikka Vaisala 2020-09-14 15:19:48 +08:00
  • 7f8e6f90e0 Changed default swithces. Miikka Vaisala 2020-09-14 14:58:10 +08:00
  • 2538271ef8 Added slightly edited notes about autotesting. Miikka Vaisala 2020-09-14 11:39:01 +08:00
  • e9e247c526 NOW COMPILES. Improvements to timestepping. Miikka Vaisala 2020-09-11 17:03:10 +08:00
  • 66662c1603 Defines for new diagnostics. Miikka Vaisala 2020-09-11 16:52:12 +08:00
  • 6c0cb5e88f Diagnostic kernel addition to calculate vAfven. Miikka Vaisala 2020-09-11 16:22:18 +08:00
  • 94d1d053bc ReduceVecScal calls added. For Alfven speeds. Miikka Vaisala 2020-09-11 15:54:53 +08:00
  • b815b62aa7 Enhanced simulation cc. Now magnetic fields diagnostics invoked if needed. Miikka Vaisala 2020-09-11 14:59:32 +08:00
  • 450526b8e1 B-field calculation to the DSL file. Miikka Vaisala 2020-09-11 13:23:01 +08:00
  • 7848dedfbe Gauge correction to the induction equation for the sake of numerical stability. Miikka Vaisala 2020-09-11 11:58:09 +08:00
  • b7e7853b10 Added an error message if trying to load device constants without MPI jpekkila 2020-08-24 19:41:53 +03:00
  • cec9a23dc0 Added a stripped down MPI version of standalone: standalone_mpi. In fact, it's more like a pure simulation module since I've dropped real-time rendering and other old parts that do not work with MPI without heavy modifications. The most important functionalities in addition to simulation have already been adapted to work with MPI (samples/benchmark and samples/mpi) so there's no need to re-create them in standalone_mpi. The current version of standalone_mpi is able to run a basic simulation and I get an agreement with non-mpi and mpi versions after 100 timesteps. There's also draft that's a direct adaptation of what's currently in standalone/simulation.cc (it should be 100% equivalent), but it's currently commented out as I haven't done extensive tests with it. jpekkila 2020-08-24 19:03:03 +03:00
  • f21c6a8c0b Disabled LFORCING and LUPWD temporarily until the new MPI standalone module is properly tested jpekkila 2020-08-24 18:46:38 +03:00
  • 4052120f52 dt wasn't propagated properly to all GPUs when computing integration steps, fixed jpekkila 2020-08-24 18:33:54 +03:00
  • e1dd8df988 Re-enabled warnings about invalid device constants if AC_VERBOSE=OFF jpekkila 2020-08-24 17:20:35 +03:00
  • 8199ff914f Added acGridLoadScalarUniform and acGridLoadVectorUniform functions for loading specific device constants with MPI jpekkila 2020-08-24 17:19:02 +03:00
  • 94794cee91 Added acVertexBufferSet in the utils interface jpekkila 2020-08-24 14:29:01 +03:00
  • ed875b1e7e README.md edited online with Bitbucket jpekkila 2020-08-21 18:29:51 +00:00
  • 22367c0aab bitbucket-pipelines.yml edited online with Bitbucket jpekkila 2020-08-21 18:24:06 +00:00
  • d966afe830 Added VERBOSE CMake option and made various prints optional to clean the output. VERBOSE is by off by default, pass cmake -DVERBOSE=ON to re-enable various non-critical warning and status prints (important warnings are still visible regardless of the flag). jpekkila 2020-08-21 21:19:42 +03:00
  • 9f676a6d5d Fixed some stupid logic when loading uniforms jpekkila 2020-08-21 20:23:50 +03:00
  • 764e4dda69 Streamlined verification jpekkila 2020-08-21 20:11:25 +03:00
  • b847b67805 Disabled building some old samples that are not used or have very specific use cases: genbenchmarkscripts, mpi_reduce_bench, bwtest. Functionality of mpi_reduce_bench should be merged into samples/benchmark when tuning becomes relevant jpekkila 2020-08-21 19:08:50 +03:00
  • 8c28aacf96 Reduction types are now generated in a same fashion as vertexbuffer handles and others jpekkila 2020-08-21 19:05:01 +03:00
  • 56273433fe Fixed inconsistency in the acGridLoad parameter order jpekkila 2020-08-21 14:40:11 +03:00
  • f2cb9e1dc1 Merged in decoupled-standalone-from-core-2020-08-19 (pull request #13) jpekkila 2020-08-21 03:06:31 +00:00
  • c4d6c0ae46 Merge branch 'master' into decoupled-standalone-from-core-2020-08-19 jpekkila 2020-08-20 15:01:47 +03:00
  • dfe7bcdf98 README.md fixes: BUILD_STANDALONE is deprecated, standalone is now built with other samples and BUILD_SAMPLES=ON by default. jpekkila 2020-08-20 11:58:40 +00:00
  • 31d0983f08 Fixed an incorrect description in README.md jpekkila 2020-08-20 11:54:49 +00:00
  • d4cbe287ea Merge branch 'master' into decoupled-standalone-from-core-2020-08-19 jpekkila 2020-08-20 14:32:26 +03:00
  • ea93a556b3 Updated a working mpirun instruction to the readme. Miikka Vaisala 2020-08-20 13:47:09 +08:00
  • b0cfceab98 Merged with master jpekkila 2020-08-19 16:16:06 +03:00
  • 6e5f0726b7 Needed one more flag to force MPI to use the C interface jpekkila 2020-08-19 16:05:28 +03:00
  • 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) jpekkila 2020-08-19 15:50:16 +03:00
  • 03c0173021 Try #4 jpekkila 2020-08-19 12:07:56 +00:00
  • e32e824a85 Try #3 jpekkila 2020-08-19 11:50:06 +00:00
  • 3f85240d9c Try #2 jpekkila 2020-08-19 11:44:37 +00:00
  • 1c4aac80c3 Autobuild gets stuck due to interactive dialog when installing some package, a potential fix. jpekkila 2020-08-19 11:36:23 +00:00
  • d6fc9552e9 Merge branch 'master' into decoupled-standalone-from-core-2020-08-19 jpekkila 2020-08-19 13:51:38 +03:00
  • 043237f677 Now samples build even if MPI is not available jpekkila 2020-08-19 13:50:26 +03:00
  • f9e9a4a4ef Streamlined setting up MPI in the CMakeLists jpekkila 2020-08-19 13:44:35 +03:00
  • b035dfd6fb Modified CMakeLists.txt: standalone is now built with samples and BUILD_SAMPLES=ON by default jpekkila 2020-08-19 13:36:40 +03:00
  • e051d72091 Moved standalone from src to samples jpekkila 2020-08-19 13:35:49 +03:00
  • 38e3fad023 New try jpekkila 2020-08-19 12:52:45 +03:00