Skip to content

Fix potential deallocation of unallocated array in Tutorial 5#88

Draft
ax0n-pr1me wants to merge 4 commits intolautenberger:mainfrom
ax0nic:fix_tutorial_5
Draft

Fix potential deallocation of unallocated array in Tutorial 5#88
ax0n-pr1me wants to merge 4 commits intolautenberger:mainfrom
ax0nic:fix_tutorial_5

Conversation

@ax0n-pr1me
Copy link
Copy Markdown

This PR fixes a bug in Tutorial 5 where the code attempts to deallocate an unallocated array

  • Added an ALLOCATED check before deallocating DYNAMIC_ARRAY
  • This prevents a crash when running Tutorial 5 if the array isn't already allocated

ax0n-pr1me added 4 commits May 7, 2025 16:10
…alled in the Dockerfile for Ubuntu 22.04 (3.10)
….bil file to fix error in verbose logs (level>101). When ELMFIRE finishes, the script tries to convert all the .bil files in the outputs directory to compressed GeoTIFF format. However, for the ember_flux file, the conversion already happened inside ELMFIRE itself (with the CONVERT_TO_GEOTIFF = .TRUE. flag).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant