Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

ls_getmodelfactor()

Returns the CPU normalization factor of the specified host model.

DESCRIPTION

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.

SYNOPSIS

#include <lsf/lsf.h> 
float *ls_getmodelfactor(char *modelname) 

PARAMETERS

*modelname

The model for which the CPU nominalization factor is returned.

RETURN VALUES

character

character:NULL

ERRORS

If the function fails, lserrno is set to indicate the error.

SEE ALSO

Related APIs

ls_info() - Returns a pointer to an lsInfo structure

ls_getclustername()

ls_getmastername()

Equivalent line command

none

Files

$LSF_CONFDIR/lsf.shared

$LSF_CONFDIR/lsf.cluster.cluster_name


Platform Computing Inc.
www.platform.com
Knowledge Center         Contents    Previous  Next