Skip to content

nksauter/LS49

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ce7bcc3 · Mar 11, 2025
Mar 6, 2023
Dec 17, 2024
Aug 19, 2020
Apr 25, 2023
May 10, 2023
Jan 8, 2022
Jan 21, 2022
Jun 2, 2018
Jul 2, 2024
Jun 2, 2018
Mar 11, 2025
May 15, 2023
Jan 8, 2022
May 1, 2019
Mar 1, 2024
Mar 1, 2024
Mar 11, 2025
Dec 28, 2018
Jul 6, 2020
Mar 9, 2021
Jul 11, 2020
Sep 13, 2018
Jan 12, 2024

Repository files navigation

Quick start instructions for building and executing, on linux command line

General setup:

Move ~/.condarc out of path
create a working directory ${WORK}

cd ${WORK}
wget https://raw.githubusercontent.com/cctbx/cctbx_project/master/libtbx/auto_build/bootstrap.py --no-check-certificate
python bootstrap.py --builder=dials --mpi-build --use-conda --python=37 \
--config_flags="--enable_openmp_if_possible=True" --nproc=64 # conform to the number of cores available
cd ${WORK}/modules
git clone git@github.com:nksauter/LS49.git
git clone https://gitlab.com/cctbx/ls49_big_data.git

source ${WORK}/build/conda_setpaths.sh
conda install git git-lfs
cd ${WORK}/modules/ls49_big_data
git lfs install --local
git lfs pull  # gets the big data
source ${WORK}/build/conda_unsetpaths.sh

Software build for linux

cd ${WORK}/build
source setpaths.sh
libtbx.configure LS49
make
export OMP_NUM_THREADS=24
mkdir ${WORK}/xxx; cd xxx
libtbx.run_tests_parallel module=LS49 nproc=20 # test to make sure regression test runs

Subsequent login for linux

cd ${WORK}
source build/setpaths.sh
export OMP_NUM_THREADS=24

Testing CUDA on Linux

# at the bootstrap step (above) add cuda: --config_flags="--enable_cuda"
# On Cori-GPU, run the tests inside of an srun command (allocates GPU):
srun -n 1 -c 10 libtbx.run_tests_parallel nproc=Auto module=LS49 module=simtbx

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published