bdsullivan / INDDGO

Integrated Network Decomposition & Dynamic programming for Graph Optimization problems
Other
16 stars 17 forks source link

gen_pkt crash #22

Closed jlothian closed 1 year ago

jlothian commented 11 years ago

(moving from INDDGO-survey) gen_pkt crashes if not all parameters are supplied; should warn instead:

9:21:30 (pts/4:bohr05.ccs.ornl.gov)% ./gen_pkt -t 1 -n 200 -k 25 -s 42 Fatal Error! Failed to input viable parameters for n, k, p (25,200,-1) Exiting terminate called after throwing an instance of 'Graph::GraphException' what(): Failed to input viable parameters for n, k, p (1341877296,4316936,745924384)

zsh: abort (core dumped) ./gen_pkt -t 1 -n 200 -k 25 -s 42 9:21:47 (pts/4:bohr05.ccs.ornl.gov)% ./gen_pkt -t 1 -n 200 -k 25 -s 42 -p 80

Generated random partial k-tree (200,25) in 0.010000 sec. Writing file pkt.200.25.80_0.dimacs