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

zeroj needs to run wignercycle when database not available. threej has similar problem. sixj as well #1

Open
AlainPlattner opened this issue Aug 5, 2016 · 5 comments

Comments

@AlainPlattner
Copy link
Collaborator

zeroj line 68:

  error('Insufficient bandwidth for database')
  % HERE WE SHOULD RUN WIGNERCYCLE

Need to make it automatically run wignercycle to improve ease of use. Or at lease print out a warning: please run wignercycle(xxxx)

@AlainPlattner
Copy link
Collaborator Author

threej has a similar problem on line 82 and 85.

@AlainPlattner
Copy link
Collaborator Author

Also in gammap line 258:
when we call sixj without having yet calculated any wigner 6j symbols before, then the function crashes because the list of databases is empty

@AlainPlattner AlainPlattner changed the title zeroj needs to run wignercycle when database not available zeroj needs to run wignercycle when database not available. threej has similar problem. sixj as well Aug 5, 2016
@AlainPlattner
Copy link
Collaborator Author

And even if there is a 6j database already, I get an error in wignercycle

Undefined function or variable "fid1".

Error in wignercycle (line 212)
fwrite(fid1,C,fmt1); % The column number, "C"

Error in sixj (line 108)
wignercycle(L,6);

@AlainPlattner
Copy link
Collaborator Author

AlainPlattner commented Aug 5, 2016

It seems as if there are issues with wignercycle, zeroj, threej, and sixj.
To recognize and iron out all issues, I recommend to try and run the programs with an empty /WIGNER directory.

@harig00
Copy link

harig00 commented Aug 5, 2016

Frederik should be the one to decide what to do with this, but I will just add that I know there are some things in three and sixj that will purposefully break because he wants people to use wignercycle instead to make the databases. I have not used these much, so he should tell you his "vision".

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