Hello, I want to create and write my simulation result in a binary file called result.dat, but I want to set my file in a different folder, say /home/username/output
I am using PetscViewerBinaryOpen(PETSC_COMM_WORLD, result.dat, FILE_MODE_WRITE, & view) But this will create the file in the current folder by default. How could I modify the command to set a new path? Thank you.
