problem with installing pythia-pgs and madgraph-pythia8 interface
I have installed madgraph 2.9.1.2. I want to install pythia-pgs and mg-pythia8_
You are installing 'pythia-pgs', please cite ref(s): arXiv:0603175.
Error detected in sub-command install pythia-pgs
write debug file MG5_debug
If you need help with this issue please contact us on https:/
str : Impossible to connect any of us servers.
I have tried it with proxy-server internet and also through my mobile-wifi ,in both it gives the same error
Cheers
Isha
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hi,
Is this for an installation on your laptop/personal desktop or within a cluster?
Can you access from that machine to this link?
http://
and to this one
http://
If you can,
1) did you have the environment variable MG5aMC_WWW defined?
2) what is your version of the "six" modules. old version of that module have sometimes issue with the "moves" category which is used here. Can you do the following within python3
import six
data = six.moves.
print(data.
Cheers,
Olivier
Revision history for this message
|
#2 |
Hi,
This is for installation on my desktop provided by the institute.
I can access both link , on clicking the link a page is opened on which below lines are written -
MG5aMC_
QCDLoop http://
Delphes3 http://
Delphes2 http://
MCatNLO-utilities http://
SysCalc http://
maddump http://
MadSTR http://
MadAnalysis http://
Golem95 https:/
RunningCoupling http://
pythia-pgs http://
lhapdf http://
rosetta http://
Delphes http://
HEPToolsInstaller http://
PPPC4DMID http://
MadAnalysis5 http://
maddm http://
PJFry http://
ExRootAnalysis http://
six module version 1.11.0
Since I am new to programming i face problem with the terms used -
Can you elaborate a bit what did you mean by defining enviromen variable MG5AMC_2.9.1.2
I ran the following command you said ,
when data = six.moves.
>>> data = six.moves.
Traceback (most recent call last):
File "/usr/lib/
encode_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.send(msg)
File "/usr/lib/
self.connect()
File "/usr/lib/
(self.
File "/usr/lib/
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/
for res in _socket.
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
return opener.open(url, data, timeout)
File "/usr/lib/
response = self._open(req, data)
File "/usr/lib/
'_open', req)
File "/usr/lib/
result = func(*args)
File "/usr/lib/
return self.do_
File "/usr/lib/
raise URLError(err)
urllib.
>>>
Sorry for being amateur ,please tolerate me for it
Revision history for this message
|
#3 |
Ah you are running python3.6.
The fact that the code allows you to run with python3.6 is technically a bug since we have never tested it with python3.6
The official minimum version is python3.7 or later (or python2.7)
Can you try with a more recent version of python?
Cheers,
Olivier
> On 17 Feb 2021, at 12:41, Md Isha Ali <email address hidden> wrote:
>
> Question #695593 on MadGraph5_aMC@NLO changed:
> https:/
>
> Status: Answered => Open
>
> Md Isha Ali is still having a problem:
> Hi,
> This is for installation on my desktop provided by the institute.
> I can access both link , on clicking the link a page is opened on which below lines are written -
>
> MG5aMC_
> QCDLoop http://
> Delphes3 http://
> Delphes2 http://
> MCatNLO-utilities http://
> SysCalc http://
> maddump http://
> MadSTR http://
> MadAnalysis http://
> Golem95 https:/
> RunningCoupling http://
> pythia-pgs http://
> lhapdf http://
> rosetta http://
> Delphes http://
> HEPToolsInstaller http://
> PPPC4DMID http://
> MadAnalysis5 http://
> maddm http://
> PJFry http://
> ExRootAnalysis http://
>
> six module version 1.11.0
>
> Since I am new to programming i face problem with the terms used -
> Can you elaborate a bit what did you mean by defining enviromen variable MG5AMC_2.9.1.2
>
> I ran the following command you said ,
> when data = six.moves.
>
>>>> data = six.moves.
> Traceback (most recent call last):
> File "/usr/lib/
> encode_
> File "/usr/lib/
> self._send_
> File "/usr/lib/
> self.endheaders
> File "/usr/lib/
> self._send_
> File "/usr/lib/
> self.send(msg)
> File "/usr/lib/
> self.connect()
> File "/usr/lib/
> (self.host,
> File "/usr/lib/
> for res in getaddrinfo(host, port, 0, SOCK_STREAM):
> File "/usr/lib/
> for res in _socket.
> socket.gaierror: [Errno -2] Name or service not known
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/
> return opener.open(url, data, timeout)
> File "/usr/lib/
> response = self._open(req, data)
> File "/usr/lib/
> '_open', req)
> File "/usr/lib/
> result = func(*args)
> File "/usr/lib/
> return self.do_
> File "/usr/lib/
> raise URLError(err)
> urllib.
>>>>
>
> Sorry for being amateur ,please tolerate me for it
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.
Revision history for this message
|
#4 |
when i do python -V in the terminal it shows
Python 2.7.17
Now again in python2 when i do date=..........
I am getting the same error
data = six.moves.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
return opener.open(url, data, timeout)
File "/usr/lib/
response = self._open(req, data)
File "/usr/lib/
'_open', req)
File "/usr/lib/
result = func(*args)
File "/usr/lib/
return self.do_
File "/usr/lib/
raise URLError(err)
urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
Revision history for this message
|
#5 |
just adding when i tried to import heft model ,again it says cannot connect to server , i guess it can be a problem of internet connection
import model heft
Error detected in "import model heft"
write debug file MG5_debug
If you need help with this issue please contact us on https:/
str : Model not found locally and Impossible to connect any of us servers.
Please check your internet connection or retry later
Revision history for this message
|
#6 |
It seems that you have issue with your DNS which might not like python requesting an address resolution.
If you are on your campus network, then you might want to ask your sys-admin if they are limitation at the DNS level for such type of request.
One way to check is to test with
data = six.moves.
which bypass the DNS
Cheers,
Olivier
Can you help with this problem?
Provide an answer of your own, or ask Md Isha Ali for more information if necessary.