You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AI-and-Analytics/Features-and-Functionality/IntelPython_daal4py_DistributedKMeans/README.md
+27-1Lines changed: 27 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,9 @@ Code samples are licensed under the MIT license. See
24
24
25
25
Third party program Licenses can be found here: [third-party-programs.txt](https://github.com/oneapi-src/oneAPI-samples/blob/master/third-party-programs.txt)
26
26
27
+
## Running Samples on the Intel® DevCloud
28
+
If you are running this sample on the DevCloud, see [Running Samples on the Intel® DevCloud](#run-samples-on-devcloud)
29
+
27
30
## Building daal4py for CPU
28
31
29
32
oneAPI Data Analytics Library is ready for use once you finish the Intel® oneAPI AI Analytics Toolkit installation and have run the post installation script.
@@ -72,7 +75,7 @@ Launch Jupyter Notebook in the directory housing the code example
72
75
jupyter notebook
73
76
```
74
77
75
-
### Running the Sample as a Python File
78
+
### Running the Sample as a Python File<aname="running-the-sample"></a>
76
79
77
80
When using daal4py for distributed memory systems, the command needed to execute the program should be executed in a bash shell. To execute this example, run the following command, where the number **4** is chosen as an example and means that it will run on **4 processes**:
78
81
@@ -84,6 +87,29 @@ The output of the script will be saved in the included models and result directo
84
87
85
88
_Note: This code samples focus on using daal4py to do distributed ML computations on chunks of data. The `mpirun` command above will only run on a single local node. To launch on a cluster, you will need to create a host file on the master node, among other steps. The **TensorFlow_Multinode_Training_with_Horovod** code sample explains this process well._
86
89
90
+
## Running Samples on the Intel® DevCloud (Optional)<aname="run-samples-on-devcloud"></a>
91
+
92
+
<!---Include the next paragraph ONLY if the sample runs in batch mode-->
93
+
### Run in Batch Mode
94
+
This sample runs in batch mode, so you must have a script for batch processing. Once you have a script set up, refer to [Running the Sample](#running-the-sample).
95
+
96
+
<!---Include the next paragraph ONLY if the sample DOES NOT RUN in batch mode-->
97
+
### Run in Interactive Mode
98
+
This sample runs in interactive mode. For more information, see [Run as Juypter Notebook](#run-as-jupyter-notebook).
99
+
100
+
### Request a Compute Node
101
+
In order to run on the DevCloud, you need to request a compute node using node properties such as: `gpu`, `xeon`, `fpga_compile`, `fpga_runtime` and others. For more information about the node properties, execute the `pbsnodes` command.
102
+
This node information must be provided when submitting a job to run your sample in batch mode using the qsub command. When you see the qsub command in the Run section of the [Hello World instructions](https://devcloud.intel.com/oneapi/get_started/aiAnalyticsToolkitSamples/), change the command to fit the node you are using. Nodes which are in bold indicate they are compatible with this sample:
0 commit comments