GPU parallelization error, ranks not equal to gpu number

Did try the solutions from this post when you had a similar problem?