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

Bugfix/debug fixes #218

Merged
merged 16 commits into from
Jan 17, 2024
Merged

Bugfix/debug fixes #218

merged 16 commits into from
Jan 17, 2024

Conversation

lazersos
Copy link
Collaborator

These bugfixes essentially fix issues associated with runtime errors when compiling with the Intel compilers. The fixes are mostly related to BEASM3D but will proably propagate to FIELDLINES and STELLOPT. Essentially these fixes help patch runtime errors which Intel throws when -check all is used. Most of the errors had to do with divide by zero type issues where the result of the divide by zero was throw away anyway. There is a change in wall_mod which could slow down the generation of accelerated walls but otherwise most of the fixes speed up the code if anything. A bug in beams3d_diagnostic.f90 related to using REAL instead of REAL(rprec) was also addressed. This should close #193.

@lazersos lazersos added the bug Something isn't working label Jan 13, 2024
@lazersos lazersos requested review from lvanham and kudav January 13, 2024 13:34
@lazersos lazersos self-assigned this Jan 13, 2024
Copy link
Collaborator

@kudav kudav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When trying to run a simulation, I get an error on line 351 of beams3d_physics mod (floating point invalid operation). I addressed a similar issue in fdfde23 by enforcing s>=0 in the orbit following, but not sure if this is what we want.

LIBSTELL/Sources/Modules/wall_mod.f90 Show resolved Hide resolved
LIBSTELL/Sources/Modules/ez_hdf5.f90 Show resolved Hide resolved
@lazersos lazersos merged commit 4aa9933 into develop Jan 17, 2024
2 checks passed
@lazersos lazersos deleted the bugfix/debug_fixes branch January 17, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BEAMS3D: strange behavior when compiling in debug
2 participants