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

max_time as an integer #50

Closed
tmigot opened this issue Nov 6, 2021 · 2 comments
Closed

max_time as an integer #50

tmigot opened this issue Nov 6, 2021 · 2 comments

Comments

@tmigot
Copy link
Contributor

tmigot commented Nov 6, 2021

Usually in Julia, the time() is a real number. Is there any specific reason why the max_time in NomadOption is fixed as an integer here, L.69?

@salomonl
Copy link
Collaborator

salomonl commented Nov 6, 2021

Hey @tmigot . max_time is a parameter of the Nomad software given in seconds, which can be provided as a size_t type for the c++ interface (see https://nomad-4-user-guide.readthedocs.io/en/latest/Appendix.html MAX_TIME parameter).

@tmigot
Copy link
Contributor Author

tmigot commented Nov 7, 2021

Ok, thanks. I just got confused because in the NomadOptions it is specified:

max_time::Union{Nothing, Int}

@tmigot tmigot closed this as completed Nov 19, 2021
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