add customGraph file and fix mpi cwd with spawn