Differences between revisions 5 and 7 (spanning 2 versions)
⇤ ← Revision 5 as of 2012-07-11 16:46:10 →
Size: 250
Editor: MartinReuter
Comment:
← Revision 7 as of 2012-07-12 10:42:27 → ⇥
Size: 476
Editor: MartinReuter
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:

 * Conditional compilation: to speed up compilation on non OpenMP systems
{{{
#ifdef _OPENMP
#include <omp.h>
#endif
}}}

{{{
#ifdef _OPENMP
   printf(“%d avail.processors\n”,omp_get_num_procs());
#endif
}}}

Notes on OpenMP and Freesurfer

#ifdef _OPENMP
#include <omp.h>
#endif

#ifdef _OPENMP
   printf(“%d avail.processors\n”,omp_get_num_procs());
#endif

OpenMP (last edited 2013-09-05 14:15:52 by MartinReuter)