12.07.2015 Views

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

integer function omp_get_num_procs()returns the number of processors that are available to the program.logical function omp_in_parallel()returns .TRUE. if called from within a parallel region and .FALSE. if called outside of aparallel region. When called from within a parallel region that is serialized, for example in thepresence of an IF clause evaluating .FALSE., the function will return .FALSE..subroutine omp_set_dynamic(scalar_logical_exp)is designed to allow automatic dynamic adjustment of the number of threads used for execution ofparallel regions. This function is recognized, but currently has no effect.logical function omp_get_dynamic()is designed to allow the user to query whether automatic dynamic adjustment of the number ofthreads used for execution of parallel regions is enabled. This function is recognized, but currentlyalways returns .FALSE..subroutine omp_set_nested(scalar_logical_exp)is designed to allow enabling/disabling of nested parallel regions. This function is recognized, butcurrently has no effect.logical function omp_get_nested()is designed to allow the user to query whether dynamic adjustment of the number of threadsavailable for execution of parallel regions is enabled. This function is recognized, but currentlyalways returns .FALSE..subroutine omp_init_lock(integer_var)initializes a lock associated with the variable integer_var for use in subsequent calls to lockroutines. This initial state of integer_var is unlocked. It is illegal to make a call to this routine ifinteger_var is already associated with a lock.subroutine omp_destroy_lock(integer_var)disassociates a lock associated with the variable integer_var.subroutine omp_set_lock(integer_var)causes the calling thread to wait until the specified lock is available. The thread gains ownership ofthe lock when it is available. It is illegal to make a call to this routine if integer_var has not beenassociated with a lock.302 Chapter 8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!