Developing and Installing Software¶
This section covers building, installing, debugging and tuning software on NERSC systems, whether you are writing your own code or installing software written by others.
Guide¶
| I want to... | Go to |
|---|---|
| Pick a language and find language-specific guidance | Languages (C++, Fortran, Julia, R, Rust, IDL) |
| Write parallel code with MPI, OpenMP, CUDA or similar | Programming models |
| Compile my code | Compilers and compiler wrappers |
| Build with Make, Autoconf or CMake | Build tools |
| Install software that someone else wrote | Installing and sharing software and Spack |
| Use FFTW, HDF5, LAPACK or another library | Libraries |
| Package my software in a container | Containers |
| Find a bug | Debugging tools |
| Make my code faster | Performance and performance tools |
| Use an AI coding assistant on Perlmutter | AI coding tools |
Common¶
- Software is accessed with the
modulecommand. - Use the compiler wrappers so that your code picks up the correct MPI and library paths.
- Install software you want to keep, or share with your project, on /global/common/software, not in your home directory.