PBSControllerLauncher: Unable to connect_client_sync()
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- jupyter, python
- Lĩnh vực
- devops, distributed-systems
Hướng nghiên cứu
Bắt đầu với PBSControllerLauncher và luồng Cluster.connect_client_sync(), sử dụng các template ipcluster_config.py và chuỗi khởi động cluster đã được báo cáo làm bản tái hiện. Kiểm tra đầu ra của controller job và hành vi chờ kết nối; hoàn tất khi lệnh gọi đồng bộ trả về một client có thể sử dụng cho PBS cluster đã khởi động.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I have been using ipyparallel 6 for a while and would like to migrate to ipyparallel 7 mainly due to fact that the new Cluster API enables you to manage the entire process through a Jupyter Notebook. Unfortunatelly, I am having difficulties to connect a client to my cluster.
I have created a new IPython profile adding a custom ipcluster_config.py, which is a modified version of my existing/working config for ipp 6 (see below).
I can successfully start a cluster spawning two PBS jobs (controller and engine).
import ipyparallel as ipp
cluster=ipp.Cluster(
n=128,
controller_ip='*',
profile='pbs'
)
# Using existing profile dir: '/network/datamic/home/lukask/.aixvipmap/.ipython/profile_pbs'
await cluster.start_cluster()
# Job submitted with job id: '23777'
# Starting 4 engines with <class 'ipyparallel.cluster.launcher.PBSEngineSetLauncher'>
# Job submitted with job id: '23778'
# <Cluster(cluster_id='1635407068-xsc7', profile='pbs', controller=<running>, engine_sets=['1635407070'])>
But if I run the following line, the notebook will only show that the kernel is busy and it will never actually finish.
rc = cluster.connect_client_sync()
Am I using the API incorrectly? What might be the problem?
ipcluster_config.py
c.Cluster.engine_launcher_class = 'ipyparallel.cluster.launcher.PBSEngineSetLauncher'
c.Cluster.controller_launcher_class = 'ipyparallel.cluster.launcher.PBSControllerLauncher'
c.PBSControllerLauncher.batch_template = '''
#PBS -N ipcontroller
#PBS -j oe
#PBS -l walltime=01:00:00
#PBS -l nodes=1:ppn=1
cd $PBS_O_WORKDIR
conda activate ipp7
ipcontroller --profile-dir={profile_dir}
'''
c.PBSEngineSetLauncher.batch_template = '''
#PBS -N ipengine
#PBS -j oe
#PBS -l walltime=01:00:00
#PBS -l nodes={n//4}:ppn=4
cd $PBS_O_WORKDIR
conda activate ipp7
module load intel
mpiexec -n {n} ipengine --profile-dir={profile_dir}
'''
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 2.6k
- Fork
- 1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ipython/ipyparallel
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
ipython/ipyparallel#1029 · 9 bình luận ·
-
pidigits example website is gone Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
ipython/ipyparallel#984 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ipython/ipyparallel#937 · 4 bình luận ·
-
Packages and definitions loaded in the regular kernel are not known by engines and vice versa Đang mởquestion
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
ipython/ipyparallel#897 · 12 bình luận ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ipython/ipyparallel#882 ·
Tất cả issue của ipython/ipyparallel
Issue tương tự
-
Solved site promotion gate fails on runner PHP patch drift (expects 8.2.33, runner installs 8.2.34) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Automattic/blocks-engine#2161 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 60/100
github/gh-aw-mcpg#13748 ·
-
agentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
personalrobotics/tsr#128 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Azure/azure-functions-docker#1257 ·