Skip to content

Commit 6b6f100

Browse files
committed
EH: CS-341 out of the box mpi integrations and examples which can also be used for testing (#54)
CS-342 provide an openmpi integration CS-343 provide an example and test program using MPI CS-1143 provide a MPICH integration CS-1144 provide a MVAPICH integration CS-1145 provide an Intel MPI integration CS-1146 cleanup and document the ssh wrapper MPI template and scripts
1 parent 9de524e commit 6b6f100

27 files changed

Lines changed: 1398 additions & 698 deletions

source/daemons/qmaster/sge_utility_qmaster.cc

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,8 @@ attr_mod_procedure(lList **alpp, lListElem *qep, lListElem *new_ep, int nm, cons
103103
char *script = (char *) s;
104104

105105
/* skip user name */
106-
if ((t = strpbrk(script, "@ ")) && *t == '@')
106+
if ((t = strpbrk(script, "@ ")) && *t == '@') {
107107
script = &t[1];
108-
109-
/* force use of absolut pathes */
110-
if (script[0] != '/') {
111-
ERROR(MSG_GDI_APATH_S, attr_name);
112-
answer_list_add(alpp, SGE_EVENT, STATUS_EUNKNOWN, ANSWER_QUALITY_ERROR);
113-
DRETURN(STATUS_EEXIST);
114108
}
115109

116110
/* ensure that variables are valid */
@@ -119,6 +113,14 @@ attr_mod_procedure(lList **alpp, lListElem *qep, lListElem *new_ep, int nm, cons
119113
answer_list_add(alpp, SGE_EVENT, STATUS_EEXIST, ANSWER_QUALITY_ERROR);
120114
DRETURN(STATUS_EEXIST);
121115
}
116+
117+
// force use of absolut path's
118+
// we might also see a $ sign from a special variable, whose validity has been checked above
119+
if (script[0] != '/' && script[0] != '$') {
120+
ERROR(MSG_GDI_APATH_S, attr_name);
121+
answer_list_add(alpp, SGE_EVENT, STATUS_EUNKNOWN, ANSWER_QUALITY_ERROR);
122+
DRETURN(STATUS_EEXIST);
123+
}
122124
}
123125
lSetString(new_ep, nm, s);
124126
}

source/dist/mpi/README

Lines changed: 0 additions & 164 deletions
This file was deleted.

source/dist/mpi/README.atm

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)