ls_getmodelfactor
Returns the CPU normalization factor of the specified host model.This routines provides access to LSF cluster configuration information.
ls_getmodelfactor returns the CPU normalization factor of the specified host model as defined in the LSF configuration files. This factor is based on the the host model's CPU speed relative to other host models in the load sharing system.
#include <lsf/lsf.h>
float *ls_getmodelfactor(char *modelname)
Data Structures:
- Parameters:
*modelname The model for which the CPU nominalization factor is returned. Define Statements:
- none
- none
Errors:
- Returns:
- float *:A pointer to the CPU factor of the given CPU model.
Function was successful.NULL
Function failed.Equivalent line commands:
- If the function fails, lserrno is set to indicate the error.
Files:
- none
- $LSF_CONFDIR/lsf.shared
$LSF_CONFDIR/lsf.cluster.cluster_name
- See also:
- ls_info
Date Modified: 30 Jan 2011
Platform Support: support@platform.com
Platform Information Development: doc@platform.com
Platform Computing. Accelerating Intelligence(TM).
Copyright © 1994-2011 Platform Computing Corporation. All rights reserved.