Code Monkey home page Code Monkey logo

ls49's Introduction

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 [email protected]: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

ls49's People

Contributors

nksauter avatar dermen avatar trzs avatar dwpaley avatar phyy-nx avatar jblaschke avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.