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


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d Auvergne on October 20, 2012 - 18:35:
URL:
  <http://gna.org/bugs/?20253>

                 Summary: The multi-processor code is broken because of the
missing Queue module.
                 Project: relax
            Submitted by: bugman
            Submitted on: Sat 20 Oct 2012 04:35:14 PM GMT
                Category: relax's source code
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: bugman
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 2.1.2
        Operating System: All systems

    _______________________________________________________

Details:

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).
--------------------------------------------------------------------------





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20253>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Wed Oct 31 17:00:11 2012