← Back to team overview

team-galacticus team mailing list archive

[Bug 711424] Re: Floating exception when tracking elements with noninstantaneous recycling

 

This is now fixed in v0.9.0 r260. Previously was mapping an array of
abundances divided by timesteps to each individual entry in the
abundance error scaling array. If the number of abundances exceeded the
number of timesteps this could lead to division by zero errors and, in
any case, would lead to incorrect scalings for most of the abundances.


** Changed in: galacticus/trunk
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Team
Galacticus, which is subscribed to trunk.
https://bugs.launchpad.net/bugs/711424

Title:
  Floating exception when tracking elements with noninstantaneous
  recycling

Status in Galacticus: A Semi-Analytic Model of Galaxy Formation:
  Fix Released
Status in Galacticus trunk series:
  Fix Released

Bug description:
  When tracking three elements (O, Fe, Ca) using noninstantaneous
  recycling Galacticus crashes with:

  Program received signal 8 (SIGFPE): Floating-point exception.

  Backtrace for this error:
    + [0x40000400]
    + function __stellar_population_properties_noninstantaneous_MOD_stellar_population_properties_scales_noninstantaneous (0x812F836)
      at line 278 of file stellar_populations.properties.noninstantaneous.F90
    + function stellar_population_properties_scales (0x8130C47)
      at line 198 of file stellar_populations.properties.F90
    + function __tree_node_methods_exponential_disk_MOD_exponential_disk_scale_set (0x80D344A)
      at line 926 of file objects.tree_node.methods.disk.exponential.F90
    + function __merger_trees_MOD_tree_node_evolve (0x80C1ABA)
      at line 4 of file objects.tree_node.set_scale.inc
    + function __merger_trees_evolve_MOD_merger_tree_evolve_to (0x80AE402)
      at line 217 of file merger_trees.evolve.F90
    + function __galacticus_tasks_evolve_tree_MOD_galacticus_task_evolve_tree (0x8091FBD)
      at line 213 of file galacticus.tasks.evolve_tree.F90
    + function __galacticus_tasks_MOD_galacticus_task_do (0x80922F4)
      at line 6 of file galacticus.tasks.task_rules.inc
    + function galacticus (0x808753C)
      at line 101 of file Galacticus.F90
    + /lib/libc.so.6(__libc_start_main+0xe6) [0xbebe16]

  Example parameter file attached.