https://github.com/fedeizzo/particleswarmoptimization-openmpi
High Performance Computing course project 2022
https://github.com/fedeizzo/particleswarmoptimization-openmpi
c cluster-analysis concurrent-programming openmpi parallel-computing
Last synced: 2 months ago
JSON representation
High Performance Computing course project 2022
- Host: GitHub
- URL: https://github.com/fedeizzo/particleswarmoptimization-openmpi
- Owner: fedeizzo
- License: mit
- Created: 2022-10-09T09:05:51.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-14T10:55:59.000Z (over 2 years ago)
- Last Synced: 2025-01-16T05:12:50.101Z (4 months ago)
- Topics: c, cluster-analysis, concurrent-programming, openmpi, parallel-computing
- Language: C
- Homepage: https://fedeizzo.github.io/ParticleSwarmOptimization-OpenMPI/
- Size: 29.8 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README

# Particle Swarm Optimization OpenMPI
**Table of Contents**
- [Particle Swarm Optimization OpenMPI](#particle-swarm-optimization-openmpi)
- [Build](#build)
- [Binary](#binary)
- [Docker](#docker)
- [Nix](#nix)
- [Udocker](#udocker)
- [Run](#run)
- [Local](#local)
- [Cluster (through PBS)](#cluster-through-pbs)
- [Report](#report)
- [Dependencies](#dependencies)*ParticleSwarmOptimization-openMPI* provides an basic implementation of [PSO](https://en.wikipedia.org/wiki/Particle_swarm_optimization) with support for cluster computation through [OpenMPI](https://www.open-mpi.org/), moreover it uses [OpenMP](https://www.openmp.org/) for thread parallelization.
| Long report | Short report | Presentation |
|--------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
| [](https://fedeizzo.github.io/ParticleSwarmOptimization-OpenMPI/report.pdf) | [](https://fedeizzo.github.io/ParticleSwarmOptimization-OpenMPI/short-report.pdf) | [](https://fedeizzo.github.io/ParticleSwarmOptimization-OpenMPI/presentation.pdf) |## Results
| **Sphere** | **Easom** | **Ackley** |
|------------------------|-----------------------|------------------------|
|  |  |  |## Build
### Binary
```bash
make
```### Docker
```bash
make docker-build
```with optional argument `DOCKER_TAG`
```bash
make DOCKER_TAG=mytag docker-build
```### Nix
```
nix build .
```### Udocker
```bash
make cluster-pull
```## Run
### Local
```bash
./bin/particle-swarm-optimization pso-data.ini
```or
```bash
mpirun -n