Author: bugman Date: Thu Oct 16 16:55:08 2008 New Revision: 7756 URL: http://svn.gna.org/viewcvs/relax?rev=7756&view=rev Log: Added some clarifying comments. Modified: branches/multi_processor_merge/relax Modified: branches/multi_processor_merge/relax URL: http://svn.gna.org/viewcvs/relax/branches/multi_processor_merge/relax?rev=7756&r1=7755&r2=7756&view=diff ============================================================================== --- branches/multi_processor_merge/relax (original) +++ branches/multi_processor_merge/relax Thu Oct 16 16:55:08 2008 @@ -455,11 +455,18 @@ # No profiling. if not profile_flag: + # Instantiate the main class. relax_instance = Relax() + + # Process the command line arguments. relax_instance.arguments(sys.argv[1:]) + + # Set up the multi-processor elements. callbacks = Application_callback(master=relax_instance) multi_processor = Processor.load_multiprocessor(relax_instance.multiprocessor_type, callbacks, processor_size=relax_instance.n_processors) relax_instance.processor = multi_processor + + # Execute relax in multi-processor mode (this includes the uni-processor for normal operation). multi_processor.run() # Profiling activated.