Working with OpenMP
At RZTU installed on the parallel computer (HP-UX 11): Guide 3.9 from KAI
available for IRIX, Solaris, AIX, Digital UNIX, Windows NT
Compile and link with guidef90 (resp. guidec or guidec++)
(in directory /progsys/kap/guide/bin)
Run application as usual (no extra options etc.)
Number of threads used:
default = number of cpus
with environment variable:
setenv OMP_NUM_THREADS 3
Control job with
top -h
(only one process, but with cpu usage almost 300%)
Guide has additional features:
more directives, f.i. the extensions coming up with OpenMP2.0
special compiler options
additional ways to improve the performance
Consult the Guide manuals for further information (
Fortran
,
C/C++
).
Peter Junglas 16.2.1999