md.c translated with OpenMP support