Skip to content

Add matrix.pdf files to the git repo#854

Merged
valassi merged 19 commits into
madgraph5:masterfrom
valassi:susy2
Jun 3, 2024
Merged

Add matrix.pdf files to the git repo#854
valassi merged 19 commits into
madgraph5:masterfrom
valassi:susy2

Conversation

@valassi
Copy link
Copy Markdown
Member

@valassi valassi commented Jun 1, 2024

Hi @oliviermattelaer this is another small PR that should be non controversial. I am just adding matrix.pdf files instead of matrix.ps files to the madgraph4gpu git repo, to make it easier to debug diagram related issues like #826.

THis does not affect CODEGEN in standard user mode. Can you please approve?

Thanks
Andrea

valassi added 7 commits June 1, 2024 12:59
…pt on my O/S - three new jpg/html files

Changes to be committed:
	modified:   susy_gg_t1t1.mad/CODEGEN_mad_susy_gg_t1t1_log.txt
	new file:   susy_gg_t1t1.mad/SubProcesses/P1_gg_t1t1x/card.jpg
	new file:   susy_gg_t1t1.mad/SubProcesses/P1_gg_t1t1x/diagrams.html
	new file:   susy_gg_t1t1.mad/SubProcesses/P1_gg_t1t1x/matrix11.jpg
…grams.html and matrix*.jpg files (created if ghostscript is installed)
…es three jpg/html files generated if ghostscript is installed
… matrix*pdf using ps2pdf and remove matrix*ps (if ghostscript is installed)
…rix.pdf files

for d in $(git ls-tree --name-only HEAD *mad/SubProcesses/P*); do git add $d/*pdf; done
… CODEGEN logs for easier merging

git checkout upstream/master $(git ls-tree --name-only HEAD */CODEGEN*txt)
@valassi valassi requested a review from oliviermattelaer June 1, 2024 11:28
@valassi valassi self-assigned this Jun 1, 2024
valassi added 8 commits June 1, 2024 18:00
…tadata from matrix.pdf

(Otherwise a different matrix.pdf is generated every time from the same matrix.ps)
…rix.pdf files with reproducible PDF/XMP metadata
…m/master CODEGEN logs for easier merging

git checkout upstream/master $(git ls-tree --name-only HEAD */CODEGEN*txt)
@valassi
Copy link
Copy Markdown
Member Author

valassi commented Jun 1, 2024

I have now updated this by removing pdf and xmp metadata from the matrix.pdf file to make it reproducible.

This PR is now ready for approval and merging

valassi added a commit to valassi/madgraph4gpu that referenced this pull request Jun 1, 2024
…raph5#850 and madgraph5#860 for xsec mismatch madgraph5#825) into susy2

Fix conflicts:
	epochX/cudacpp/CODEGEN/generateAndCompare.sh
@valassi
Copy link
Copy Markdown
Member Author

valassi commented Jun 3, 2024

I have updated this after merging #860 into master.

@oliviermattelaer this is ready to be reviewed and merged. Thanks

Copy link
Copy Markdown
Member

@oliviermattelaer oliviermattelaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a fan of commiting binary format in a git repo, (see xz recent issue).
But if that helps you, lets go for it!
But why not keeping both the ps and pdf? This will make more clear what is change in the pdf file if we see the change from git in the ps file (since they are text file)

valassi added 3 commits June 3, 2024 21:59
…ested by Olivier madgraph5#854

for d in $(git ls-tree --name-only HEAD *.mad); do git add $d/SubProcesses/P*/matrix1.ps; done
…EN logs for easier merging

git checkout upstream/master $(git ls-tree --name-only HEAD */CODEGEN*txt)
@valassi
Copy link
Copy Markdown
Member Author

valassi commented Jun 3, 2024

I'm not a fan of commiting binary format in a git repo, (see xz recent issue).
But if that helps you, lets go for it!

Thanks Olivier :-)

(What was the xz recent issue?)

But why not keeping both the ps and pdf? This will make more clear what is change in the pdf file if we see the change from git in the ps file (since they are text file)

Yes I have done this, good suggestion. And then if at some point we feel we must remove pdfs, we can remove them...

I will merge now, thanks Andrea

@valassi
Copy link
Copy Markdown
Member Author

valassi commented Jun 3, 2024

CI tests succeded, merging

@valassi valassi merged commit 286280f into madgraph5:master Jun 3, 2024
valassi added a commit to valassi/madgraph4gpu that referenced this pull request Jun 3, 2024
valassi added a commit to valassi/madgraph4gpu that referenced this pull request Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants