Skip to content

Commit e828c79

Browse files
authored
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 80c0b0d commit e828c79

File tree

27 files changed

+1398
-698
lines changed

27 files changed

+1398
-698
lines changed

source/daemons/qmaster/sge_utility_qmaster.cc

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

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

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

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)