Bug 349206 - Startup errors for PE application using PE resource manager
diff --git a/rms/org.eclipse.ptp.rm.ibm.pe.proxy/src/ptp_ibmpe_proxy.c b/rms/org.eclipse.ptp.rm.ibm.pe.proxy/src/ptp_ibmpe_proxy.c
index eaad483..87c9bb3 100755
--- a/rms/org.eclipse.ptp.rm.ibm.pe.proxy/src/ptp_ibmpe_proxy.c
+++ b/rms/org.eclipse.ptp.rm.ibm.pe.proxy/src/ptp_ibmpe_proxy.c
@@ -3441,9 +3441,6 @@
add_environment_variable("MP_RESD=yes");
print_message(TRACE_DETAIL_MESSAGE, "PE Job uses LoadLeveler resource management\n");
}
- else {
- add_environment_variable("MP_RESD=no");
- }
/*
* If env_sh_path is not null, this indicates that the user has
* specified a 'setup script' to run to set the PE environment variables.
@@ -3674,6 +3671,8 @@
* Multiple consecutive spaces in the message will cause parsing errors
* in the Java code handling the response.
*/
+ int i;
+ int len;
char *res;
char *valstr;
char hostname[256];
@@ -3719,6 +3718,10 @@
current_hostlist = realloc(current_hostlist, current_hostlist_size * sizeof(char *));
malloc_check(current_hostlist, __FUNCTION__, __LINE__);
}
+ len = strlen(cp);
+ for (i= 0; i < len; i++) {
+ cp[i] = tolower(cp[i]);
+ }
current_hostlist[current_hostlist_size++] = strdup(cp);
if (find_node(hostname) == NULL) {
node_refcount *node;