To be able to use ZioLib, MPI must be initialized first. Then ZioLib must be initialized with a call to zio_init with the MPI communicator used for computation as the argument. For example,
ret = zio_init(mpi_comm_world)
To end ZioLib, zio_end() is called.