| RESOURCE MACROS | SCORED LIBRARY(C) | RESOURCE MACROS | 
- SYNOPSIS
- 
SCORE_RSRC_NUM_NODES(MIN,MAX);
 SCORE_RSRC_NUM_PROCS(N);
 SCORE_RSRC_HOMO_NODES;
 SCORE_RSRC_NUM_NETS(N);
 
 
- DESCRIPTION
- 
By using one or more resource macros in a library or user program, runtime
resources can be constrained. There can be multiple resource macros in
a program, however, contradictory macros produce link errors. These
macros are evaluated to get resource information when scrun(1)
invokes a user program on a local host.  SCore-D resources can be better
utilized by getting resource information prior to login.
 
- SCORE_RSRC_NUM_NODES(MIN,MAX)
- 
This macro gives a hint to the number of nodes to be allocated. Users who
try to run a program with this macro must specify the number of
nodes within the range
MIN <= num_nodes <= MAX.
 
- SCORE_RSRC_NUM_PROCS(N)
- 
This macro constrains the number of processes in a host.
 
- SCORE_RSRC_HOMO_NODES
- 
When this macro is declared, only an homogeneous execution environment is 
allowed.
 
- SCORE_RSRC_NUM_NETS(N)
- 
This macro constrains the number of networks allocated.
 
 
- SEE ALSO
- 
scrun(1),
SCore-D Runtime Development