0

I'm using dask_jobqueue to establish a SLURMCluster. I'm trying to pass python files in the parent directory to the workers. I tried different ways including sys.path.append, setting PYTHONPATH in my .bashrc file, and setting PYTHONPATH in env_extra (it seems DASK version can't recognize job_script_prologue), but they all fail. The script works only when the imported Python files are in the same directory as the script. I just wonder if this is really the case (which means I should re-write my code to keep all files in the same directory), or I'm missing something here?

Also, I tried to use with performance_report to record some statistics in an HTML file, but it seems it does not work with dask_jobqueue, right?

shambakey1
  • 37
  • 7
  • Hi @shambakey1, a first answer in https://dask.discourse.group/t/some-questions-about-slurmcluster/1553/2. Let's discuss a bit there before giving a correct answer here. – Guillaume EB Feb 15 '23 at 20:01

0 Answers0