IBM

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)

Parameters:
*modelname The model for which the CPU nominalization factor is returned.
Data Structures:
none
Define Statements:
none
Returns:
float *:A pointer to the CPU factor of the given CPU model.
Function was successful.

NULL
Function failed.

Errors:
If the function fails, lserrno is set to indicate the error.
Equivalent line commands:
none
Files:
$LSF_CONFDIR/lsf.shared
$LSF_CONFDIR/lsf.cluster.cluster_name
See also:
ls_info

ls_getclustername

ls_getmastername



     
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.