The function omp_set_schedule is one of the two ways to specify the schedule to apply when a runtime clause is encountered during execution. The other one is the environment variable OMP_SCHEDULE. The expected format for the schedule is: the kind of scheduling (static, dynamic, auto or guided). Optionally, the kind can also be succeeded by a comma and the chunk size. To summarise, it can be represented as follows: "[modifier:]kind[,chunksize]". Please note that if this format is not respected, the behaviour is implementation defined. It is also worth mentioning that implementation specific schedules can be used in the omp_set_schedule function, but they cannot be used in the environment variable OMP_SCHEDULE. If none of the environment variable OMP_SCHEDULE or the function omp_set_schedule is used, the schedule to apply when a runtime clause is encountered during execution is implementation defined. To see the schedule to apply when the runtime clause is encountered, one can call omp_get_schedule.