Regading scale and PDF uncertainties

Asked by shibasipu

Hi Olivier,
                       Is it possible to see the scale and PDF uncertainties in the cross section ? If yes, what switch will do this job in the run_card.dat.

2. Does MG5 supports "MSTW2008LO" PDF set ?

NOTE : I am trying to reproduce some of the results of your paper 1508.00564 (Specifically Table 3 , 4, 5,6,7).

Regards,
Shiba

Question information

Language:
English Edit question
Status:
Open
For:
MadGraph5_aMC@NLO Edit question
Assignee:
Alexis Kalogeropoulos Edit question
Last query:
Last reply:
Revision history for this message
shibasipu (shibasipu) said :
#1

Hi Olivier,
                     Is my above question OK from MG5 point of view ?

Regards,
Shiba

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#2

Hi,

> Is it possible to see the scale and PDF uncertainties in the cross section ? If yes, what switch will do this job in the run_card.dat.

For LO, you have to install syscalc via the "install syscalc" command.
Then you have to set use_syst to T in the run_card (and the associated parameter defining what you call PDF/scale uncertainties.
For any question on SysCalc you can ask Alexis Kalegouropoulos.

> 2. Does MG5 supports "MSTW2008LO" PDF set ?

via the lhapdf interface yes.

Cheers,

Olivier

Revision history for this message
alexandra (alexandracaan) said :
#3

Hi Olivier

and what would be the procedure for NLO processes?

thank you
Alexandra

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#4

For NLO, you do not need external code.
you just have to configure the run_card.cat

Cheers,

Olivier

Revision history for this message
alexandra (alexandracaan) said :
#5

Thank you Olivier.
One more question, I saw the result is output already is as the uncertainty.
How does it know if it is a Hessian or MC PDF set?
Is it hardcoded with the id?

thanks
Alexandra

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#6

yes it is.

Olivier

> On Apr 25, 2016, at 00:27, alexandra <email address hidden> wrote:
>
> Question #291530 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/291530
>
> alexandra posted a new comment:
> Thank you Olivier.
> One more question, I saw the result is output already is as the uncertainty.
> How does it know if it is a Hessian or MC PDF set?
> Is it hardcoded with the id?
>
> thanks
> Alexandra
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
shibasipu (shibasipu) said :
#7

Hi Olivier,
                         While trying to install SysCalc in MG5, I am getting the following error message.
MG5_aMC> install SysCalc
Downloading http://madgraph.hep.uiuc.edu/Downloads/SysCalc_V1.1.6.tar.gz
--2016-04-25 09:47:45-- http://madgraph.hep.uiuc.edu/Downloads/SysCalc_V1.1.6.tar.gz
Connecting to 202.141.80.80:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 38831 (38K) [application/x-gzip]
Saving to: ‘SysCalc.tgz’

SysCalc.tgz 100%[=======================================================================================================================>] 37.92K --.-KB/s in 0.03s

2016-04-25 09:47:45 (1.06 MB/s) - ‘SysCalc.tgz’ saved [38831/38831]

compile SysCalc. This might takes a while.
Command "install SysCalc " interrupted in sub-command:
"install SysCalc" with error:
Exception : ['lhapdf-config', '--libdir'] fails with no such file or directory
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in 'MG5_debug'.
Please attach this file to your report.

Regards,
Shiba

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#8

Hi,

You need to have lhapdf install in your path when installing SysCalc.

Cheers,

Olivier
> On Apr 25, 2016, at 06:32, shibasipu <email address hidden> wrote:
>
> Question #291530 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/291530
>
> Status: Answered => Open
>
> shibasipu is still having a problem:
> Hi Olivier,
> While trying to install SysCalc in MG5, I am getting the following error message.
> MG5_aMC> install SysCalc
> Downloading http://madgraph.hep.uiuc.edu/Downloads/SysCalc_V1.1.6.tar.gz
> --2016-04-25 09:47:45-- http://madgraph.hep.uiuc.edu/Downloads/SysCalc_V1.1.6.tar.gz
> Connecting to 202.141.80.80:3128... connected.
> Proxy request sent, awaiting response... 200 OK
> Length: 38831 (38K) [application/x-gzip]
> Saving to: ‘SysCalc.tgz’
>
> SysCalc.tgz
> 100%[=======================================================================================================================>]
> 37.92K --.-KB/s in 0.03s
>
> 2016-04-25 09:47:45 (1.06 MB/s) - ‘SysCalc.tgz’ saved [38831/38831]
>
> compile SysCalc. This might takes a while.
> Command "install SysCalc " interrupted in sub-command:
> "install SysCalc" with error:
> Exception : ['lhapdf-config', '--libdir'] fails with no such file or directory
> Please report this bug on https://bugs.launchpad.net/madgraph5
> More information is found in 'MG5_debug'.
> Please attach this file to your report.
>
>
> Regards,
> Shiba
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
shibasipu (shibasipu) said :
#9

Hi Olivier,
                       Thanks. I was trying to install lhapdf-5.9.1 (which is available at https://www.hepforge.org/downloads/lhapdf) I am getting some error message.

libtool: link: ranlib .libs/libLHAPDFCore.a
libtool: link: ( cd ".libs" && rm -f "libLHAPDFCore.la" && ln -s "../libLHAPDFCore.la" "libLHAPDFCore.la" )
make[2]: Entering directory `/home/users/rs/shibananda/RESEARCH/lhapdf-5.9.1/src'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/users/rs/shibananda/RESEARCH/lhapdf-5.9.1/src'
make[1]: Leaving directory `/home/users/rs/shibananda/RESEARCH/lhapdf-5.9.1/src'
Making install in include
make[1]: Entering directory `/home/users/rs/shibananda/RESEARCH/lhapdf-5.9.1/include'
Making install in LHAPDF
make[2]: Entering directory `/home/users/rs/shibananda/RESEARCH/lhapdf-5.9.1/include/LHAPDF'
make[3]: Entering directory `/home/users/rs/shibananda/RESEARCH/lhapdf-5.9.1/include/LHAPDF'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/LHAPDF" || /usr/bin/mkdir -p "/usr/local/include/LHAPDF"
/usr/bin/mkdir: cannot create directory ‘/usr/local/include/LHAPDF’: Permission denied
make[3]: *** [install-PKGincludeHEADERS] Error 1
make[3]: Leaving directory `/home/users/rs/shibananda/RESEARCH/lhapdf-5.9.1/include/LHAPDF'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/users/rs/shibananda/RESEARCH/lhapdf-5.9.1/include/LHAPDF'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/users/rs/shibananda/RESEARCH/lhapdf-5.9.1/include'
make: *** [install-recursive] Error 1

Shall I install LHAPDF-6.1.6 ?

Regards,
Shiba

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#10

Hi,

I will let the author of that package to help you with this.

Cheers,

Olivier

Revision history for this message
Alexis Kalogeropoulos (alkaloge) said :
#11

Hi

I think you are just trying to install LHAPDF sets under /usr/local/include where typically users dont have access to - Try to set you custom dir

I am quoting the LHAPDF install page
"
PDF sets (each of which is stored in a unique filesystem directory) should usually be installed in the $prefix/share/LHAPDF/ directory (i.e. the PDF dirs are at the same level as the global lhapdf.conf file). To make use of PDF sets installed in other places, those search paths should be listed in the LHAPDF_DATA_PATH environment variable. [LHAPDF_DATA_PATH is an extension of the old LHAPATH variable which supports multiple search paths separated by colon (:) characters, cf. standard system paths like PATH, LD_LIBRARY_PATH, etc"]

Regards

Alexis

Revision history for this message
shibasipu (shibasipu) said :
#12

Hi Alexis,
                    Thanks for the reply. Apologizing again, I did not get your answer. Are you saying to provide the path for LHAPDF in the .bashrc file ?

Regards,
Shiba

Revision history for this message
Alexis Kalogeropoulos (alkaloge) said :
#13

Hi

No, you have to do something like this

./configure --prefix=/path/for/installation

Please read this

https://lhapdf.hepforge.org/install.html

Please note, if you install LHAPDF6x you need also BOOST libraries available in your machine as explained in the above link

Cheers

Alexis

PS (All the above have nothing to do with SysCalc of course ;-)

Revision history for this message
shibasipu (shibasipu) said :
#14

Hi Alexis,
                     thanks a lot. I think, I have successfully installed lhapdf-5.9.1. I have followed the following procedures.
1.
   ./configure --prefix=/home/users/rs/shibananda/RESEARCH/MG5_aMC_v2_3_3

2. make

3. make install

But while trying to install SysCalc , I am getting the earlier error message.
SysCalc.tgz 100%[=======================================================================================================================>] 37.92K --.-KB/s in 0.001s

2016-04-25 19:25:04 (49.1 MB/s) - ‘SysCalc.tgz’ saved [38825/38825]

compile SysCalc. This might takes a while.
Command "install SysCalc " interrupted in sub-command:
"install SysCalc" with error:
Exception : ['lhapdf-config', '--libdir'] fails with no such file or directory
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in 'MG5_debug'.
Please attach this file to your report.

Regards,
Shiba

Revision history for this message
Alexis Kalogeropoulos (alkaloge) said :
#15

You will have to set up properly the /bin, /lib like

## Set environment variables
export PATH=$PWD/local/bin:$PATH
export LD_LIBRARY_PATH=$PWD/local/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$PWD/local/lib64/python2.6/site-packages:$PYTHONPATH

where "local" is the dir your install the LHAPDF

Regards

-a

Revision history for this message
shibasipu (shibasipu) said :
#16

Hi Alexis,
                       I have successfully installed LHAPDF and aslo, I have provided the set up in my .bashrc file. Then while trying to install SysCalc in MG5, I am again getting some error.

SysCalc.tgz 100%[=======================================================================================================================>] 37.92K --.-KB/s in 0.001s

2016-04-27 22:40:21 (67.9 MB/s) - ‘SysCalc.tgz’ saved [38831/38831]

compile SysCalc. This might takes a while.
cd src; make
make[1]: Entering directory `/home/users/rs/shibananda/RESEARCH/MG5_aMC_v2_3_3/SysCalc/src'
gfortran -c alfas_functions.f
g++ -O -DDROP_CGAL -I../include -I/home/users/rs/shibananda/RESEARCH/LHAPDF591/include -c SysCalc.cc
SysCalc.cc: In member function ‘bool SysCalc::writeHeader(std::ostream&)’:
SysCalc.cc:922:52: error: ‘lookupLHAPDFID’ was not declared in this scope
       int centrallhaid = lookupLHAPDFID(shortname,0);
                                                    ^
make[1]: *** [SysCalc.o] Error 1
make[1]: Leaving directory `/home/users/rs/shibananda/RESEARCH/MG5_aMC_v2_3_3/SysCalc/src'
make: *** [all] Error 2
Error detected during the compilation. Please check the compilation error and run make manually.

Regards,
Shiba

Can you help with this problem?

Provide an answer of your own, or ask shibasipu for more information if necessary.

To post a message you must log in.