[Bigjob-users] Packaged bigjob faling on Kraken.

Andre Luckow aluckow at cct.lsu.edu
Tue Sep 27 09:05:41 CDT 2011


Hi,
what was the solution of the problem?

The generated script is executed with python -c ""; thus, there
shouldn't be a need for a Shebang.

Usually, this error indicates that there is an issue with the
indentation since the different RMs tend to treat whitespaces a bit
different.

I fixed a whitespace issue this morning (r5277).

Best,
Andre

On Tue, Sep 27, 2011 at 3:55 PM, Ole Weidner <oweidner at cct.lsu.edu> wrote:
> Never mind. I just realized that the problem was solved… and that my
> assumption was correct :)
> Cheers,
> Ole
> On Sep 27, 2011, at 2:48 PM, Ole Weidner wrote:
>
> Do you have something like:
> #!/usr/bin/env python
> in line 1 one of your script? It doesn't seem that your script is actually
> executed by the Python interpreter but rather by the local shell.
> Cheers,
> Ole
> On Sep 26, 2011, at 11:45 PM, pradeep kumar Mantha wrote:
>
> Hi!
> BigJob is failing on Kraken with the following error. I am using Torque
> adaptor to submit the job.
> Please find the saga log attached.
>
>   File "<string>", line 1
>     import
>          ^
> SyntaxError: invalid syntax
> /var/spool/torque/mom_priv/jobs/1497533.nid00016.SC: line 21: import:
> command not found
> /var/spool/torque/mom_priv/jobs/1497533.nid00016.SC: line 22: import:
> command not found
> /var/spool/torque/mom_priv/jobs/1497533.nid00016.SC: line 23: import:
> command not found
> /var/spool/torque/mom_priv/jobs/1497533.nid00016.SC: line 24: import:
> command not found
> /var/spool/torque/mom_priv/jobs/1497533.nid00016.SC: line 26: syntax error
> near unexpected token `('
> /var/spool/torque/mom_priv/jobs/1497533.nid00016.SC: line 26: `start_time =
> time.time()'
>
> thanks
> pradeep
> <saga.12053.log>_______________________________________________
> Bigjob-users mailing list
> Bigjob-users at mail.cct.lsu.edu
> https://mail.cct.lsu.edu/mailman/listinfo/bigjob-users
>
> _______________________________________________
> Bigjob-users mailing list
> Bigjob-users at mail.cct.lsu.edu
> https://mail.cct.lsu.edu/mailman/listinfo/bigjob-users
>
>


More information about the Bigjob-users mailing list