Try another way to pass string variable to MPI_File_Open