A basic genetic algorithm for graph partitioning with OpenMP acceleration