sissaschool / turborvb

Quantum Monte Carlo package, TurboRVB
https://turborvb.sissa.it
GNU General Public License v3.0
28 stars 6 forks source link

Added the parallel compilation for the tools. #59

Closed kousuke-nakano closed 1 year ago

kousuke-nakano commented 1 year ago

I have added a couple of lines to compile several tools (e.g., readforward) with MPI. @addman2, would you check if the updated CMakeLists.txt also works for a complication with GPU?

58

addman2 commented 1 year ago

Hi Kosuke,

I checked your changes. Honestly I dont understand why was nogpu-mpi introduced. readforward convertfort10* are all gpu ported so there is no need for nogpu version for them. Only thing I know that really needs nogpu is testad.

kousuke-nakano commented 1 year ago

Hi @addman2, yes, you are totally right. I have fixed them. Would you have a look?

kousuke-nakano commented 1 year ago

Hi @addman2, sorry I have introduced a bug. I should have inserted if(EXT_PARALLEL); otherwise, the serial compilation fails.