Page MenuHomePhabricator

Sparta
Updated 1,289 Days AgoPublic

module load cmake/gcc-4.8.5/3.20.2
module load openmpi-4.0.3rc4/gcc
cp -r /opt/sparta/sparta-26Feb2021 ~/
cd sparta-26Feb2021/build
rm -rf sparta-26Feb2021/build/* 
cmake -LH -DBUILD_JPEG=ON -DBUILD_PNG=ON -DSPARTA_MACHINE=openmpi ../cmake/
make -j4
which ~/sparta-26Feb2021/build/src/spa_openmpi #This is your sparta binary
mpirun -np 4 ~/sparta-26Feb2021/build/src/spa_openmpi < file.in
Last Author
newellz2
Last Edited
May 11 2021, 12:05 PM