eth-cscs / conflux

Distributed Communication-Optimal LU-factorization Algorithm
BSD 3-Clause "New" or "Revised" License
12 stars 3 forks source link

File Handle Strategy #6

Open andregail opened 3 years ago

andregail commented 3 years ago

We still need to figure out how exactly we want to do it with the file handle, i.e leave it to the user or have the responsibility to do it correctly on our side. This determines how we handle the constructor and destructors of the IO classes:

https://github.com/eth-cscs/conflux/blob/98a845b5f495c0246b443213faab29a05e322843/src/conflux/cholesky/CholeskyIO.cpp#L90-L99

At the moment, the responsibility to open and close correctly is fully placed on the user.