serial code in omp_ocean