Message boards :
Theory Application :
Calculation Error!!! Why?
Message board moderation
Author | Message |
---|---|
Send message Joined: 9 Jun 19 Posts: 14 Credit: 111,757 RAC: 0 |
Hi! I am currently doing jobs for CMS and would like to do work also for Theory Application as well. I followed all the instructions I found in the post Native Theory Application Setup (Linux only) but I keep getting "Calculation Error" within the first 3 seconds of starting the job. I run the LHC@home jobs on a system with 6 cores and 8 GB of RAM and Kubuntu 20.04 operating system. I hope someone can help me because otherwise I will be forced to give up Theory Application. Any help will be greatly appreciated! |
Send message Joined: 30 Aug 14 Posts: 145 Credit: 10,847,070 RAC: 0 |
Stderr shows "Failed to read CernVM-FS configuration" Check your CVMFS configuration by typing "cvmfs_config probe" into a console. If you get "Probing xxxx... Failed" you have a local configuration problem with CVMFS. Why mine when you can research? - GRIDCOIN - Real cryptocurrency without wasting hashes! https://gridcoin.us |
Send message Joined: 15 Jun 08 Posts: 2386 Credit: 222,950,992 RAC: 137,253 |
Since it makes no sense to try Theory native without a well configured CVMFS client you may set Theory to "no new tasks" and pause all tasks that are already downloaded. CVMFS reqires the following steps: 1. Download and install the recent client package + cvmfs-config-default 2. Run "cvmfs_config setup" only once 3. Check if the following files/dirs exist /etc/auto.cvmfs (a link pointing to /usr/libexec/cvmfs/auto.cvmfs) /etc/auto.master.d/cvmfs.autofs # automatically generated by CernVM-FS /cvmfs /etc/auto.cvmfs /etc/auto.master must contain the line +dir:/etc/auto.master.d 4. Change the CVMFS configuration according to this thread: https://lhcathome.cern.ch/lhcathome/forum_thread.php?id=5342&postid=41861 5. Reboot 6. To check if it works run cvmfs_config probe 7. If you get OKs, resume your tasks and set Theory to accept fresh work. If you don't get OKs post here again. Troubleshooting hints: https://cvmfs.readthedocs.io/en/stable/cpt-quickstart.html#troubleshooting |
Send message Joined: 9 Jun 19 Posts: 14 Credit: 111,757 RAC: 0 |
Hi, Thank you very much for your help. All your test executed and OK, but: $ cvmfs_config probe /usr/bin/cvmfs_config: riga 9: /etc/cvmfs/config.sh: permission denied /usr/bin/cvmfs_config: riga 1159: cvmfs_readconfig: command not found Failed to read CernVM-FS configuration $ $ sudo cvmfs_config probe [sudo] password : Probing /cvmfs/atlas.cern.ch... OK Probing /cvmfs/atlas-condb.cern.ch... OK Probing /cvmfs/grid.cern.ch... OK Probing /cvmfs/cernvm-prod.cern.ch... OK Probing /cvmfs/sft.cern.ch... OK Probing /cvmfs/alice.cern.ch... OK $ I have installed CernVM-FS from https://cernvm.cern.ch/fs/ and followed the instructions. At a point I executed: $ cd /etc/cvmfs $ sudo chmod -v 700 config.sh $ sudo ./config.sh then I created the file /etc/cvmfs/default.local and executed cvmfs_config setup with no problems, but I installed CernVM-FS to execute jobs for ATLAS. When I saw that Teory Application also requires CernVM-FS, I simply integrated the /etc/cvmfs/default.local file with the data for Theory Application. When probed with $ sudo cvmfs_config probe I obtained ALL OK. Is it possible that there is only a problem due to the installation with sudo (as per instructions), the installation being executable only by root? So how can I also run it as a normal user? |
Send message Joined: 15 Jun 08 Posts: 2386 Credit: 222,950,992 RAC: 137,253 |
At a point I executed: This changes the permissions of "config.sh". I wonder why you did that and where you got it from. It looks like you restricted the use of CVMFS to root, hence the permissions denied message. |
Send message Joined: 9 Jun 19 Posts: 14 Credit: 111,757 RAC: 0 |
I changed de permissions of /etc/cvmfs/config.sh to 777 and executed config.sh. Now, with $ cvmfs_config probe I have all OK. Is really OK or I must make other changes and test? Thank you very much! |
Send message Joined: 15 Jun 08 Posts: 2386 Credit: 222,950,992 RAC: 137,253 |
To be sure all options are correctly set and all drivers are loaded you should do a reboot. Then run "cvmfs_config probe" using the same account your BOINC client uses - no sudo since this would switch to root. If you get this your CVMFS works fine: Probing /cvmfs/atlas.cern.ch... OK Probing /cvmfs/atlas-condb.cern.ch... OK Probing /cvmfs/grid.cern.ch... OK Probing /cvmfs/cernvm-prod.cern.ch... OK Probing /cvmfs/sft.cern.ch... OK Probing /cvmfs/alice.cern.ch... OK |
Send message Joined: 9 Jun 19 Posts: 14 Credit: 111,757 RAC: 0 |
So it all started with my mistake: I thought that if config.sh was on / etc it should be started as root! I rebooted and everything went well as you can see: $ cvmfs_config probe 20-11-26 / 9:44 Probing /cvmfs/atlas.cern.ch... OK Probing /cvmfs/atlas-condb.cern.ch... OK Probing /cvmfs/grid.cern.ch... OK Probing /cvmfs/cernvm-prod.cern.ch... OK Probing /cvmfs/sft.cern.ch... OK Probing /cvmfs/alice.cern.ch... OK $ This error of mine also affected ATLAS which gave me the same "calculation error" problem. Now I will activate the jobs for ATLAS and Theory Application! I thank you so much fo your very valuable help!!! With best regards. |
©2024 CERN