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
adding VBFNLO and Hjets++ to the externals linked to Herwig7 #4753
Merged
cmsbuild
merged 5 commits into
cms-sw:IB/CMSSW_11_0_X/gcc700
from
Andrej-CMS:vbfnlo_hjets
May 21, 2019
Merged
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
### RPM external hjets-toolfile 1.0 | ||
Requires: hjets | ||
%prep | ||
|
||
%build | ||
|
||
%install | ||
|
||
mkdir -p %i/etc/scram.d | ||
cat << \EOF_TOOLFILE >%i/etc/scram.d/vbfnlo.xml | ||
<tool name="hjets" version="@TOOL_VERSION@"> | ||
<lib name="hjets"/> | ||
<client> | ||
<environment name="HJETS_BASE" default="@TOOL_ROOT@"/> | ||
<environment name="LIBDIR" default="$HJETS_BASE/lib/"/> | ||
<environment name="INCLUDE" default="$HJETS_BASE/include"/> | ||
<environment name="BINDIR" default="$HJETS_BASE/bin"/> | ||
</client> | ||
<runtime name="ROOT_INCLUDE_PATH" value="$INCLUDE" type="path"/> | ||
<runtime name="PATH" default="$BINDIR" type="path"/> | ||
<use name="herwigpp"/> | ||
</tool> | ||
EOF_TOOLFILE | ||
|
||
## IMPORT scram-tools-post | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
### RPM external hjets 1.2 | ||
Source: https://hjets.hepforge.org/downloads/HJets-%{realversion}.tar.gz | ||
|
||
Requires: herwigpp | ||
|
||
|
||
BuildRequires: autotools | ||
|
||
%prep | ||
%setup -n HJets-%{realversion} | ||
|
||
%build | ||
CXX="$(which g++) -fPIC" | ||
CC="$(which gcc) -fPIC" | ||
FC="$(which gfortran) -fPIC" | ||
|
||
./configure --prefix=%i --with-herwig=${HERWIGPP_ROOT} | ||
|
||
make %makeprocesses | ||
|
||
%install | ||
make install | ||
|
||
%post | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
### RPM external vbfnlo-toolfile 1.0 | ||
Requires: vbfnlo | ||
%prep | ||
|
||
%build | ||
|
||
%install | ||
|
||
mkdir -p %i/etc/scram.d | ||
cat << \EOF_TOOLFILE >%i/etc/scram.d/vbfnlo.xml | ||
<tool name="vbfnlo" version="@TOOL_VERSION@"> | ||
<lib name="vbfnlo"/> | ||
<client> | ||
<environment name="VBFNLO_BASE" default="@TOOL_ROOT@"/> | ||
<environment name="LIBDIR" default="$VBFNLO_BASE/lib/"/> | ||
<environment name="INCLUDE" default="$VBFNLO_BASE/include"/> | ||
<environment name="BINDIR" default="$VBFNLO_BASE/bin"/> | ||
</client> | ||
<runtime name="ROOT_INCLUDE_PATH" value="$INCLUDE" type="path"/> | ||
<runtime name="PATH" default="$BINDIR" type="path"/> | ||
</tool> | ||
EOF_TOOLFILE | ||
|
||
## IMPORT scram-tools-post | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
### RPM external vbfnlo 3.0.0beta5 | ||
Source: http://www.itp.kit.edu/~vbfnloweb/archive/vbfnlo-%{realversion}.tgz | ||
|
||
BuildRequires: autotools | ||
|
||
%prep | ||
%setup -q -n VBFNLO-%{realversion} | ||
|
||
%build | ||
CXX="$(which g++) -std=c++11" | ||
CC="$(which gcc)" | ||
FC="$(which gfortran)" | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Andrej-CMS , as mentioned in https://github.com/vbfnlo/vbfnlo/blob/master/README.md , you need to run |
||
./configure --prefix=%i \ | ||
--enable-processes=vbf,hjjj \ | ||
FC=${FC} FCFLAGS=-std=legacy | ||
|
||
make %{makeprocesses} | ||
|
||
%install | ||
make install | ||
|
||
%post | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Andrej-CMS , why not use https://github.com/vbfnlo/vbfnlo to download it? You can use
and then can do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear @smuzaffar ,
I get now an error that states that the Manual.pdf file cannot be compiled from TeX file. Do we have in cmsdist some latex package that need to build first?
vbfnlobuild.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@smuzaffar
do you have any idea in regards of the question above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Andrej-CMS , I do not see build errors if I run
autoreconf -vi
before configure