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 printf(ā%d avail.processors\nā,omp_get_num_procs()); #endif }}} |
Notes on OpenMP and Freesurfer
- in the source, grep for OPENMP in dev/utils and mri_ca_register.c for examples
Online Tutorial: https://computing.llnl.gov/tutorials/openMP/
- Conditional compilation: to speed up compilation on non OpenMP systems
#ifdef _OPENMP printf(ā%d avail.processors\nā,omp_get_num_procs()); #endif