open-discussion > RE: PSOM 'background' mode in csh/sh
Jun 13, 2015  02:06 PM | Zaixu Cui
RE: PSOM 'background' mode in csh/sh
Dear Pierre,

I have made some changes to your script 'psom_run_script.m', and now it worked well in the csh/tcsh shell with 'background' mode.
I have replace the line 333 with line 334 and 335.
We can use sh to execute the script and don't use '.', and it will worked well in the csh/tcsh mode.

On the other way, I have changed the line 384, which is used to set the parameter of qsub.
I have added '-V' in this line.
With this parameter, all the terminal open in the background in the qsub mode will have the same environment variables with the current terminal. This is very important for us.

Thanks very much for your psom.

Wish you all the best.

Zaixu
Attachment: psom_run_script.m

Threaded View

TitleAuthorDate
Zaixu Cui Jun 13, 2015
RE: PSOM 'background' mode in csh/sh
Zaixu Cui Jun 13, 2015
Pierre Bellec Jun 15, 2015
Zaixu Cui Jun 17, 2015