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

Coils Files with only one current group crashes STELLOPT #162

Open
lazersos opened this issue Oct 7, 2022 · 0 comments
Open

Coils Files with only one current group crashes STELLOPT #162

lazersos opened this issue Oct 7, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@lazersos
Copy link
Collaborator

lazersos commented Oct 7, 2022

STELLOPT will crash if you attempt to optimize a free boundary equilibrium with only one current group. This won't cause VMEC to crash but rather to issue the message:

% cdfgv: --E-- The variable curlabel is 1 dimensional

however, when STELLOPT attempts to read the wout file and then write it again it crashes with

At line 463 of file wrout.f
Fortran runtime error: Index '1' of dimension 1 of array 'curlabel' outside of expected range (1:0)

The workaround is to always have more than one current group in your MGRID.

@lazersos lazersos added the bug Something isn't working label Oct 7, 2022
@lazersos lazersos self-assigned this Oct 7, 2022
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

No branches or pull requests

1 participant