-
Notifications
You must be signed in to change notification settings - Fork 25
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
LSF system, stdout/stderr always goes to my email #1
Comments
Hi, I haven't used SJM on LSF, but based on my knowledge of how things work on SGE, I should say that you shouldn't be getting any emails unless you specified the --mail option when running SJM on the command-line, or unless you specify the -M option in sge_options in your SJM file. Also, I don't believe it will work as you expect if you are setting both log_dir and the -e and -o sge_options. When setting log_dir, all output goes in that directory, including the jobs stdout and stderr files, and those log files will have the default names of job_name.ejob_id and job_name.ojob_id. Also note that if you don't specify an absolute directory path when using -e and -o (which I suggest doing), then (if log_dir isn't specified) the stdout and stderr job files will be written in your home directory. |
Thanks much. Regard the log_dir, it will always be empty independent of how i run sjm or how my job looks like. I even tried the sched_options for -e and -o, which did not work for me as well. I am getting our HPCF support involved and hopefully work out something. Shuoguo |
Hey Shuoguo, Please try that and let me know if it works or not. |
Thanks for the suggestion.
for this test.
I will continue to figure out a solution though. Thanks! |
hi iiiir |
we can redirect in cmd part, like this:
|
I am on the LSF system. I have a job file like this:
job_begin
name jobA
time 1h
memory 500m
queue normal
project CompBio
sge_options -A swang -e example2.jobA.e.txt -o example2.jobA.o.txt
cmd echo "hello from job jobA"
job_end
job_begin
name jobB
time 30m
memory 1g
queue normal
project CompBio
cmd echo "hello from job jobB";
job_end
order jobB after jobA
log_dir /home/iiiit/app/SJM/doc/log
regardless of how i do, the "-e example2.jobA.e.txt -o example2.jobA.o.txt" or "log_dir /home/iiiit/app/SJM/doc/log" is not effective. all notifications goes to my email (for jobA and jobB)
Can you help?
Thanks,
The text was updated successfully, but these errors were encountered: