home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.parallel
- Path: sparky!uunet!gatech!hubcap!fpst
- From: rg@tu-graz.ac.at (Robert Greimel)
- Subject: Re: putstring() in PVM
- Message-ID: <1993Jan12.200540.26995@hubcap.clemson.edu>
- Apparently-To: comp-parallel@uunet.uu.net
- Sender: news@fstgds02.tu-graz.ac.at (USENET News System)
- Nntp-Posting-Host: fmechsg01.tu-graz.ac.at
- Organization: Technical University of Graz, Austria
- X-Newsreader: TIN [version 1.1 PL6]
- References: <1993Jan11.164037.23193@hubcap.clemson.edu>
- Date: Tue, 12 Jan 93 18:12:58 GMT
- Approved: parallel@hubcap.clemson.edu
- Lines: 43
-
- Till Bubeck (bubeck@peanuts.informatik.uni-tuebingen.de) wrote:
- : In article <1993Jan8.162353.12739@draper.com>, hct4708@ccfds2.draper.com (Hung-Chou Tai) writes:
- : |> I'm just starting to program using PVM. I would like to pass a
- : |> string from the host machine to a slave using putstring().
- : |>
- : |> However, I do not know what to put for the second argument of
- : |> putstring. Is it the length of the string, or is it the number of
- : |> strings I want to pass?
- :
- : Which second argument? I included the prototype for putstring():
- :
- : int putstring(cp)
- : char *cp;
-
- Might he be using the FORTRAN interface to PVM. In this case, the
- prototype is
-
- CALL FPUTSTRING(CP,INFO)
-
- CHARACTER*(*) CP
- INTEGER INFO
-
- where INFO holds the error code when returning from the subroutine.
- There also exists a second subroutine in the FORTRAN interface for
- passing strings
-
- CALL FPUTSTRINGL(CP,LEN,INFO)
-
- CHARACTER*(*) CP
- INTEGER INFO,LEN
-
-
- Robert Greimel
-
- ------------------------------------------------------------------------
- Robert Greimel Tel. : +43 316 987-746
- Dep. TSS Fax : +43 316 987-777
- AVL List Gmbh. e-mail: rg@fmechsg01.tu-graz.ac.at
- Kleiststrasse 48
- A-8020 Graz
- AUSTRIA C= AMIGA is best, forget the rest
- ------------------------------------------------------------------------
-
-