bugrelax - Bugs: bug #20253, The multi-processor code is broken...

 
 
Show feedback again

bug #20253: The multi-processor code is broken because of the missing Queue module.

Submitted by:  Edward d Auvergne <bugman>
Submitted on:  Sat 20 Oct 2012 04:35:14 PM UTC  
 
Category: relax's source codeSpecific analysis category: None
Priority: 5 - NormalSeverity: 3 - Normal
Status: FixedAssigned to: Edward d Auvergne <bugman>
Originator Name: Open/Closed: Closed
Release: 2.1.2Operating System: All systems

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 20 Oct 2012 04:35:14 PM UTC, original submission:

Running the multi-processor code, in this case for the Frame Order theory, triggers the bug in all cases with the error:

relax> calc(verbosity=1)
Numerical integration via the quasi-random Sobol' sequence.
Number of integration points: 1000
Base data: ['PCSs']
Traceback (most recent call last):
File "/data/edau/relax/branches/frame_order_testing/multi/processor.py", line 479, in run
self.callback.init_master(self)
File "/data/edau/relax/branches/frame_order_testing/multi/__init__.py", line 318, in default_init_master
self.master.run()
File "/data/edau/relax/branches/frame_order_testing/relax.py", line 186, in run
self.interpreter.run(self.script_file)
File "/data/edau/relax/branches/frame_order_testing/prompt/interpreter.py", line 278, in run
return run_script(intro=self.__intro_string, local=locals(), script_file=script_file, quit=self.__quit_flag, show_script=self.__show_script, raise_relax_error=self.__raise_relax_error)
File "/data/edau/relax/branches/frame_order_testing/prompt/interpreter.py", line 585, in run_script
return console.interact(intro, local, script_file, quit, show_script=show_script, raise_relax_error=raise_relax_error)
File "/data/edau/relax/branches/frame_order_testing/prompt/interpreter.py", line 468, in interact_script
exec_script(script_file, local)
File "/data/edau/relax/branches/frame_order_testing/prompt/interpreter.py", line 341, in exec_script
runpy.run_module(module, globals)
File "/usr/lib64/python2.6/runpy.py", line 140, in run_module
fname, loader, pkg_name)
File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/data/edau/relax/branches/frame_order_testing/test_suite/shared_data/frame_order/cam/pseudo_ellipse/multi_processor_test.py", line 98, in <module>
calc()
File "/data/edau/relax/branches/frame_order_testing/prompt/uf_objects.py", line 219, in _call_
self._backend(*new_args, **uf_kargs)
File "/data/edau/relax/branches/frame_order_testing/generic_fns/minimise.py", line 81, in calc
calculate(verbosity=verbosity)
File "/data/edau/relax/branches/frame_order_testing/specific_fns/frame_order.py", line 1585, in calculate
chi2 = model.func(param_vector)
File "/data/edau/relax/branches/frame_order_testing/maths_fns/frame_order/__init__.py", line 1216, in func_pseudo_ellipse_qrint
self.processor.run_queue()
File "/data/edau/relax/branches/frame_order_testing/multi/processor.py", line 622, in run_queue
self.run_command_queue(lqueue)
File "/data/edau/relax/branches/frame_order_testing/multi/processor.py", line 575, in run_command_queue
result_queue = Threaded_result_queue(self)
File "/data/edau/relax/branches/frame_order_testing/multi/result_queue.py", line 82, in _init_
self.queue = Queue.Queue()
NameError: global name 'Queue' is not defined
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 0.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun has exited due to process rank 0 with PID 366 on
node localhost exiting without calling "finalize". This may
have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------

Edward d Auvergne <bugman>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bugman (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 20 Oct 2012 04:37:11 PM UTCbugmanStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup