From d8ba443b3a24e13a9d371a7006861b70de59cb72 Mon Sep 17 00:00:00 2001 From: David Wootton Date: Mon, 13 Jun 2011 17:30:39 +0000 Subject: Bug 349206 - Startup errors for PE application using PE resource manager --- rms/org.eclipse.ptp.rm.ibm.pe.proxy/src/ptp_ibmpe_proxy.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 eaad483e1..87c9bb3d4 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 @@ -3440,9 +3440,6 @@ create_env_array(char *args[], char *env_sh_path, int split_io, char *mp_buffer_ if (use_load_leveler) { 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 @@ -3674,6 +3671,8 @@ void update_nodes(char *hostlist_path) * 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 @@ void update_nodes(char *hostlist_path) 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; -- cgit v1.2.3