NCEPLIBS-sp  2.3.3
ncpus.F File Reference

Go to the source code of this file.

Functions/Subroutines

function ncpus ()
 Set number of cpus. More...
 

Detailed Description

Set number of cpus.

Author
IREDELL
Date
94-08-19

Definition in file ncpus.F.

Function/Subroutine Documentation

◆ ncpus()

function ncpus

Set number of cpus.

Designating the number of processors over which to parallelize.

PROGRAM HISTORY LOG:

  • 94-08-19 IREDELL
  • 98-11-09 VUONG ADD DOC>BLOCK AND REMOVE CRAY REFERENCES
  • 1998-12-18 IREDELL IBM SMP VERSION
  • 2010-11-16 SLOVACEK LINUX MUST HAVE DIFFERENT CALL
  • 2012-11-01 MIRVIS Multi- threading on LINUX-IBM/TIDE
Parameters
[out]NCPUSINTEGER NUMBER OF CPUS

SUBPROGRAMS CALLED:

  • num_parthds() XLF intrinsic to return number of threads

Definition at line 21 of file ncpus.F.