I wanted to run a program called trinity, which is written in partly in perl using the high performance cluster at my institute. I used conda to install trinity and tried to run it by submitting the job .sh file in slurm. But the job would abort within one minute. The slurm exit code I received was 25. I could not find any information on this exit code. When I checked the stderr file I saw this:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_IN"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I tried resolving this by adding the following lines to my script but the error prevailed.
export LANGUAGE=en_IN
export LC_ALL=en_IN
export LANG=en_IN
I also checked in locales -a
en_IN was indeed in the list so I did not have to do locale-gen (which I couldn't do even if I wanted to do because I do not have administrator privileges)
I am lost with this at the moment and I am a beginner to using slurm. How do I solve this? I have stuck with this for months. Do you have any idea on the slurm error code 25? I found no information for this in the documentation. I assume it has something to do with the locale warning.
Edit: Removed the last line in the error message I could solve it if I wanted to. That happened when I was troubleshooting the locale warning. The original error message was the locale warning. I installed Trinity using conda. I am running it by submitting a .sh file to slurm which activates the conda environment and then runs Trinity. But the job fails with error code 25 after a minute or so and the warning comes in the stderr