X-Git-Url: http://artulab.com/gitweb/?p=guile-orca;a=blobdiff_plain;f=README.md;fp=README.md;h=d208dba811543bea3ad45cc1dcf24792dd10b1b7;hp=d92eb354bd58438f953391917af6dbbe3026a211;hb=9f0e04964a07455536c2a45f73b9eef6be1246a8;hpb=d193afdd1139c8245b05c0e39ffcf159149c681f diff --git a/README.md b/README.md index d92eb35..d208dba 100644 --- a/README.md +++ b/README.md @@ -19,28 +19,26 @@ Remote Procedure Call (RPC) capabilities using Message Passing Interface (MPI). ### Using library -* Code to gather computation results from all processes: -``` +Code to gather computation results from all processes: +
(use-modules (orca))
(define (process-id-message) (format #f "process ~a" (rpc-worker-process-id)))
(rpc-start)
-
(format #t "I'm master process. Received ~s ~%" (rpc-make '(process-id-message)))
-
(rpc-finalize)
-```
+
-* Command to run program using 4 processes:
-```
+Command to run program using 4 processes:
+
mpirun -n 4 ./rpc-print-process-ids.scm
-```
+
-* Output of the command:
-```
+Output:
+
I'm master process. Received ("process 0" "process 1" "process 2" "process 3")
-```
+
See `examples` directory for more examples.
@@ -55,9 +53,8 @@ See `examples` directory for more examples.
## License
-This project is licensed under the GNU Lesser General Public License - see
-the COPYING.LESSER file for details.
+This project is licensed under the GNU Lesser General Public License - see the COPYING.LESSER file for details.
Please send comments on orca to **ahmet@artulab.com**
-Copyright (C) 2020 Ahmet Artu Yildirim
+Copyright (C) 2022 Ahmet Artu Yildirim