-
Notifications
You must be signed in to change notification settings - Fork 244
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
[Core] Disable runkratos #9734
[Core] Disable runkratos #9734
Conversation
You may also want to remove it from the README |
kratos/python_scripts/run_tests.py
Outdated
@@ -177,7 +177,7 @@ def print_summary(exit_codes): | |||
|
|||
def main(): | |||
# Define the command | |||
cmd = os.path.join(os.path.dirname(KtsUtls.GetKratosMultiphysicsPath()), 'runkratos') | |||
cmd = sys.executable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the fct from testing.utilities
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mm I've been looking for it but There seems to be no function to do this, which one are you suggestion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kratos/kratos/python_scripts/testing/utilities.py
Lines 9 to 14 in 9ecfcec
def GetPython3Command(): | |
"""Return the name of the python command, can be used with subprocess.""" | |
sys_executable = sys.executable | |
if sys_executable: # was found | |
return sys_executable | |
raise Exception("The python command could not be determined!") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aaa thx!
message("-- No INSTALL_RUNKRATOS is defined, setting to ON") | ||
set(INSTALL_RUNKRATOS OFF) | ||
endif(NOT DEFINED INSTALL_RUNKRATOS) | ||
OPTION ( INSTALL_RUNKRATOS "Installing deprecated runkratos" OFF ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, didn't know about this.
We should change all the ifs we have with this !!
Okay, I already did a branch with this..., I will remove the branch |
It was this one... https://github.com/KratosMultiphysics/Kratos/tree/core/remove-runkratos |
It does not remove runkratos, only hides it. Also seems that I deleted more than intended. I will fix asap |
No longer relevant. See #11513 |
📝 Description
Disabling and deprecating runkratos. See #9733
🆕 Changelog