Skip to content

Commit 6b2ccce

Browse files
committed
Remove not needed and undocumented start delay feature
1 parent 33da451 commit 6b2ccce

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

mpi_test_suite.c

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -169,31 +169,6 @@ int main (int argc, char * argv[])
169169
MPI_Comm_rank (MPI_COMM_WORLD, &tst_global_rank);
170170
MPI_Comm_size (MPI_COMM_WORLD, &tst_global_size);
171171

172-
{
173-
char * start_delay_str;
174-
/* XXX DOC CN Need to add MPI_TEST_SUITE_START_DELAY environment variable to documentation
175-
*/
176-
start_delay_str = getenv ("MPI_TEST_SUITE_START_DELAY");
177-
if (NULL != start_delay_str)
178-
{
179-
char hostname[256];
180-
int delay;
181-
delay = atoi(start_delay_str);
182-
if (delay < 0) {
183-
printf ("Warning: Delay time should be greater than zero! Using no delay now.\n");
184-
}
185-
else {
186-
gethostname (hostname, 256);
187-
hostname[255] = '\0';
188-
/* XXX LOG CN Should be modified for logfie support.
189-
*/
190-
printf ("(Rank:%d) host:%s pid:%ld Going to sleep for %d seconds\n",
191-
tst_global_rank, hostname, (long int)getpid(), delay);
192-
sleep (delay);
193-
}
194-
}
195-
}
196-
197172
tst_output_init (DEBUG_LOG, TST_OUTPUT_RANK_SELF, TST_REPORT_MAX, TST_OUTPUT_TYPE_LOGFILE, "tst.log");
198173

199174
char *info_str = (char *) calloc(MAX_INFO_STRING_LENGTH, sizeof(char));

0 commit comments

Comments
 (0)