Commit a220c9de authored by Richard's avatar Richard
Browse files

Update ccio_overview.md -- Fixing instructions for building code.

parent afd61777
......@@ -52,12 +52,13 @@ Create the top level of the directory structure for this example:
mkdir $HDF5_ROOT
cd $HDF5_ROOT
mkdir library
mkdir repos
mkdir gitrepos
```
Clone the necessary git repository (be sure to use the 'ccio' branch of HDF5):
```
cd gitrepos
git clone https://bitbucket.hdfgroup.org/scm/hdffv/hdf5.git
cd hdf5
git checkout ccio
......@@ -79,14 +80,15 @@ mkdir ccio
Run autogen, we are using the `ccio` directories to build and install the code:
```
cd $HDF5_ROOT/library/build/ccio
cd $HDF5_ROOT/gitrepos/hdf5
./autogen.sh
```
Now, assuming your environment is set up correctly (which is machine dependent) it is time to run the configuration step. Make sure the following line is correct for your installation (make sure the `configure` and `--prefix` paths are correct):
Now, assuming your environment is set up correctly (which is machine dependent) it is time to run the configuration step. Make sure the following lines are correct for your installation (make sure the `configure` and `--prefix` paths are correct):
```
CC=cc CFLAGS='-O3 -D<MACHINE>' $HDF5_ROOT/library/build/ccio/configure --enable-parallel --enable-build-mode=production --enable-symbols=yes --prefix=$HDF5ROOT/library/install/ccio
cd $HDF5_ROOT/library/build/ccio
CC=cc CFLAGS='-O3 -D<MACHINE>' $HDF5_ROOT/gitrepos/hdf5/configure --enable-parallel --enable-build-mode=production --enable-symbols=yes --prefix=$HDF5ROOT/library/install/ccio
```
Note that this configuration command calls for a machine-specific `-D<MACHINE>` flag. This flag is required if you want to enable a **machine-specific topology API** within the CCIO VFD. Currently, the only machine flags that can be utilized by the VFD are `-DTHETA` and `-DBGQ`. However, other machine topologies (and definition flags) can be added to the `src/HDF5mpio_topology.h` source file by following the steps outlined in the **"Contributing a New Machine Topology"** section below.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment