GLIA runs on CPUs and GPUs. This doc outlines the installation process for both architectures
For medical imaging resolutions, a single GPU (16GB) is sufficient
- C++11 compatible compiler
- CUDA (<= 10.2 tested) and associated libs (cufft, cublas, thrust)
- MPI
- install PETSc (3.7 <= version <= 3.11 tested; 3.11 recommended): petsc 3.11; for example config/install, see configs folder
- install pnetCDF (if netcdf input files; recommended): pnetcdf 1.11; for installation instruction, see the accfft dependencies section
- install niftilib and zlib (if nifti input files): nifti 2.0
- [optional dependency for mass effect inversion, see reference paper] CLAIRE image registration tool; install from github
- set CUDA_DIR
- set MPI_DIR
- set PETSC_DIR and PETSC_ARCH
- set PNETCDF_DIR or (NIFTI_DIR and ZLIB_DIR)
- compile.sh shows the scons script to compile the solver with default options
- set use_gpu=yes, single_precision=yes (recommended, if no solver runs in double precision), multi_gpu=no (deprecated)
- other options are defaulted
- scons --help to see all compile options
- binary is build/last/tusolver
- see run scripts for example run scripts
- use clean.sh
Good strong scaling (> 95% parallel efficiency) up to about 4000 cores. For medical imaging resolution, 256 mpi tasks should suffice
- C++11 compatible compiler
- MPI
- install PETSc (3.7 <= version <= 3.11 tested; 3.11 recommended): petsc 3.11; for example config/install, see configs folder
- install pnetCDF (if netcdf input files; recommended): pnetcdf 1.11; for installation instruction, see the accfft dependencies section
- install niftilib and zlib (if nifti input files): nifti 2.0
- install FFTW: see http://accfft.org/articles/install/
- install accFFT (scalable FFTs for multicore CPU machines): see http://accfft.org/articles/install/
- [optional dependency for mass effect inversion, see reference paper] CLAIRE image registration tool; install from github
- set MPI_DIR
- set PETSC_DIR and PETSC_ARCH
- set PNETCDF_DIR or (NIFTI_DIR and ZLIB_DIR)
- set FFTW_DIR and ACCFFT_DIR
- compile.sh shows the scons script to compile the solver with default options
- set use_gpu=no, single_precision=yes (recommended, if no solver runs in double precision), multi_gpu=no (deprecated)
- other options are defaulted
- scons --help to see all compile options
- binary is build/last/tusolver
- see run scripts for example run scripts
- use clean.sh