Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some modules do not work with srun #169

Open
jrlagrone opened this issue Jun 6, 2024 · 0 comments
Open

Some modules do not work with srun #169

jrlagrone opened this issue Jun 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jrlagrone
Copy link
Collaborator

A number of modules are setup to generate shell functions to wrap applications that are installed in containers. Srun expects actual executables and does not source things correctly.

Example:

#!/bin/bash
#SBATCH -p dev
#SBATCH -c 1
#SBATCH --mem=4G
#SBATCH -t 0-00:05:00

module purge
module load R/4.3.2

echo "Running"
srun Rscript --vanilla example.R

Results in

slurmstepd: error: execve(): Rscript: No such file or directory
srun: error: c144: task 0: Exited with exit code 2
@jrlagrone jrlagrone added the bug Something isn't working label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant