I am running a program that requires perl installed via conda. However, whenever I am running the program I get this error:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "C.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
The program will still partly run with this error but then it stops.
I use slurm so everything has to be ran via an sbatch script. Can I change the locale settings in the sbatch script before running my program?