Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Wootton2011-06-13 17:30:39 +0000
committerDavid Wootton2011-06-13 17:30:39 +0000
commitd8ba443b3a24e13a9d371a7006861b70de59cb72 (patch)
tree71dac811c753d0ae086a2d7f390bc00664e570b9
parent89273337f8172c67892bf1ed8301f73920abe7fc (diff)
downloadorg.eclipse.ptp-d8ba443b3a24e13a9d371a7006861b70de59cb72.tar.gz
org.eclipse.ptp-d8ba443b3a24e13a9d371a7006861b70de59cb72.tar.xz
org.eclipse.ptp-d8ba443b3a24e13a9d371a7006861b70de59cb72.zip
Bug 349206 - Startup errors for PE application using PE resource managerptp_4_0
-rwxr-xr-xrms/org.eclipse.ptp.rm.ibm.pe.proxy/src/ptp_ibmpe_proxy.c9
1 files 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
@@ -3441,9 +3441,6 @@ create_env_array(char *args[], char *env_sh_path, int split_io, char *mp_buffer_
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 @@ 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;

Back to the top