drmaa2_get_drms_name
- drmaa2_get_drms_name, Returns the name of the DRMS
#include "drmaa2.h"
drmaa2_string drmaa2_get_drms_name();
Allocates a new drmaa2_string(3) which contains the name of the distributed resource management system. Using Univa(R) Grid Engine(TM)
the string is typically Univa(R) Grid Engine(TM)
.
This function returns a newly allocated drmaa2_string(3) or NULL if insufficient memory was available.
drmaa2_string name = drmaa2_get_drms_name();
if (name != NULL) {
fprintf("DRMS name: %s", (char *) v->major);
drmaa2_string_free(&name);
}
drmaa2_string_free(3), drmaa2_get_drms_version(3)
Copyright Univa Corporation 2013