Code not running

Hi,
I am trying to run a code on CPU which is parallelized under the hood. The code works fine on my laptop but when I ran it into the cluster, it seems that nothing happen. Here i printed the seff file after 12h of run time and it seems that no resources is used at all. Does someone have an idea of what is going on? Thanks a lot for any hint

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Job ID: 6894763
Cluster: yggdrasil
User/Group: kissori1/hpc_users
State: RUNNING
Cores: 1
CPU Utilized: 00:00:00
CPU Efficiency: 0.00% of 1-12:46:12 core-walltime
Job Wall-clock time: 1-12:46:12
Memory Utilized: 0.00 MB (estimated maximum)
Memory Efficiency: 0.00% of 8.00 GB (8.00 GB/node)
WARNING: Efficiency statistics may be misleading for RUNNING jobs.

and here is my submission file:

#!/bin/sh
#SBATCH --output=slurm_%j.out 
#SBATCH --mail-user=oriel.kiss@etu.unige.ch
#SBATCH --mail-type=fail
#SBATCH --time 48:00:00
#SBATCH --partition=public-cpu
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=10
#SBATCH --mem-per-cpu=10G

Oriel

edit: updated post format

Hi Oriel,

in your sbatch script, I don’t see any line that would execute something?!

Best

Hi, yes sorry i forgot to copy it in my message, but indeed I have "srun python $HOME/VQE/main.py
" at the end of my batch script. I will come tomorrow to the hpc lunch to try to find a solution
Thanks
Best

And you aren’t loading any Python version using module?

I had a look at your log script /home/users/k/kissori1/VQE/slurm_6904195.out

[kissori1@admin1.yggdrasil VQE]$ cat slurm_6923149.out
********************begin model 5********************
Traceback (most recent call last):
  File "/home/users/k/kissori1/VQE/main.py", line 48, in <module>
    main()
  File "/home/users/k/kissori1/VQE/main.py", line 43, in main
    final_loss = run(j,trial)
  File "/home/users/k/kissori1/VQE/algorithm/run.py", line 55, in run
    H = mapper()
  File "/home/users/k/kissori1/VQE/algorithm/utils.py", line 21, in mapper
    file = open('/Users/oki/PhD/Nuclear_States/VQE/Fermionic_H.txt','r')
FileNotFoundError: [Errno 2] No such file or directory: '/Users/oki/PhD/Nuclear_States/VQE/Fermionic_H.txt'
srun: error: cpu029: task 0: Exited with exit code 1

It seems you have an issue with missing files or wrong path.