Hi Jan,

Have you made any modifications to the script recently? It looks like
something is inserting Windows carriage returns which show up as "\n\r" in
UNIX/Linux, which subsequently newlines the "\n", leaving a "\r" on the
following empty line.



Ian


On Mon, Dec 10, 2012 at 4:01 AM, jan roels <janro...@gmail.com> wrote:

> No, it seem to be something else. The state of the job doesn't go to Eqw
> but the job creates error files with:
>
> /var/spool/gridengine/execd/node1/job_scripts/160: line 2: $'\r': command
> not found
> /var/spool/gridengine/execd/node1/job_scripts/160: line 9: $'\r': command
> not found
>
>
> 2012/12/10 jan roels <janro...@gmail.com>
>
>> Nevermind, problem with the license.
>>
>>
>> 2012/12/10 jan roels <janro...@gmail.com>
>>
>>> Hi,
>>>
>>> I added some new nodes and when i run my script i get the following:
>>>
>>> /var/spool/gridengine/execd/node1/job_scripts/160: line 2: $'\r':
>>> command not found
>>> /var/spool/gridengine/execd/node1/job_scripts/160: line 9: $'\r':
>>> command not found
>>>
>>> I'm sure the script is correct, it always worked on my nodes but now i
>>> get this in the errorfile.
>>>
>>> This is the script:
>>>
>>>
>>> #!/bin/bash
>>>
>>> #$-cwd
>>>
>>> #$-S /bin/sh
>>>
>>> #$-N SAFKTAT1
>>> #$-t 6970-10230:1
>>>
>>>
>>>
>>> /var/software/packages/Mathematica/7.0/Executables/math -run
>>> "teller=$SGE_TASK_ID;<< ModelFotokatalyseTAT.m"
>>>
>>>
>>
>
> _______________________________________________
> users mailing list
> users@gridengine.org
> https://gridengine.org/mailman/listinfo/users
>
>


-- 
Ian Kaufman
Research Systems Administrator
UC San Diego, Jacobs School of Engineering ikaufman AT ucsd DOT edu
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to