plm/alps: silence annoying warning message when using Cray PMI 3.x or
newer This commit adds a workaround for messages printed by the Cray PMI library when launching using mpirun. We are still talking with Cray to find a better fix but this will silence the warnings for now. cmr=v1.8.1:reviewer=manjugv This commit was SVN r31352.
Этот коммит содержится в:
родитель
19efa09540
Коммит
9df795d1dd
@ -585,6 +585,10 @@ static int plm_alps_start_proc(int argc, char **argv, char **env,
|
||||
free(newenv);
|
||||
}
|
||||
|
||||
/* Quiet annoying Cray PMI warnings. There is an open ticket to eliminate
|
||||
* them but they still exist as of PMI 5.0.1 */
|
||||
opal_setenv("PMI_USE_LOGFILE", "/dev/null", true, &env);
|
||||
|
||||
fd = open("/dev/null", O_CREAT|O_WRONLY|O_TRUNC, 0666);
|
||||
if(fd > 0) {
|
||||
dup2(fd, 0);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user