Closed Swarau closed 1 year ago
While I work on a fix, can you tell me the results of the following command (run from your ciao environment):
python -c 'import multiprocessing as mp; print(mp.cpu_count())'
Dear Sir,
This is the output of the following command:
python -c 'import multiprocessing as mp; print(mp.cpu_count())'
4
On Thu, 15 Dec 2022 at 23:23, Brian Alden @.***> wrote:
While I work on a fix, can you tell me the results of the following command (run from your ciao environment):
python -c 'import multiprocessing as mp; print(mp.cpu_count())'
— Reply to this email directly, view it on GitHub https://github.com/bcalden/ClusterPyXT/issues/35#issuecomment-1353487280, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALRQXMZDO25XMB3L32PQON3WNNLHXANCNFSM6AAAAAAS5A6LYU . You are receiving this because you authored the thread.Message ID: @.***>
If you get the latest release of the master branch, this issue should be fixed, if not, please advise. A simple git pull
in the ClusterPyXT directory should do the trick.
Dear Sir,
I tried to run the code. I have created the source and exclude regions. I have proceeded further through GUI mode as well as command line mode (python clusterpyxt.py --continue) When I clicked on run stage 2, I have encountered with the following error. I am unable to resolve it. It will be very useful, I you could provide one example.
Traceback (most recent call last): File "clusterpyxt.py", line 533, in run_stage_2 ciao.run_stage_2_parallel(self._cluster_obj, get_arguments()) File "/home/sk/ClusterPyXT-master/ciao.py", line 1357, in run_stage_2_parallel remove_sources_in_parallel(cluster,args) File "/home/sk/ClusterPyXT-master/ciao.py", line 671, in remove_sources_in_parallel with mp.Pool(args.num_cpus) as pool: File "/home/sk/CIAO/ciao-4.14/ots/lib/python3.8/multiprocessing/context.py", line 119, in Pool return Pool(processes, initializer, initargs, maxtasksperchild, File "/home/sk/CIAO/ciao-4.14/ots/lib/python3.8/multiprocessing/pool.py", line 205, in init raise ValueError("Number of processes must be at least 1") ValueError: Number of processes must be at least 1 Aborted (core dumped)