Parallel quick start
These example codes show how to perform a simple parallel addition of two arrays using different parallel programming paradigms. They are primarily intended to illustrate how to startup, run and shutdown a simple parallel code and how to compile and link it. Examples are in both C and Fortran. These codes can be used as templates for setting up more complex programs.
-
MPI: smdemo_mpi
-
OpenMP: smdemo_omp
-
Pthreads: smdemo_pth
-
Cuda C: smdemo_cu
-
Cuda Fortran: smdemo_cuf
-
OpenCL: smdemo_ocl
-
Intel SSE: smdemo_sse
Want to contact the developer? Send mail to Viktor Decyk at decyk@physics.ucla.edu.