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

Make error message more explicit that an excecutable is not found and… #109

Merged
merged 4 commits into from
Nov 11, 2023

Conversation

kdund
Copy link
Collaborator

@kdund kdund commented Nov 10, 2023

… how to fix

@kdund kdund requested a review from dachengx November 10, 2023 19:28
Copy link

github-actions bot commented Nov 10, 2023

Pull Request Test Coverage Report for Build 6831618623

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.07%) to 91.655%

Files with Coverage Reduction New Missed Lines %
alea/model.py 1 85.64%
Totals Coverage Status
Change from base Build 6817410021: -0.07%
Covered Lines: 1351
Relevant Lines: 1474

💛 - Coveralls

@dachengx
Copy link
Collaborator

dachengx commented Nov 10, 2023

@kdund For users they should append .local/bin to their PATH like export PATH=$HOME/.local/bin. For developers, they should append $HOME/alea/bin. Because when editing $HOME/alea/bin, developers might hope to see the effect of modification immediately, but the editing on $HOME/alea/bin will not change .local/bin(unless reinstall alea).

@kdund
Copy link
Collaborator Author

kdund commented Nov 10, 2023

Is this in our current installation instructions?

(Also, in a jupyter notebook, as far as I can tell, it does not run my .bash_profile anyways to set env)

@dachengx
Copy link
Collaborator

dachengx commented Nov 10, 2023

Is this in our current installation instructions?

(Also, in a jupyter notebook, as far as I can tell, it does not run my .bash_profile anyways to set env)

Did you reopen the terminal and submit the jupyter job? Or run source .bash_profile before submitting?

@dachengx
Copy link
Collaborator

That information is not in the current instruction. We should add that.

@kdund
Copy link
Collaborator Author

kdund commented Nov 10, 2023

Is this in our current installation instructions?
(Also, in a jupyter notebook, as far as I can tell, it does not run my .bash_profile anyways to set env)

Did you reopen the terminal and submit the jupyter job? Or run source .bash_profile before submitting?

I submit jupyter notebooks from my mac using

ssh -v midway2 /home/kmoraa/Software/env_starter/start_jupyter.py

and then I now do

import os
os.environ["PATH"] += ":" + "/home/kmoraa/Software/alea/bin/"
os.environ["PATH"] += ":" + "/software/slurm-current-el7-x86_64/bin/"

Not quite successful yet-- utilix is not finding sbatch :/

@dachengx
Copy link
Collaborator

I submit jupyter notebooks from my mac using

ssh -v midway2 /home/kmoraa/Software/env_starter/start_jupyter.py

and then I now do

import os
os.environ["PATH"] += ":" + "/home/kmoraa/Software/alea/bin/"
os.environ["PATH"] += ":" + "/software/slurm-current-el7-x86_64/bin/"

Not quite successful yet-- utilix is not finding sbatch :/

Do you want to submit jobs through jupyter notebook? Btw, which alea-submission can tell you the place of alea-submission. And I added export PATH=$HOME/.local/bin:$HOME/local/bin:$PATH to .bashrc.

dachengx
dachengx previously approved these changes Nov 11, 2023
@dachengx dachengx merged commit bd71e94 into main Nov 11, 2023
7 checks passed
@dachengx dachengx deleted the knut-patch-errormessage branch November 11, 2023 02:52
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

Successfully merging this pull request may close these issues.

2 participants