vatai / mpk

Matrix powers kernel
1 stars 0 forks source link

Output files have always the same name #36

Closed vatai closed 4 years ago

vatai commented 4 years ago

If the pdmpk_prep program is run in the same directory on different mtx files, the results of the first run will be overwritten by the results of the second run.

To solve this, the names of the output files should be derived from the name of the input file. For example running ./pdmpk_prep xenon2.mtx 4 10 generates fresultR.txt (where R is the process rank/id), and instead it should generate xenon2-fresultR.txt.

vatai commented 4 years ago

Pushed to pdmpk-testing branch