Skip to content
/ lbann Public
forked from LLNL/lbann

Livermore Big Artificial Neural Network Toolkit

License

Notifications You must be signed in to change notification settings

graham63/lbann

Repository files navigation

LBANN: Livermore Big Artificial Neural Network Toolkit

Building LBANN with Spack [for Users]

spack install lbann

Building LBANN with Spack [for Developers]

Using spack setup

Here is an example of setting up the local build environment on x86_64 HPC system
```
cd lbann
mkdir spack_builds; cd spack_builds
../scripts/spack_receipes/build_lbann.sh -c [email protected] -b openblas -m mvapich2
cd gcc-7.1.0_x86_64_mvapich2_openblas_rel/build
make -j all
```
[Spack Setup](http://spack.readthedocs.io/en/latest/packaging_guide.html?highlight=spack%20diy#build-system-configuration-support)

The build_lbann.sh script roughly does the following steps for this example:
```
spack setup lbann@local build_type=Release dtype=4 %[email protected] ^elemental@master blas=openblas ^mvapich2
spack setup lbann@local %[email protected] ^mvapich2
mkdir -p gcc-7.1.0_x86_64_mvapich2_openblas_rel/build
cd gcc-7.1.0_x86_64_mvapich2_openblas_rel/build
../spconfig.py ../../..
```

Using LBANN on LLNL LC clusters

cd examples

Setup the environment

source setup_brain_lbann_env.sh

Compile:

NOTE: Compilation is now done using cmake, please follow the instruction in doc/getting_started

make

Running on Catalyst

Interactive Mode

Allocate nodes in SLURM:

salloc -N16 --enable-hyperthreads -t 1440 --clear-ssd
./run_lbann_dnn_imagenet.sh -t 2400 -v 10 -e 4 -n 5000,2500,1000 -b 192 -r 0.0001

Batch Mode

cd tests
sbatch -N16 --enable-hyperthreads -t 1440 --clear-ssd ./test_imagenet_topologies.sh

Running on Surface

Interactive Mode

Allocate nodes in MOAB:

mxterm 16 256 1440 -A hpclearn

About

Livermore Big Artificial Neural Network Toolkit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 69.3%
  • Python 20.0%
  • Cuda 6.7%
  • CMake 2.9%
  • Shell 1.1%
  • Pawn 0.0%