Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-1645

Simulations with the BOLD monitor finish in float division by zero error at different times

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3.1
    • Component/s: TVB Framework
    • Labels:
      None
    • Environment:
      TVB 1.3 - MacOS X64 - Snow Leopard

      Description

      Running a simulation with the BOLD monitor finished in error after 35min of execution.
      The simulation was 120000ms long.

      A copy of the previous simulation (length 20000ms) finished with the same error after 4min of execution.

      The problem seems to come at the moment of storing a chunk of data:

      2014-11-16 17:23:50,587 - ERROR [proc:12112] - tvb.core.services.operation_service - Could not launch Operation with the given input data!
      2014-11-16 17:23:50,588 - ERROR [proc:12112] - tvb.core.services.operation_service - float division by zero
      Traceback (most recent call last):
      File "/Users/paupau/Downloads/TVB_Distribution/tvb.app/Contents/Resources/lib/python2.7/tvb/core/services/operation_service.py", line 336, in initiate_prelaunch
      result_msg, nr_datatypes = adapter_instance._prelaunch(operation, unique_id, available_space, **params)
      File "/Users/paupau/Downloads/TVB_Distribution/tvb.app/Contents/Resources/lib/python2.7/tvb/core/adapters/abcadapter.py", line 91, in new_function
      return func(*args, **kw)
      File "/Users/paupau/Downloads/TVB_Distribution/tvb.app/Contents/Resources/lib/python2.7/tvb/core/adapters/abcadapter.py", line 273, in _prelaunch
      result = self.launch(**kwargs)
      File "/Users/paupau/Downloads/TVB_Distribution/tvb.app/Contents/Resources/lib/python2.7/tvb/adapters/analyzers/fourier_adapter.py", line 168, in launch
      spectra.write_data_slice(partial_result)
      File "/Users/paupau/Downloads/TVB_Distribution/tvb.app/Contents/Resources/lib/python2.7/tvb/datatypes/spectral_framework.py", line 63, in write_data_slice
      self.store_data_chunk('array_data', partial_result.array_data, grow_dimension=2, close_file=False)
      File "/Users/paupau/Downloads/TVB_Distribution/tvb.app/Contents/Resources/lib/python2.7/tvb/core/traits/types_mapped.py", line 218, in store_data_chunk
      store_manager.append_data(data_name, data, grow_dimension, close_file, where)
      File "/Users/paupau/Downloads/TVB_Distribution/tvb.app/Contents/Resources/lib/python2.7/tvb/core/entities/file/hdf5_storage_manager.py", line 162, in append_data
      chunk_shape = self.__compute_chunk_shape(data_to_store.shape, grow_dimension)
      File "/Users/paupau/Downloads/TVB_Distribution/tvb.app/Contents/Resources/lib/python2.7/tvb/core/entities/file/hdf5_storage_manager.py", line 554, in __compute_chunk_shape

      *nr_elems_per_block = nr_elems_per_block / dim*

      ZeroDivisionError: float division by zero

        Attachments

          Activity

            People

            • Assignee:
              lia.domide Lia Domide
              Reporter:
              paula.sanz-leon Paula Sanz Leon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h