sissaschool / turborvb

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

Add old build #72

Closed addman2 closed 7 months ago

addman2 commented 1 year ago

I added old build system. It is not the same, but CMake sometimes produces problems. CMake is good if everything works, but for optimizing a development is better to have simplier build system. This one is very simple. Now it only works for turborvb executatble, for testing it is enough.

kousuke-nakano commented 9 months ago

Dear @addman2, Sorry! I totally forgot to merge it. I would like to merge it asap since the old build system you have made is quite useful for non-standard architectures. Would you check my review?

addman2 commented 9 months ago

Hi @kousuke-nakano ,

So I did multiple changes. First selection of aggressive and non-agressive flags did not worked. I had to fix it. Also I added some make.inc. You even dont have to copy them, if you run make withouthem they will be copied automatically.

This build system works a little bit differently when compared to the previous one. You specifies out-of-ource build directory and compile aither serial or parallel version.

Another thing is only turborvb executable is build by this. I can later add other.

Tell me if you need more.

kousuke-nakano commented 9 months ago

Dear @addman2, thank you very much!! I will test the makefile tomorrow, then merge this pull-request!