python-hostlist

ภาพหน้าจอของซอฟแวร์:
python-hostlist
รายละเอียดซอฟแวร์:
รุ่น: 1.14
วันที่อัพโหลด: 20 Feb 15
ผู้พัฒนา: Kent Engstrom
การอนุญาต: ฟรี
ความนิยม: 16

Rating: 4.0/5 (Total Votes: 1)

หลาม hostlist เป็นโมดูลหลามที่รู้วิธีที่จะขยายและรวบรวมการแสดงออก hostlist
ตัวอย่าง:
& nbsp; % หลาม
& nbsp; Python 2.5.1 (R251: 54863, 10 กรกฎาคม 2008, 17:24:48)
& nbsp; [GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] ใน linux2
& nbsp; ประเภท "ช่วย", "ลิขสิทธิ์" "เครดิต" หรือ "ใบอนุญาต" สำหรับข้อมูลเพิ่มเติม
& nbsp; >>> นำเข้า hostlist
& nbsp; >>> เจ้าภาพ = hostlist.expand_hostlist (n "[1-10,17]")
& nbsp; >>> เจ้าภาพ
& nbsp; ['n1', 'n 2', 'N3', 'N4', 'N5', 'n6', 'N7', 'n8', 'N9', 'n10', 'N17']
& nbsp; >>> hostlist.collect_hostlist (เจ้าภาพ)
& nbsp; 'n [1-10,17]
& nbsp; >>> hostlist.collect_hostlist (["x1y1", "X2Y2", "x1y2", "X2Y1"])
& nbsp; 'x [1-2] และ [1-2]
hostlists ไม่ดีหรือชื่อโฮสต์จะส่งผลให้ยกเว้น hostlist.BadHostlist ถูกยกขึ้น
คำสั่ง 'hostlist' มีไว้เพื่อขยาย / hostlists รวบรวมและดำเนินการชุดที่พวกเขา ตัวอย่าง:
& nbsp; % hostlist n [1-10] n [5-20]
& nbsp; n [1-20]
& nbsp; % hostlist --difference n [1-10] n [5-20]
& nbsp; n [1-4]
& nbsp; % hostlist --expand --intersection n [1-10] n [5-20]
& nbsp; N5
& nbsp; n6
& nbsp; N7
& nbsp; n8
& nbsp; n9
& nbsp; n10
ติดตั้งโดยตรงจากการทำงาน
& nbsp; หลาม setup.py สร้าง & nbsp; & nbsp; (ตามที่ตัวเอง)
& nbsp; หลาม setup.py ติดตั้ง (เป็น root)
หรือเพียงแค่คัดลอก hostlist.py hostlist และไฟล์ hostlist.1 ไปยังสถานที่ที่เหมาะสม

มีอะไรใหม่ ในข่าวประชาสัมพันธ์ฉบับนี้.

    < li> สนับสนุนหลาม 3.
  • นำเข้าลดลงจาก functools ถ้าเป็นไปได้.
  • เคล็ดลับการใช้งานการติดตั้งหลาม 2/3 จาก ... / สาธิต / distutils / test2to3

ต้องการ

  • หลาม

ซอฟต์แวร์ที่คล้ายกัน

Claun
Claun

14 Apr 15

LAM/MPI
LAM/MPI

3 Jun 15

EC2Box
EC2Box

22 Jun 18

ความคิดเห็นที่ python-hostlist

ความคิดเห็นที่ไม่พบ
เพิ่มความคิดเห็น
เปิดภาพ!
ค้นหาตามหมวดหมู่