Skip to content

Instantly share code, notes, and snippets.

@colin-daniels
Last active August 29, 2015 14:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save colin-daniels/1f49f3ebfc7b1277a248 to your computer and use it in GitHub Desktop.
Instructions for installing bgclang on RPI's BG/Q system.

First either download or clone the repo here: https://github.com/colin-daniels/install-bgq

Then on your local machine:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment