Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault with simCH4ebb=true #19

Open
f-baerenbold opened this issue Nov 5, 2020 · 2 comments
Open

Segmentation fault with simCH4ebb=true #19

f-baerenbold opened this issue Nov 5, 2020 · 2 comments

Comments

@f-baerenbold
Copy link

Hi,

If simCH4ebb is true (or undefined) in the config file, I get a segfault in my Simstrat-AED2 model. I found out that it is related to the following warning during compilation of AED2:

src/aed2_carbon.F90:715:0:

   _DIAG_VAR_S_(data%id_atm_ch4_ebb) = ebb_flux * (1-data%ch4_bub_disf1) * secs_per_day

Warning: 'ebb_flux' may be used uninitialized in this function [-Wmaybe-uninitialized]

@matthipsey
Copy link
Contributor

matthipsey commented Nov 6, 2020 via email

@f-baerenbold
Copy link
Author

Ok, thanks!

Cheers,
Fabian

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

No branches or pull requests

2 participants