[torqueusers] Sourcing files does not work

Kevin Van Workum vanw at sabalcore.com
Tue Apr 13 08:32:05 MDT 2010


On Mon, Apr 12, 2010 at 11:54 AM, Dimitrakakis Georgios
<giwrgis at chemistry.uoc.gr> wrote:
> Hi!
>
> I am using qsub to submit jobs in two different clusters.
>
> In the beggining of my script there is the following line:
>
> source ~/.bashrc_modified
>
> with which I am modifying certain parameters for the $PATH of the
> executables.
>
> In the one cluster everything goes fine and the paramaeters are changed.
> At the other cluster things do not work at all. It runs the job but it
> ignores completely the "source" line having as a result wrong outputs.

try adding "set -x" to the beginning of your script. Maybe that will
shed some light on what's going on.

>
> Do you know why this happens??
> Is there a certain option which may have been different in the batch
> system that does this?
>
> Regards,
>
> G.
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>



-- 
Kevin Van Workum, PhD
Sabalcore Computing Inc.
Run your code on 500 processors.
Sign up for a free trial account.
www.sabalcore.com
877-492-8027 ext. 11


More information about the torqueusers mailing list