Changeset 52aacc
- Timestamp:
- Jul 10, 2012, 1:15:51 PM (13 years ago)
- Children:
- ce1e39
- Parents:
- ec4b04
- git-author:
- Frederik Heber <heber@…> (07/08/12 19:33:05)
- git-committer:
- Frederik Heber <heber@…> (07/10/12 13:15:51)
- File:
-
- 1 edited
-
src/bin/mpqc/mpqc.cc (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/bin/mpqc/mpqc.cc
rec4b04 r52aacc 318 318 const char *check; // option "c" 319 319 const char *simple_input; // option "i" 320 string executablename; 320 321 321 322 #ifdef HAVE_CHEMISTRY_CCA … … 333 334 void parseRemainderOptions( 334 335 GetLongOpt &options, 335 struct OptionValues &values) 336 struct OptionValues &values, 337 int argc, 338 char **argv) 336 339 { 337 340 values.keyvalue = options.retrieve("k"); … … 340 343 values.check = options.retrieve("c"); 341 344 values.simple_input = options.retrieve("i"); 345 values.executablename = argv[0]; 342 346 343 347 #ifdef HAVE_CHEMISTRY_CCA … … 788 792 * \param debugger debugger structure 789 793 * \param options parsed command line options 790 * \param argv argument array791 794 */ 792 795 void setupDebugger( … … 794 797 Ref<MessageGrp> &grp, 795 798 Ref<Debugger> &debugger, 796 struct OptionValues &values, 797 char **argv) 799 struct OptionValues &values) 798 800 { 799 801 debugger << keyval->describedclassvalue("debug"); 800 802 if (debugger.nonnull()) { 801 803 Debugger::set_default_debugger(debugger); 802 debugger->set_exec( argv[0]);804 debugger->set_exec(values.executablename.c_str()); 803 805 debugger->set_prefix(grp->me()); 804 806 if (values.debug) … … 1173 1175 ComputeOptions(options, output, outstream); 1174 1176 OptionValues values; 1175 parseRemainderOptions(options, values );1177 parseRemainderOptions(options, values, argc, argv); 1176 1178 1177 1179 // get the message group. first try the commandline and environment … … 1231 1233 // now set up the debugger 1232 1234 Ref<Debugger> debugger; 1233 setupDebugger(keyval, grp, debugger, values , argv);1235 setupDebugger(keyval, grp, debugger, values); 1234 1236 1235 1237 // now check to see what matrix kit to use
Note:
See TracChangeset
for help on using the changeset viewer.
