Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hydjet2Interface #6135

Merged
merged 2 commits into from Nov 4, 2014
Merged

Hydjet2Interface #6135

merged 2 commits into from Nov 4, 2014

Conversation

wouf
Copy link
Contributor

@wouf wouf commented Oct 31, 2014

This is Hydjet2 for CMSSW_7_3_X

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @wouf for CMSSW_7_3_X.

Hydjet2Interface

It involves the following packages:

GeneratorInterface/Hydjet2Interface

The following packages do not have a category, yet:

GeneratorInterface/Hydjet2Interface

@cmsbuild, @nclopezo can you please review it and eventually sign? Thanks.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

<use name="FWCore/ParameterSet"/>
<use name="FWCore/Utilities"/>
<use name="CommonTools/UtilAlgos"/>
<use name="root"/>
Copy link

Choose a reason for hiding this comment

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

Is this really needed? I don't see anything in the code that uses root

Copy link

Choose a reason for hiding this comment

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

Alright now I discovered the use of TLorentzVector and some TMath functions. Sorry for that.

@davidlange6
Copy link
Contributor

@ktf - @nclopezo - @Degano - please add this package to GEN category

davidlange6 added a commit that referenced this pull request Nov 4, 2014
@davidlange6 davidlange6 merged commit b87f3ba into cms-sw:CMSSW_7_3_X Nov 4, 2014
@nclopezo
Copy link
Contributor

nclopezo commented Nov 4, 2014

Done here: cms-sw/cms-bot@a325440

@davidlange6
Copy link
Contributor

@wouf - could you address the compiler warning we see due to this IB asap. Thanks

https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/slc6_amd64_gcc491/CMSSW_7_3_X_2014-11-04-1400/GeneratorInterface/Hydjet2Interface

@wouf
Copy link
Contributor Author

wouf commented Nov 5, 2014

@davidlange6 - this warning coming from fortran part of Hydjet2:
GeneratorInterface/Hydjet2Interface/src/progs_fortran.f:342:0: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i.le.150000)then

@davidlange6
Copy link
Contributor

i know where it is coming from - I wanted it fixed…Thanks

On Nov 5, 2014, at 11:08 AM, wouf notifications@github.com
wrote:

@davidlange6 - this warning coming from fortran part of Hydjet2:
GeneratorInterface/Hydjet2Interface/src/progs_fortran.f:342:0: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i.le.150000)then


Reply to this email directly or view it on GitHub.

@wouf
Copy link
Contributor Author

wouf commented Nov 5, 2014

@davidlange6 - done, fortran warning was fixed. Have I recreate the pull request?
@cbaus - convertation from couts to LogInfo for warnings, errors and info prints, would be done soon

@davidlt
Copy link
Contributor

davidlt commented Nov 10, 2014

@wouf where was it fixed? I continue to see warning:

  /build/cmsbuild/jenkins-workarea/workspace/build-any-ib/1714/w/tmp/BUILDROOT/aa9ce9e8b2a686f91971bd9cefd00c62/opt/cmssw/slc6_amd64_gcc481/cms/cmssw-patch/CMSSW_7_3_X_2014-11-10-0200/src/GeneratorInterface/Hydjet2Interface/src/progs_fortran.f:342:0: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
          if(i.le.150000)then 
 ^

Looking at the code the problem is here:
https://github.com/cms-sw/cmssw/blob/CMSSW_7_3_X/GeneratorInterface/Hydjet2Interface/src/progs_fortran.f#L325

If nhsel is not equal to zero, then you define i (I think, not sure how scopes work in Fortran)

@wouf
Copy link
Contributor Author

wouf commented Nov 10, 2014

I mean I fixed it here https://github.com/wouf/cmssw/tree/CMSSW_7_3_X/GeneratorInterface/Hydjet2Interface
So, I have to create new pull request?

@davidlt
Copy link
Contributor

davidlt commented Nov 10, 2014

Correct, the change happened after a merge. Thus a new PR needs to created with additional changes (i.e. the fix) after merge point.

@wouf
Copy link
Contributor Author

wouf commented Nov 10, 2014

thanks, done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants