X-Git-Url: http://artulab.com/gitweb/?p=guile-orca;a=blobdiff_plain;f=README.md;h=d208dba811543bea3ad45cc1dcf24792dd10b1b7;hp=5579337e8f1c3eb7eb636fc3bbdb34b2fab1fa55;hb=HEAD;hpb=30be9091210e4d34a906a83f0bd5abc7d6936362 diff --git a/README.md b/README.md index 5579337..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 **ahmetartu at gmail dot com**
+Please send comments on orca to **ahmet@artulab.com**
-Copyright (C) 2020 Ahmet Artu Yildirim
+Copyright (C) 2022 Ahmet Artu Yildirim