Aller au contenu

Paquets optionnels

RSA_MPI

RSA_MPI génère, grâce à un algorithme RSA parallèle, des empilements aléatoires de sphères sans recouvrement. Il apporte les opérateurs rsa_rnd_rad et rsa_vol_frac, décrits dans Paquets externes.

1
2
3
4
5
6
7
8
9
export MY_ROOT_DIR=$PWD
# module load gnu/13.2.0 cuda/12.4 mpi/openmpi/4.1.6 cmake/3.29.6 # Topaze
git clone https://github.com/MarcJos/RSA_MPI.git
mkdir ${MY_ROOT_DIR}/build-rsampi && cd ${MY_ROOT_DIR}/build-rsampi
cmake ${MY_ROOT_DIR}/RSA_MPI/ -DINTERFACE_PYTHON=OFF -DCMAKE_INSTALL_PREFIX=${MY_ROOT_DIR}/install-rsampi
make install -j 10
export rsa_mpi_DIR=${MY_ROOT_DIR}/install-rsampi
cd ${MY_ROOT_DIR}
rm -r ${MY_ROOT_DIR}/RSA_MPI ${MY_ROOT_DIR}/build-rsampi

Configurez ensuite exaDEM avec :

cmake ../exaDEM -DUSE_RSA=ON
1
2
3
4
5
6
git clone --depth=2 --branch=v1.1.0 https://github.com/spack/spack.git
source spack/share/spack/setup-env.sh
git clone https://github.com/Collab4exaNBody/spack-repos.git
spack repo add spack-repos
spack external find openmpi
spack install rsampi

Configurez ensuite exaDEM avec :

export rsa_mpi_DIR=`spack location -i rsampi`
cmake ../exaDEM -DUSE_RSA=ON

Rockable

Rockable est le code DEM du CNRS dont exaDEM reprend les formes polyédriques. Son outil de visualisation see permet d'afficher les fichiers Rockable écrits par exaDEM (voir Format Rockable).

1
2
3
4
5
6
git clone --depth=2 --branch=v1.1.0 https://github.com/spack/spack.git
source spack/share/spack/setup-env.sh
git clone https://github.com/Collab4exaNBody/spack-repos.git
spack repo add spack-repos
spack external find opengl
spack install rockable+see

Utilisation :

spack load rockable
rockable file.conf -j 10
see conf0