At present an OpenMP compiler is available only on the publicly available multi-processor machines (SnowWhite, Dione01, and Dione02). It's open-source software, and the installation has been only minimally tested, so please report any problems to me at bmassing@cs.trinity.edu.
Use the command omcc to compile C programs with OpenMP extensions. Typical usage:
omcc -o foo foo.c
See the sample programs page for a Makefile.
To execute the compiled program, just type the name of the executable. Recall from class that you can temporarily set an environment variable for a program on the command line. Example usages:
foo
foo arg1 arg2
OMP_NUM_THREADS=10 foo