Sun MPI 4.0 User's Guide: With CRE

Changing the Working Directory

Use the -C option to specify the path of an alternative working directory to be used by the program. If you don't specify -C, the default is the current working directory. For example,

% mprun -C /home/collins/bin a.out

changes the working directory for a.out to /home/collins/bin.