Skip to content

Building and running the RFMIP examples on a GPU enable desktop with Spack

Nichols A. Romero edited this page Aug 14, 2019 · 4 revisions

Compiler Availability

This assumes that you have the PGI compiler installed on your desktop.

Install and Set-up Spack

Follow the instructions here to install Spack: https://spack.readthedocs.io/en/latest/getting_started.html

Use the bash shell script for setting up your environment. In general, C shell scripts appear not to be as well tested in HPC environment so you save yourself a lot of trouble but just switching completely over to bash.

Add the PGI compiler to your Spack environment: spack compiler add <PGI installation path>

You will also need a GCC compiler, because some Spack packages will only compile with GCC. spack compiler add <GCC installation path>

It is handy to have modules install to load/unload multiple environment, to install modules and have the entire Spack software stack available follow the instructions here: https://spack.readthedocs.io/en/latest/module_file_support.html

Clone this wiki locally