Skip to content

BiancaNCoelho/NQueens-MPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NQueens OMP-MPI

N Queens puzzle implemented in C with OpenMP and OpenMPI.

NQueens Puzzle

The N queens puzzle is the problem of placing N queens in a N X N chess board such that no queen can be attacked by another queen in any possible direction(vertically, horizontally and diagonally).

Compile and run

Compile:

mpicc -o rainhasMPI -fopenmp rainhasMPI.c -lpthread

Run:

mpirun --host localhost: numberOfNOdes ./rainhasMPI numberOfQueens numberOfThreads

Contributor(s)

Bianca Nunes Coelho

Alejandro Tomas Reyes Alberoni

Patrick Silva da Rosa

About

NQueens puzzle implemented with OpenMP and OpenMPI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages