N Queens puzzle implemented in C with OpenMP and OpenMPI.
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:
mpicc -o rainhasMPI -fopenmp rainhasMPI.c -lpthread
Run:
mpirun --host localhost: numberOfNOdes ./rainhasMPI numberOfQueens numberOfThreads
Bianca Nunes Coelho
Alejandro Tomas Reyes Alberoni
Patrick Silva da Rosa