Thank you for the response. I've re-run my script using the same command mpiexec -n 4 python PHAT_Segment.py and am now receiving the following error message:
Traceback (most recent call last):
File "/data0/sw/anaconda3/lib/python3.10/site-packages/psutil/_pslinux.py", line 303, in <module>
set_scputimes_ntuple("/proc")
File "/data0/sw/anaconda3/lib/python3.10/site-packages/psutil/_common.py", line 399, in wrapper
ret = cache[key] = fun(*args, **kwargs)
File "/data0/sw/anaconda3/lib/python3.10/site-packages/psutil/_pslinux.py", line 270, in set_scputimes_ntuple
with open_binary('%s/stat' % procfs_path) as f:
File "/data0/sw/anaconda3/lib/python3.10/site-packages/psutil/_common.py", line 711, in open_binary
return open(fname, "rb", **kwargs)
FileNotFoundError: [Errno 2] No such file or directory: '/proc/stat'
Please let me know how I should proceed.