1
1

Do not preload binaries or files if the app isn't being executed on this node

This commit was SVN r21444.
Этот коммит содержится в:
Ralph Castain 2009-06-16 03:12:30 +00:00
родитель 5e6061af02
Коммит 74bd80afd9

Просмотреть файл

@ -990,8 +990,8 @@ int orte_odls_base_default_launch_local(orte_jobid_t job,
* app context basis
*/
for (i=0; i < num_apps; i++) {
if(apps[i]->preload_binary ||
NULL != apps[i]->preload_files) {
if(apps[i]->used_on_node &&
(apps[i]->preload_binary || NULL != apps[i]->preload_files)) {
if( ORTE_SUCCESS != (rc = orte_odls_base_preload_files_app_context(apps[i])) ) {
ORTE_ERROR_LOG(rc);
/* JJH: Do not fail here, instead try to execute without the preloaded options*/