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: 16 Jul 2014
Terms of Use
Copyright © 1994-2014 International Business Machines Corp.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.