Parallel Programming on SGI
- Automatic parallelization with APC
- Fortran and C compiler option: -apo
- HPF: pghpf (Portland Group), xHPF (third party)
- parallelization by inserting OpenMP compiler directives (using the -mp compiler option)
- Fortran !$omp parallel, !$omp do
- C #pragma omp parallel
- Low-Level parallelism
- Posix standard Pthreads
- SGI library sproc()
- UNIX native fork()
- Sequent library m_fork()
- Message Passing
- Definition of number of parallel threads (man pe_environ)
- SMP (APC and OpenMP, sproc): setenv OMP_NUM_THREADS n
- MPI: mpirun -np n prog