enable multi-apps for SSC
Created by: shevateng0
Need the ssc engine to run multiple applications (>2). However, the original program can only communicate between the intra communicators of two applications. I add some codes to allow the commnunication among the intra communicators of multiple applications.