Limits are identical; env is identical except for the variables SLURM
defines on the executing node. What would cause the bash script to get simply
copied and renamed? I've never seen SLURM cause this kind of behavior before.
Thanks,
~Mike C.
-----Original Message-----
From: Moe Jette [mailto:[email protected]]
Sent: Tuesday, January 22, 2013 7:49 PM
To: slurm-dev; Michael Colonno
Subject: Re: [slurm-dev] not executing script(?)
Compare limits and environment variables for the two different modes of
operation.
Quoting Michael Colonno <[email protected]>:
>
> Hi ~
>
> Getting some odd behavior with SLURM I haven't seen before (2.5.0 on
> CentOS 6.3 x64 though I don't think any of that matters for this
> issue). I'm trying to run a code which launches from a bash script
> (commercial code, we didn't write it). If I ssh to a node and launch
> the code, everything works fine. Syntax looks like this:
>
> >> launch_script input_file
>
> If I paste the exact same command at the end on a srun command the
> job "runs" and I get a copy of the bash script that was supposed to
> have been executed in the directory I launched from (even with
> executable properties) in a file labeled input_file.[bunch of letters
> and numbers]. Syntax looks like:
>
> >>srun -n1 -p whatever launch_script input_file
>
> Scratching my head on this one. Clearly it finds the correct script
> to launch on the correct node but I can't explain the difference in
> behavior between the interactive and SLURM versions. Test cases like
> "hostname" all work fine. Probably not relevant but the parallel codes
> I've compiled into SLURM also launch and run great.
>
> Thanks,
> ~Mike C.
>