First either download or clone the repo here: https://github.com/colin-daniels/install-bgq
Then on your local machine:
- Either edit or download an example
config
file for CCI BG/Q here: https://gist.github.com/colin-daniels/c29908b9bc2e904f7395 (make sure you replace login details and such appropriately) - Run
./download.sh r220548-20141024
to download the files locally.
Then:
- On BG/Q, ensure that whatever
$MODULEFILE_DIR
is exists (example config has it at~/barn-shared/modulefiles/bgclang
) - On your local machine, run
./remote-install r220548-20141024
to install.
After installation, simply load the generated modulefile (e.g.
module load ~/barn-shared/modulefiles/bgclang/r220548-20141024
and
use mpic++11
or mpiclang
to compile). Note that it might be worth it to
append ~/barn-shared/modulefiles
to your MODULEPATH environment variable
so you can just do module load bgclang/r220548-20141024
.