Revision b790839a
b/htools/hail.hs | ||
---|---|---|
46 | 46 |
[ oPrintNodes |
47 | 47 |
, oDataFile |
48 | 48 |
, oNodeSim |
49 |
, oVerbose |
|
49 | 50 |
, oShowVer |
50 | 51 |
, oShowHelp |
51 | 52 |
] |
... | ... | |
103 | 104 |
(opts, args) <- parseOpts cmd_args "hail" options |
104 | 105 |
|
105 | 106 |
let shownodes = optShowNodes opts |
107 |
verbose = optVerbose opts |
|
106 | 108 |
|
107 | 109 |
request <- readRequest opts args |
108 | 110 |
|
109 | 111 |
let Request rq cdata = request |
110 | 112 |
|
113 |
when (verbose > 1) $ |
|
114 |
hPutStrLn stderr $ "Received request: " ++ show rq |
|
115 |
|
|
116 |
when (verbose > 2) $ |
|
117 |
hPutStrLn stderr $ "Received cluster data: " ++ show cdata |
|
118 |
|
|
111 | 119 |
when (isJust shownodes) $ do |
112 | 120 |
hPutStrLn stderr "Initial cluster status:" |
113 | 121 |
hPutStrLn stderr $ Cluster.printNodes (cdNodes cdata) |
b/man/hail.rst | ||
---|---|---|
9 | 9 |
SYNOPSIS |
10 | 10 |
-------- |
11 | 11 |
|
12 |
**hail** [ **-t** *datafile* | **--simulate** *spec* ] *input-file*
|
|
12 |
**hail** [ **-t** *file* | **--simulate** *spec* ] [options...] *input-file*
|
|
13 | 13 |
|
14 | 14 |
**hail** --version |
15 | 15 |
|
... | ... | |
68 | 68 |
data with a simulated cluster. For details about the description, |
69 | 69 |
see the man page **hspace**(1). |
70 | 70 |
|
71 |
-v |
|
72 |
This option increases verbosity and can be used for debugging in order |
|
73 |
to understand how the IAllocator request is parsed; it can be passed |
|
74 |
multiple times for successively more information. |
|
75 |
|
|
76 |
|
|
71 | 77 |
CONFIGURATION |
72 | 78 |
------------- |
73 | 79 |
|
Also available in: Unified diff