From 77cadccb6defb882c422730dd03c2a1005022a9e Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Mon, 15 May 2006 17:03:40 +0000
Subject: [PATCH] warning message about -w option with bluegene.

---
 src/srun/opt.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/srun/opt.c b/src/srun/opt.c
index 4be63d276ab..eae890e3405 100644
--- a/src/srun/opt.c
+++ b/src/srun/opt.c
@@ -1308,6 +1308,12 @@ void set_options(const int argc, char **argv, int first)
 			opt.nodelist = xstrdup(optarg);
 			if (!_valid_node_list(&opt.nodelist))
 				exit(1);
+#ifdef HAVE_BG
+			info("\tThis option should only be used if the block\n"
+			     "\tyou are asking for can be created.\n"
+			     "\tPlease consult smap before using this option\n"
+			     "\tor your job may be stuck with no way to run.");
+#endif
 			break;
 		case (int)'W':
 			opt.max_wait = _get_int(optarg, "wait");
-- 
GitLab