Install pysph
pip install 'cython<3'
pip install 'numpy==1.23'
pip install h5py
pip install https://github.com/pypr/pysph/zipball/master
Install pysph
pip install 'cython<3'
pip install 'numpy==1.23'
pip install h5py
pip install https://github.com/pypr/pysph/zipball/master
# Define the build directory containing binaries | |
BUILD_DIR := /home/dineshadepu/life/softwares/Cabana_package_template/build | |
# for mac os | |
BUILD_DIR := /Users/dineshadepu/life/softwares/Cabana_package_template/build | |
# Find all binaries in BUILD_DIR with "test" in the name (Ubuntu compatible) | |
TEST_BINARIES := $(shell find $(BUILD_DIR) -type f -executable -name "*test*") | |
# for mac os | |
# TEST_BINARIES := $(shell find $(BUILD_DIR) -type f -perm +111 -name "*test*") |
This section provides a step-by-step guide on how to analyze and visualize the
output data from a particle simulation using HDF5 files. We will demonstrate how
to load the results, process the data, and plot the variation of a specific
quantity (in this case, the position of a particle) over time using Python
libraries such as h5py
and matplotlib
.
/**************************************************************************** | |
* Copyright (c) 2018-2022 by the Cabana authors * | |
* All rights reserved. * | |
* * | |
* This file is part of the Cabana library. Cabana is distributed under a * | |
* BSD 3-clause license. For the licensing terms see the LICENSE file in * | |
* the top-level directory. * | |
* * | |
* SPDX-License-Identifier: BSD-3-Clause * | |
****************************************************************************/ |
ffmpeg -i 3d_dam_break.webm -vf "crop=trunc(iw/2)*2:trunc(ih/2)*2" 3d_dam_break.mp4
ffmpeg -i dinesh_2024_single_particle_swelling_N_15_buoyancy_check.webm -vf "crop=trunc(iw/2)*2:trunc(ih/2)*2" dinesh_2024_single_particle_swelling_N_15_buoyancy_check.mp4
ffmpeg -i fifty_bodies_500_density_sph_representation.webm -vf "crop=trunc(iw/2)*2:trunc(ih/2)*2" fifty_bodies_500_density_sph_representation.gif
To make movies out of images png, such as simulations movies of PySPH
https://gitlab.com/pypr/adaptive_sph/-/blob/master/code/fpc_auto.py#L795 | |
https://gitlab.com/pypr/adaptive_sph/-/blob/master/code/fpc_auto.py#L435 |
Can be found https://github.com/google/benchmark#requirements here
The current documentation is given after installation
For Linux 64, Open MPI is built with CUDA awareness but this support is disabled by default.
To enable it, please set the environment variable OMPI_MCA_opal_cuda_support=true before
launching your MPI processes. Equivalently, you can set the MCA parameter in the command line:
mpiexec --mca opal_cuda_support 1 ...
In addition, the UCX support is also built but disabled by default.
To enable it, first install UCX (conda install -c conda-forge ucx). Then, set the environment