S3L_UnDefineArray frees the array handle and the associated memory that were set up by a previous call to S3L_DefineArray.
S3L_UnDefineArray does not free the local (process-resident) memory, where the local part of a parallel array is stored. The user is responsible for deallocating local memory assigned to the parallel array before the parallel program exits.