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

Test run instructions for Windows #11

Open
i-sayuh opened this issue Feb 21, 2024 · 3 comments
Open

Test run instructions for Windows #11

i-sayuh opened this issue Feb 21, 2024 · 3 comments
Assignees

Comments

@i-sayuh
Copy link

i-sayuh commented Feb 21, 2024

Under section 'How to test run LiAISON', it specifies "open a terminal in the root folder". What kind of terminal is this referring to? For example, on my Windows machine, I can execute a .sh file by using anaconda powershell prompt, windows command prompt, or Git Bash. However, each of these applications may interpret commands in different languages. In other words, the "chmod +x test_run.sh" line could work in one application, but not the other because chmod is not recognized. However, chmod simply does not work on windows machines regardless of the type of terminal being used. I tried to execute the command through anaconda powershell prompt but it did not recognize the command. Attached is a screenshot of what ChatGBT said regarding the error (the suggested solution generated by AI fixes the error).
MicrosoftTeams-image (1)
I believe the specific type of terminal to use should be specified and the associated commands should be tailored to the relevant language.

@tjlca
Copy link
Collaborator

tjlca commented Feb 28, 2024

Thanks for the feedback. I realize now a lot of things are different for Windows machine. chmod is associated with bash or linux based terminals. Can you confirm if Anaconda terminal worked flawlessly compared to powershell and git bash? @i-sayuh

@tjlca tjlca self-assigned this Feb 28, 2024
@i-sayuh
Copy link
Author

i-sayuh commented Feb 28, 2024

Anaconda powershell prompt works fine on windows given one implements the AI generated solution included above. However, it is best to use Git Bash directly when running bash jobs on windows rather than using Anaconda to submit a bash job which leverages Git Bash to execute the job. See issue #13

@i-sayuh
Copy link
Author

i-sayuh commented Feb 28, 2024

Using Git Bash directly, one must navigate to the folder where 'test_run.sh' is stored and execute the following line to run the model:

sbatch test_run.sh

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