Message boards :
ATLAS application :
Trying to get ATLAS native working on Arch Linux
Message board moderation
Author | Message |
---|---|
Send message Joined: 14 Sep 17 Posts: 17 Credit: 305,149 RAC: 0 |
I am trying to get ATLAS native_mt working on a Arch Linux box. I have successfully installed cvmfs (2.3.5-5) and singularity-container (2.4.5-1) from the Arch User Repository, but unfortunately the task ends after a few seconds with a computation error: https://lhcathome.cern.ch/lhcathome/result.php?resultid=186423033 This is a python error, right? So it looks like the "commands module" is missing on my system, but i have trouble finding the right package to install. If I search for "commands" or "subprocess" (python.org says the commands module is deprecated, and you should use the subprocess module) in the Arch Linux and Arch User repos, there are a couple of packages that might do the trick: python-sh python-ptyprocess python-whelk python-delegator python-easyprocess python-executor python-sarge python-subprocess2 python-subprocrunner And while I was creating this post, another task ended with a computation error, and now we know that "python-ptyprocess" is not the package I need... Although I can run ATLAS tasks with vbox, I don't do ATLAS because I keep getting the native task as well, which is really annoying. So it would be great if someone with more python knowledge than me (mine is zero) can help, or if there was an option to choose between "native" and "vbox" in the preferences. |
Send message Joined: 14 Sep 17 Posts: 17 Credit: 305,149 RAC: 0 |
Ah, I am not the only one with this problem: https://lhcathome.cern.ch/lhcathome/forum_thread.php?id=4649#34709 I will continue to _not_ run atlas tasks and wait for the devs to fix it. |
Send message Joined: 9 Dec 14 Posts: 202 Credit: 2,533,875 RAC: 0 |
you surely have installed the "normal" python2 package, have you? https://wiki.archlinux.org/index.php/Python and the python command is known by the system? try typing python --versioninto the command line and see if there is an output. im running centos 7 and i havent installed any additional python packages. the version which is in use in centos is 2.7.5 and its is working without any problem. Although I can run ATLAS tasks with vbox, I don't do ATLAS because I keep getting the native task as well, which is really annoying. So it would be great if someone with more python knowledge than me (mine is zero) can help, or if there was an option to choose between "native" and "vbox" in the preferences.im not 100% sure if the native atlas version is still in beta, but you could try to disable "Run test applications?" in your lhc@home preferences. if it is still in beta and you uncheck this, you will only get vbox atlas tasks, otherwise obviously not. EDIT: was typing this while you wrote the second post, so ignore it :-) |
Send message Joined: 15 Jun 08 Posts: 2534 Credit: 253,848,172 RAC: 37,862 |
... I don't do ATLAS because I keep getting the native task as well ... Did you deselect "Run test applications?" in the project's web preferences? |
Send message Joined: 14 Sep 17 Posts: 17 Credit: 305,149 RAC: 0 |
@gyllic: I didn't have python2 installed. I have now, but the default is python 3.6.4 (output of python --version). I don't know how to change it to python2, and I'm not sure if I want to. It may break something... Anyway, I'll try to get another native atlas task and post the result here. @computezrmle: "run test applications" does not have any effect as far as I can tell. I'm always getting native_mt tasks unless I deselect "ATLAS Simulation" altogether. |
Send message Joined: 14 Sep 17 Posts: 17 Credit: 305,149 RAC: 0 |
Installing python2 didn't help, I get the same error. I'm thinking I should make python2 the default python version, but only for the boinc user. I'll be back... |
Send message Joined: 14 Sep 17 Posts: 17 Credit: 305,149 RAC: 0 |
After some internet research, I have come to the conclusion that in a box with both python2 and python3, it is the script maintainer's responsibility to choose the right version. Victor has it exactly right. That means I still won't run atlas task unfortunately, not native, and not in vbox. The devs have to fix this. |
Send message Joined: 9 Dec 14 Posts: 202 Credit: 2,533,875 RAC: 0 |
no idea if that will work, but u could try to translate the python 2 script into a python 3 one with 2to3 for example https://docs.python.org/2/library/2to3.html |
Send message Joined: 14 Sep 17 Posts: 17 Credit: 305,149 RAC: 0 |
I tried to change the first line from "#!/usr/bin/env python" to "#!/usr/bin/env python2", but that didn't work: I got the same error, and when I checked the script again, the first line was back to "#!/usr/bin/env python". Thanks for help, but I'll keep crunching non-atlas tasks for the time being. |
©2024 CERN