Message boards : CMS Application : Has CMS gone native???
Message board moderation

To post messages, you must log in.

AuthorMessage
Aurum
Avatar

Send message
Joined: 12 Jun 18
Posts: 126
Credit: 52,457,949
RAC: 23,953
Message 38948 - Posted: 24 May 2019, 15:21:06 UTC

I see CMS WUs on the sever but I never get any. I do not use virtualbox. These are the commands I've cobbled together for Linux Mint 19.1 that seem to work fine for sixtract, native theory & atlas. Has CMS gone native yet or are there additional commands I need to add.

wget https://github.com/singularityware/singularity/releases/download/2.6.0/singularity-2.6.0.tar.gz
tar xvf singularity-2.6.0.tar.gz
cd singularity-2.6.0
sudo apt install libarchive-dev
./configure --prefix=/usr/local
make
sudo make install
wget https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest_all.deb
sudo dpkg -i cvmfs-release-latest_all.deb
rm -f cvmfs-release-latest_all.deb
sudo apt-get update
sudo apt-get install cvmfs
sudo apt install glibc-doc open-iscsi watchdog
sudo wget https://lhcathomedev.cern.ch/lhcathome-dev/download/default.local -O /etc/cvmfs/default.local
sudo cvmfs_config setup
sudo echo "/cvmfs /etc/auto.cvmfs" > /etc/auto.master.d/cvmfs.autofs
sudo systemctl autofs restart
cvmfs_config probe

Note: sudo systemctl autofs restart does not seem to work so I reboot.
ID: 38948 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2386
Credit: 222,943,016
RAC: 137,338
Message 38949 - Posted: 24 May 2019, 15:41:43 UTC - in response to Message 38948.  

I see CMS WUs on the sever but I never get any. I do not use virtualbox

LHC has no native CMS app.
To run it VirtualBox must be installed.

This page lists all available apps:
https://lhcathome.cern.ch/lhcathome/apps.php
ID: 38949 · Report as offensive     Reply Quote
Aurum
Avatar

Send message
Joined: 12 Jun 18
Posts: 126
Credit: 52,457,949
RAC: 23,953
Message 38950 - Posted: 24 May 2019, 15:50:50 UTC - in response to Message 38949.  

Ok, thanks. So until I see a version that includes the word native it's not out yet.

Ok, so I'm in the wrong thread but I still have two questions:
1. Do I need to change directories before the wget command??? If so, back to home directory???
cd singularity-2.6.0 
sudo apt install libarchive-dev 
./configure --prefix=/usr/local 
make 
sudo make install
wget https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest_all.deb

2. This command
sudo systemctl autofs restart
returns this message "Unknown operation autofs."
What's the command/option that will work for Ubuntu 18.04???
ID: 38950 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2386
Credit: 222,943,016
RAC: 137,338
Message 38952 - Posted: 24 May 2019, 16:15:04 UTC - in response to Message 38950.  

Changing dirs is not necessary.
You can specify an output location for wget using "-O output_path".
See "man wget".


systemctl autofs ..." returns an error because "autofs" is not a command systemctl understands.
The command you need is "restart".

Try "sudo systemctl restart autofs" or "sudo systemctl restart autofs.service" instead.
ID: 38952 · Report as offensive     Reply Quote
Aurum
Avatar

Send message
Joined: 12 Jun 18
Posts: 126
Credit: 52,457,949
RAC: 23,953
Message 38955 - Posted: 24 May 2019, 16:27:21 UTC - in response to Message 38952.  

Me not specify path, me do monkey see monkey do when it comes to code.

Thanks.
sudo systemctl restart autofs
seems to work. It cogitated on it for a minute and then returned no message.
ID: 38955 · Report as offensive     Reply Quote
ivan
Volunteer moderator
Project tester
Volunteer developer
Volunteer tester
Project scientist
Avatar

Send message
Joined: 29 Aug 05
Posts: 997
Credit: 6,264,307
RAC: 71
Message 38972 - Posted: 25 May 2019, 11:20:22 UTC - in response to Message 38948.  

I doubt we ever will have a native CMS app, the code is just too complex and full of external dependencies -- on system version as well as libraries. We distribute our (many) versions of CMSSW via CVMFS; when a researcher wants to set up a particular instance (s)he creates a workarea for it and then invokes a command which redefines lots of things to point at the version of the library, etc, that corresponds to the version to be used. I got bitten by this myself this week; I'd logged into a workarea and invoked its environment, but when I went to run the printer setup utility it failed because glade could not be found. Now, glade was installed on the machine, but invoking the CMSSW environment changed PYTHONPATH to point at a very different version of python to the system default. :-(
I believe various people have at various times ported various versions of CMSSW to other OSes and architectures (MacOS, ARM, etc.) but in general we stick to using SLC6 (based on RHEL6), but now we're transitioning to a relatively unmodified CentOS 7.
ID: 38972 · Report as offensive     Reply Quote

Message boards : CMS Application : Has CMS gone native???


©2024 CERN