WEKO3
アイテム
並列スクリプト言語(Perl)+の実装と設計
https://ipsj.ixsq.nii.ac.jp/records/16807
https://ipsj.ixsq.nii.ac.jp/records/168077fe04904-1a11-4565-b16c-9fc0cf78074f
| 名前 / ファイル | ライセンス | アクション |
|---|---|---|
|
|
Copyright (c) 2002 by the Information Processing Society of Japan
|
|
| オープンアクセス | ||
| Item type | Trans(1) | |||||||
|---|---|---|---|---|---|---|---|---|
| 公開日 | 2002-03-15 | |||||||
| タイトル | ||||||||
| タイトル | 並列スクリプト言語(Perl)+の実装と設計 | |||||||
| タイトル | ||||||||
| 言語 | en | |||||||
| タイトル | Design and Implementation of a Parallel Script Language (Perl)+ | |||||||
| 言語 | ||||||||
| 言語 | jpn | |||||||
| キーワード | ||||||||
| 主題Scheme | Other | |||||||
| 主題 | 発表概要 | |||||||
| 資源タイプ | ||||||||
| 資源タイプ識別子 | http://purl.org/coar/resource_type/c_6501 | |||||||
| 資源タイプ | journal article | |||||||
| 著者所属 | ||||||||
| 豊橋技術科学大学情報工学系 | ||||||||
| 著者所属 | ||||||||
| 豊橋技術科学大学情報工学系 | ||||||||
| 著者所属 | ||||||||
| 豊橋技術科学大学情報工学系 | ||||||||
| 著者所属(英) | ||||||||
| en | ||||||||
| Department of Information and Computer Sciences, Toyohashi University of Technology | ||||||||
| 著者所属(英) | ||||||||
| en | ||||||||
| Department of Information and Computer Sciences, Toyohashi University of Technology | ||||||||
| 著者所属(英) | ||||||||
| en | ||||||||
| Department of Information and Computer Sciences, Toyohashi University of Technology | ||||||||
| 著者名 |
外崎, 由里子
大野, 和彦
中島, 浩
× 外崎, 由里子 大野, 和彦 中島, 浩
|
|||||||
| 著者名(英) |
Yuriko, Tonosaki
Kazuhiko, Ohno
Hiroshi, Nakashima
× Yuriko, Tonosaki Kazuhiko, Ohno Hiroshi, Nakashima
|
|||||||
| 論文抄録 | ||||||||
| 内容記述タイプ | Other | |||||||
| 内容記述 | PCクラスタやデュアルCPUマシンなどの普及により近い将来,研究者だけでなく一般のエンドユーザが並列環境を利用できるのが当たり前になると予想される.逐次計算機上では,Cなどの高性能なコンパイラ型言語処理系とともに,Perlなどの手軽なスクリプト言語処理系が使用されてきた.並列計算機上では前者に対してHPC++などが開発されているが,後者に相当するものの研究は進んでいない.そこで我々は,エンドユーザが容易に並列計算機資源を有効利用できる環境を実現するため,並列性を簡易に記述できるようにPerlを拡張した,並列スクリプト言語(Perl)+の設計・開発を行っている.(Perl)+では指定した計算機を並列環境に追加し,RPCにより任意のサブルーチンを実行することができる.その返り値は遅延評価されるため,ユーザは複数のサブルーチン呼び出しを容易に並列タスクとして実行できる.また,並列タスク間では通信用に擬似的なファイルストリームを開くことができ,Perlの入出力関数を使ってデータを送受信できる.これらの機能はCで実装し,PerlとCを組み合わせるためのツールであるXSを使ってPerlモジュールPerlplus.pmを構築している.このため,ユーザは本モジュールを取り込むだけで(Perl)+の機能を利用できる.本モジュールは起動時に各ホスト上にPerlプロセスを生成し,PVMによりRPCや通信を実現している.また,各プロセス上で実行スレッド/受信スレッドを生成することで,RPCの実行と並行して受信処理を行えるようにしている. | |||||||
| 論文抄録(英) | ||||||||
| 内容記述タイプ | Other | |||||||
| 内容記述 | The spread of PC clusters and multi-CPU machines makes multiprocessors environment available not only for the reseachers but also for the end users.On the uniprocessor machines,we can use both effcient languages such as C and simple script languages such as Perl.On the multiprocessors,the languages of the former type such as HPC++have been developed.However,the latter type is not researched enough.Thus,we designed and implemented a parallel script language named (Perl)+as an extension of Perl.(Perl)+supports parallel task generation using RPC.Since the return value of a subroutine is lazily evaluated,the subroutine is executed in parallel to its caller.In addition to the communication through input arguments and return value,a user may open quasi file streams for the communication between parallel subroutines.Through this stream,any type of Perl data may be transferred using input/output functions of Perl.We implemented these functions in C.The user-interface is built as a Perl module Perlplus.pm,using XS for the linkage of C and Perl. This module adds speci fied hosts to the PVM virtual machines and creates Perl processes.We also introduced multi-threads for concurrent execution of user ’s Perl code and PVM message receiving. | |||||||
| 書誌レコードID | ||||||||
| 収録物識別子タイプ | NCID | |||||||
| 収録物識別子 | AA11464814 | |||||||
| 書誌情報 |
情報処理学会論文誌プログラミング(PRO) 巻 43, 号 SIG03(PRO14), p. 82-82, 発行日 2002-03-15 |
|||||||
| ISSN | ||||||||
| 収録物識別子タイプ | ISSN | |||||||
| 収録物識別子 | 1882-7802 | |||||||
| 出版者 | ||||||||
| 言語 | ja | |||||||
| 出版者 | 情報処理学会 | |||||||