diff --git a/README.md b/README.md index 1bf2f7c..09281c8 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ To get started, `python setup.py install` to install the tools and dependencies. # Sample Codes ## Single Node - +The code below shows an example of how to activate the Cuquantum TensorNetwork backend of Qibo.
``` import numpy as np @@ -57,4 +57,13 @@ result = c() print(result.state()) ``` ++ +## Multi-Node +Multi-node is enabled by setting either the MPI or NCCL enabled flag to True in the computation settings. Below shows the script to launch multi node on 4 GPU in cluster. + +
+``` +mpirun -n 4 --mca opal_common_ucx_opal_mem_hooks 1 --mca orte_base_help_aggregate 0 -mca btl ^openib -hostfile $node_list python test.py +```\ No newline at end of file