Software⏱️ 3 min read📅 2026-06-15

How to Fix: Slurm on AWS returns slurmstepd: error: execve(): : No such file or directory

Slurm error on AWS cluster

Quick Answer: Ensure that the executable file is in the correct directory and has execute permissions.

The error 'slurmstepd: error: execve(): : No such file or directory' occurs when Slurm is unable to locate the executable file specified in the job script. This affects users who have installed a Burstable and Event-driven HPC Cluster on AWS using Slurm, and are trying to run custom jobs.

This issue can be frustrating for users who rely on their Slurm environment to execute complex tasks. However, by following these steps, users should be able to resolve the issue and successfully submit their custom jobs.

⚠️ Common Causes

  • The primary reason for this error is that the executable file specified in the job script does not exist in the expected location. This can occur if the user has incorrectly specified the path to the executable, or if the file has been deleted or renamed.
  • An alternative reason for this error is that the Slurm environment is not properly configured to allow access to certain directories or files. This can be due to a misconfiguration of the Slurm settings or a lack of necessary permissions.

🚀 How to Resolve This Issue

Verify and Correct Job Script Path

  1. Step 1: Check the job script to ensure that the path to the executable file is correct. Verify that the file exists in the specified location, and that the path is correctly formatted.
  2. Step 2: If the path appears to be correct, try running the job script with the absolute path to the executable file, rather than a relative path. This can help Slurm locate the file more accurately.
  3. Step 3: If the issue persists, check the Slurm configuration files to ensure that the necessary directories and permissions are set correctly.

Check Slurm Environment Configuration

  1. Step 1: Check the Slurm environment configuration to ensure that the necessary directories and permissions are set correctly. This can be done by reviewing the Slurm configuration files, such as slurm.conf or slurmdb.conf.
  2. Step 2: Verify that the Slurm environment is properly configured to allow access to the executable file. Check for any restrictions on directory or file access, and adjust the configuration as necessary.

💡 Conclusion

To resolve the 'slurmstepd: error: execve(): : No such file or directory' error, users should first verify and correct the job script path to ensure that the executable file exists in the expected location. If this does not resolve the issue, users should check the Slurm environment configuration to ensure that necessary directories and permissions are set correctly. By following these steps, users should be able to successfully submit their custom jobs.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions