Re: [slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-04-04 Thread Reuti
> > The user added > > #SBATCH --export=none > > to his submission script to prevent any environment variables in the GUI's > environment from being applied to his job. After making that change, his job > worked as expected, so this confirmed it was an environment issue. We > compared the dif

Re: [slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-04-01 Thread Prentice Bisbal
On 3/28/19 1:25 PM, Reuti wrote: Hi, Am 22.03.2019 um 16:20 schrieb Prentice Bisbal : On 3/21/19 6:56 PM, Reuti wrote: Am 21.03.2019 um 23:43 schrieb Prentice Bisbal: Slurm-users, My users here have developed a GUI application which serves as a GUI interface to various physics codes they

Re: [slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-03-28 Thread Reuti
Hi, > Am 22.03.2019 um 16:20 schrieb Prentice Bisbal : > > On 3/21/19 6:56 PM, Reuti wrote: >> Am 21.03.2019 um 23:43 schrieb Prentice Bisbal: >> >>> Slurm-users, >>> >>> My users here have developed a GUI application which serves as a GUI >>> interface to various physics codes they use. From

Re: [slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-03-22 Thread Bill Barth
Slurm is almost certainly calling execve() with the path to a copy of this script as an argument eventually, so yes, tcsh will be noticed by the Linux kernel as the first line and invoked to handle the contents. Slurm doesn’t have to honor it since the kernel will. Slurm, usually makes a pass th

Re: [slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-03-22 Thread Thomas M. Payerle
Does the GUI run as the user (e.g. the user starts the GUI, and so submitting process is owned by user), or is the GUI running as a daemon (in which case, is it submitting jobs as the user and if so how). And is the default shell of the user submitting the job tcsh (like the shebang in the script)

Re: [slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-03-22 Thread Prentice Bisbal
Chris, I use that -x switch all the time in other situations. Don't know why I didn't think of using it in this one. Thanks for reminding me of that. Prentice On 3/22/19 1:18 PM, Christopher Samuel wrote: On 3/21/19 3:43 PM, Prentice Bisbal wrote: #!/bin/tcsh Old school script debugging

Re: [slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-03-22 Thread Prentice Bisbal
Thomas, The GUI app writes the script to the file slurm_script.sh in the cwd.  I did exactly what you suggested as my first step in debugging check the Command= value from the output of 'scontrol show job' to see what script was actually submitted, and it was the slurm_script.sh in the cwd.

Re: [slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-03-22 Thread Christopher Samuel
On 3/21/19 3:43 PM, Prentice Bisbal wrote: #!/bin/tcsh Old school script debugging trick - make that line: #!/bin/tcsh -x and then you'll see everything the script is doing. All the best, Chris -- Chris Samuel : http://www.csamuel.org/ : Berkeley, CA, USA

Re: [slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-03-22 Thread Prentice Bisbal
On 3/22/19 12:40 PM, Reuti wrote: Am 22.03.2019 um 16:20 schrieb Prentice Bisbal : On 3/21/19 6:56 PM, Reuti wrote: Am 21.03.2019 um 23:43 schrieb Prentice Bisbal: Slurm-users, My users here have developed a GUI application which serves as a GUI interface to various physics codes they use.

Re: [slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-03-22 Thread Thomas M. Payerle
Assuming the GUI produced script is as you indicated (I am not sure where you got the script you showed, but if it is not the actual script used by a job it might be worthwhile to examine the Command= file from scontrol show job to verify), then the only thing that should be different from a GUI su

Re: [slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-03-22 Thread Reuti
> Am 22.03.2019 um 16:20 schrieb Prentice Bisbal : > > On 3/21/19 6:56 PM, Reuti wrote: >> Am 21.03.2019 um 23:43 schrieb Prentice Bisbal: >> >>> Slurm-users, >>> >>> My users here have developed a GUI application which serves as a GUI >>> interface to various physics codes they use. From thi

Re: [slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-03-22 Thread Prentice Bisbal
On 3/21/19 6:56 PM, Reuti wrote: Am 21.03.2019 um 23:43 schrieb Prentice Bisbal: Slurm-users, My users here have developed a GUI application which serves as a GUI interface to various physics codes they use. From this GUI, they can submit jobs to Slurm. On Tuesday, we upgraded Slurm from 18.

Re: [slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-03-21 Thread Reuti
Am 21.03.2019 um 23:43 schrieb Prentice Bisbal: > Slurm-users, > > My users here have developed a GUI application which serves as a GUI > interface to various physics codes they use. From this GUI, they can submit > jobs to Slurm. On Tuesday, we upgraded Slurm from 18.08.5-2 to 18.08.6-2,and

[slurm-users] Slurm doesn't call mpiexec or mpirun when run through a GUI app

2019-03-21 Thread Prentice Bisbal
Slurm-users, My users here have developed a GUI application which serves as a GUI interface to various physics codes they use. From this GUI, they can submit jobs to Slurm. On Tuesday, we upgraded Slurm from 18.08.5-2 to 18.08.6-2,and a user has reported a problem when submitting Slurm jobs t