mg5amcnlo / mg5amcnlo

Other
65 stars 35 forks source link

Fixes for Source makefile (on top of Olivier's CI fixes) #135

Closed valassi closed 2 months ago

valassi commented 2 months ago

Hi @oliviermattelaer this contains my fixes for Source makefile (on top of your CI fixes) See https://github.com/madgraph5/madgraph4gpu/pull/980

Still WIP as I have to leave. But at least it gives you the idea. Thanks Andrea

valassi commented 2 months ago

Hi @oliviermattelaer this is now complete. It comes together with https://github.com/madgraph5/madgraph4gpu/pull/984

Can you review both please?

Thanks Andrea

oliviermattelaer commented 2 months ago

Hi,

Just to check, is it possible for you to activate the CI? Looks like your commit are not running the CI (which is annoying). Not very relevant here since we need the gpucpp_for_360 to have the CI all green anyway. (which will have been useful here).

So I do not have any conceptual issue, but since the CI are down I have to check two points

Will update this, when I have done the check

oliviermattelaer commented 2 months ago

Ok madweight does go as far as such template in this version. So not possible to state that, so let's merge this and I will see in the gpucpp_for360 branch if this is is an issue and fix it there in case.

oliviermattelaer commented 2 months ago

So I merged those commit within the mg5amcnlo:gpucpp_fixci branch such that I can approve and close this PR (and have the CI triggered).

valassi commented 2 months ago

Hi @oliviermattelaer to make it clear: in this PR the only change I ask you to review is https://github.com/mg5amcnlo/mg5amcnlo/pull/135/commits/e1f63e54b2455a02b1efdfb1aa5fbae8865ea4d7

In practice, I split the 'clean' target by adding a 'cleanSource' target

Apart from this, I only added some comments to clean and cleanSource targets.

But otherwise this is identical to what you used in https://github.com/madgraph5/madgraph4gpu/pull/980

valassi commented 2 months ago

PS Ah sorry somehow I did not see that you had merged this.

Ok very good, merged in your gpucpp_fixci, that's good, thanks :-)

I will check the rest now

valassi commented 2 months ago

But otherwise this is identical to what you used in madgraph5/madgraph4gpu#980

JUst for the record: no sorry I had also moved the targets at the end through 'additional_clean'. And I defined this in one place in export_v4.py, but I should have done it in two places. Now fixed in https://github.com/mg5amcnlo/mg5amcnlo/pull/132/commits/fa706c6960932efdfbd9355c7c61790cf33d95d8 (see https://github.com/mg5amcnlo/mg5amcnlo/pull/132#issuecomment-2323195636)