@@ -21,7 +21,7 @@ instructions can be found at the beginning of each file.
2121
2222* [ MNIST] ( ./MNIST )
2323 + A directory contains an example of
24- [ MNIST] ( https://github.com/pytorch/examples/tree/main/mnist ) ,
24+ [ Pytorch MNIST] ( https://github.com/pytorch/examples/tree/main/mnist ) ,
2525 using Pytorch module ` DistributedDataParallel ` for parallel training and
2626 ` PnetCDF-Python ` for reading data from a NetCDF files.
2727
@@ -31,24 +31,22 @@ instructions can be found at the beginning of each file.
3131
3232* [ nonblocking] ( ./nonblocking )
3333 + A directory contains examples that make use of nonblocking I/O APIs.
34- * [ nonblocking_write.py] ( ./nonblocking/nonblocking_write.py] ) --
34+ * [ nonblocking_write.py] ( ./nonblocking/nonblocking_write.py ) --
3535 Similar to ` collective_write.py ` , this example uses nonblocking APIs
3636 instead. It creates a netcdf file in CDF-5 format and writes a number of
3737 3D integer non-record variables.
38-
39- * [ nonblocking_read.py] ( ./nonblocking/nonblocking_read.py] ) --
40- A counterpart of ` nonblocking_write.py ` but does reads. It reads the
41- output file generated from ` nonblocking_write.py ` .
42-
43- * [ nonblocking_write_def.py] ( ./nonblocking/nonblocking_write_def.py] ) --
38+ * [ nonblocking_read.py] ( ./nonblocking/nonblocking_read.py ) --
39+ A read counterpart of ` nonblocking_write.py ` . It reads the output file
40+ generated from ` nonblocking_write.py ` .
41+ * [ nonblocking_write_def.py] ( ./nonblocking/nonblocking_write_def.py ) --
4442 This example is the same as ` nonblocking_write.py ` expect all nonblocking
4543 write requests (calls to ` iput ` and ` bput ` ) are posted in define mode. It
4644 creates a netcdf file in CDF-5 format and writes a number of 3D integer
4745 non-record variables.
4846
49- * [ collective_write .py] ( ./collective_write .py )
50- + This example writes multiple 3D subarrays to non-record variables of int
51- type using collective I/O mode .
47+ * [ create_open .py] ( ./create_open .py )
48+ + This example shows how to use ` File ` class constructor to create a NetCDF
49+ file and to open the file for read only .
5250
5351* [ put_vara.py] ( ./put_vara.py )
5452 + This example shows how to use ` Variable ` method put_var() to write a 2D
@@ -60,9 +58,9 @@ instructions can be found at the beginning of each file.
6058 shows how to use to ` Variable ` method get_var() read a 2D 4-byte integer
6159 array in parallel.
6260
63- * [ create_open .py] ( ./create_open .py )
64- + This example shows how to use ` File ` class constructor to create a NetCDF
65- file and to open the file for read only .
61+ * [ collective_write .py] ( ./collective_write .py )
62+ + This example writes multiple 3D subarrays to non-record variables of int
63+ type using collective I/O mode .
6664
6765* [ ghost_cell.py] ( ./ghost_cell.py )
6866 + This example shows how to use ` Variable ` method to write a 2D array user
@@ -89,19 +87,14 @@ instructions can be found at the beginning of each file.
8987 ` nc_var_align_size ` and prints the hint values as well as the header size,
9088 header extent, and two variables' starting file offsets.
9189
90+ * [ get_info.py] ( ./get_info.py )
91+ + This example prints all MPI-IO hints used.
92+
9293* [ transpose2D.py] ( ./transpose2D.py )
9394 + This example shows how to use ` Variable ` method ` put_var() ` to write a 2D
9495 integer array variable into a file. The variable in the file is a
9596 dimensional transposed array from the one stored in memory.
9697
97- * [ get_info.py] ( ./get_info.py )
98- + This example prints all MPI-IO hints used.
99-
100- * [ put_varn_int.py] ( ./put_varn_int.py )
101- + This example shows how to use a single call of ` Variable ` method
102- ` put_varn() ` to write a sequence of subarray requests to a variable with
103- arbitrary array indices and lengths.
104-
10598* [ transpose.py] ( ./transpose.py )
10699 + This example shows how to use ` Variable ` method ` put_var() ` to write six 3D
107100 integer array variables into a file. Each variable in the file is a
@@ -116,3 +109,8 @@ instructions can be found at the beginning of each file.
116109 * int XZY_var(X, Z, Y) ; ZYX -> XZY
117110 * int XYZ_var(X, Y, Z) ; ZYX -> XYZ
118111
112+ * [ put_varn_int.py] ( ./put_varn_int.py )
113+ + This example shows how to use a single call of ` Variable ` method
114+ ` put_varn() ` to write a sequence of subarray requests to a variable with
115+ arbitrary array indices and lengths.
116+
0 commit comments