From: Ahmet Artu Yildirim Date: Mon, 30 May 2022 20:12:43 +0000 (-0700) Subject: Use html for the code block in README X-Git-Url: https://artulab.com/gitweb/?a=commitdiff_plain;ds=sidebyside;p=guile-orca Use html for the code block in README --- 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