---
title: "Parallel Computing"
id: "28920"
type: "epkb_post_type_1"
slug: "parallel-computing"
published_at: "2025-10-09T18:19:20+00:00"
modified_at: "2025-10-14T20:37:01+00:00"
url: "https://docs.rc.fas.harvard.edu/kb/parallel-computing/"
markdown_url: "https://docs.rc.fas.harvard.edu/kb/parallel-computing.md"
excerpt: "Description Parallel computing is a computational approach that divides large problems into smaller tasks that can be executed simultaneously across multiple processing units. On the FASRC cluster, parallel computing enables researchers to solve complex computational problems that would be impractical..."
taxonomy_epkb_post_type_1_category:
  - "Parallel Computing"
---

# Parallel Computing

## Description

Parallel computing is a computational approach that divides large problems into smaller tasks that can be executed simultaneously across multiple processing units. On the FASRC cluster, parallel computing enables researchers to solve complex computational problems that would be impractical or impossible on single-core systems by leveraging distributed memory architectures, shared memory systems, and specialized high-performance I/O libraries.

The FASRC cluster supports multiple parallel computing paradigms including:

- **Distributed Memory Computing:**[Message Passing Interface (MPI)](https://docs.rc.fas.harvard.edu/kb/mpi-message-passing-interface/) for multi-node parallel processing
- **Shared Memory Computing:**[OpenMP](https://docs.rc.fas.harvard.edu/kb/openmp-software-on-odyssey/) for single-node multi-core parallelization and embarrassingly parallel job arrays
- **High-Performance I/O:** Parallel HDF5, NetCDF, and ScaLAPACK for efficient data handling in large-scale computations

## Usage

Parallel computing tools on the FASRC cluster are available through the module system. Load the appropriate modules based on your parallel computing paradigm. Search for available modules with `module spider`.

### Common Troubleshooting

- **Module Conflicts:** Use `module purge` before loading new module combinations
- **MPI Version Mismatch:** Ensure compilation and runtime use identical MPI implementations
- **Memory Issues:** Monitor memory usage with `sacct -j JOBID --format=MaxRSS`
- **Performance Bottlenecks:** Use profiling tools like Intel VTune or GNU gprof

## Training

## Examples

For an assortment of helpful examples used in our training videos, check out our [User Codes/Parallel_Computing](https://github.com/fasrc/User_Codes/tree/master/Parallel_Computing)
.

## References

- [FASRC Job Submission Guide](https://docs.rc.fas.harvard.edu/kb/running-jobs/)
- [MPI on FASRC Clusters](https://docs.rc.fas.harvard.edu/kb/mpi-message-passing-interface/)
- [OpenMP on FASRC](https://docs.rc.fas.harvard.edu/kb/openmp/)
- [FASRC Parallel Computing Examples](https://github.com/fasrc/User_Codes/tree/master/Parallel_Computing)
- [OpenMPI Documentation](https://www.open-mpi.org/doc/)
- [OpenMP Resources](https://www.openmp.org/resources/)
- [MPI4Py Documentation](https://mpi4py.readthedocs.io/)
- [R Future Package](https://cran.r-project.org/web/packages/future/index.html)
- [Parallel HDF5 Documentation](https://support.hdfgroup.org/documentation/index.html)
- [Parallel NetCDF Guide](https://docs.unidata.ucar.edu/netcdf-c/current/parallel_io.html)
- [ScaLAPACK Library](http://www.netlib.org/scalapack/)

Bookmarkable Links

- [1. Description](#Description)
- [2. Usage](#Usage)
  - [2.1. Common Troubleshooting](#Common_Troubleshooting)

- [3. Training](#Training)
- [4. Examples](#Examples)
- [5. References](#References)

Last UpdatedOctober 14, 2025
