Microtasking: Step by Step
Recompile whole source
- FORTRAN: f90 -P multi -Wf“-pvctl res=whole“
- C: cc -hmulti
-
Reserve logical tasks
- Directives: !CDIR RESERVE, !CDIR RELEASE
- Environment Variables: F_RSVTASK and others
-
Determine junks of code that should run in parallel
- SX-5 needs big junks of work before parallelization is efficient
- Insert directives: !ODIR CONCUR, !ODIR INNER, !PDIR PARDO