Created
April 23, 2012 20:47
-
-
Save neggert/2473734 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
229:cms+cmssw-tool-conf+25.########################################### [100%] | |
230:cms+cmssw+CMSSW_5_2_0 ########################################### [100%] | |
Done. | |
Create user area for CMSSW_5_2_0 release ... | |
Enter PEM pass phrase: | |
/bin/sh: scramv1: command not found | |
--------------------------------------------------------------------------- | |
OSError Traceback (most recent call last) | |
/Users/nic/cms/soft/Releases/<ipython-input-1-f0d9fe6489f2> in <module>() | |
----> 1 get_ipython().magic(u'install CMSSW_5_2_0') | |
/Users/nic/cms/soft/install/lib/python2.6/site-packages/IPython/core/interactiveshell.pyc in magic(self, arg_s, next_input) | |
1996 self._magic_locals = sys._getframe(1).f_locals | |
1997 with self.builtin_trap: | |
-> 1998 result = fn(magic_args) | |
1999 # Ensure we're not keeping object references around: | |
2000 self._magic_locals = {} | |
/Users/nic/cms/soft/cmssh/src/cmssh/cms_cmds.py in cms_install(rel) | |
301 subprocess.call(cmd, shell=True) | |
302 print "Create user area for %s release ..." % rel | |
--> 303 cmsrel(rel) | |
304 | |
305 def cmsrel(rel): | |
/Users/nic/cms/soft/cmssh/src/cmssh/cms_cmds.py in cmsrel(rel) | |
341 os.chdir(cmssw_dir) | |
342 subprocess.call("scramv1 project CMSSW %s" % rel, shell=True) | |
--> 343 os.chdir(os.path.join(rel, 'src')) | |
344 print "%s is ready, cwd: %s" % (rel, os.getcwd()) | |
345 | |
OSError: [Errno 2] No such file or directory: 'CMSSW_5_2_0/src' |
vkuznet
commented
Apr 24, 2012
via email
Nic, that means you don't have the most recent installer. I checked on github
https://github.com/vkuznet/cmssh/blob/master/cmssh_install.py
and it contains proper export statement at line 541
Could you please check your installer against master branch?
Thanks,
Valentin.
…On Apr 24, 2012, at ,Apr 24, 8:48 AM, Nic Eggert wrote:
I don't have that line. Here's the contents of soft/setup.sh.
```
#!/bin/bash
export CMSSH_ROOT=/Users/nic/cms/soft
export VO_CMS_SW_DIR=$CMSSH_ROOT/CMSSW
export SCRAM_ARCH=osx106_amd64_gcc421
export LANG="C"
export CMSSW_RELEASES=$CMSSH_ROOT/Releases
if [ -f $VO_CMS_SW_DIR/cmsset_default.sh ]; then
source $VO_CMS_SW_DIR/cmsset_default.sh
fi
export OLD_PATH=$PATH
apt_init=`find $VO_CMS_SW_DIR/$SCRAM_ARCH/external/apt -name init.sh | tail -1`
pcre_init=`find $VO_CMS_SW_DIR/$SCRAM_ARCH/external/pcre -name init.sh | tail -1`
xz_init=`find $VO_CMS_SW_DIR/$SCRAM_ARCH/external/xz -name init.sh | tail -1`
root_init=`find $VO_CMS_SW_DIR/$SCRAM_ARCH/lcg/root -name init.sh | tail -1`
png_init=`find $VO_CMS_SW_DIR/$SCRAM_ARCH/external/libpng -name init.sh | tail -1`
lapack_init=`find $VO_CMS_SW_DIR/$SCRAM_ARCH/external/lapack -name init.sh | tail -1`
numpy_init=`find $VO_CMS_SW_DIR/$SCRAM_ARCH/external/py2-numpy -name init.sh | tail -1`
matplotlib_init=`find $VO_CMS_SW_DIR/$SCRAM_ARCH/external/py2-matplotlib -name init.sh | tail -1`
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
source $apt_init;
unset PYTHONPATH
source $CMSSH_ROOT/CMSSW/$SCRAM_ARCH/external/python/2.6.4-cms6/etc/profile.d/init.sh
source $xz_init;source $pcre_init;source $root_init;
source $matplotlib_init;source $numpy_init;source $lapack_init;source $png_init
export DYLD_LIBRARY_PATH=$CMSSH_ROOT/globus/lib:$CMSSH_ROOT/glite/lib:$CMSSH_ROOT/install/lib
export LD_LIBRARY_PATH=$CMSSH_ROOT/globus/lib:$CMSSH_ROOT/glite/lib:$CMSSH_ROOT/install/lib
export PATH=$PATH:$CMSSH_ROOT/globus/bin
export PATH=$PATH:$CMSSH_ROOT/glite/bin
export PATH=$PATH:$CMSSH_ROOT/srmclient2/bin
export PATH=$PATH:$CMSSH_ROOT/install/bin
export PATH=$PATH:$CMSSH_ROOT/bin
export PATH=$PATH:$CMSSH_ROOT/lcg/bin
export PATH=$PATH:$CMSSH_ROOT/CRABClient/bin
export PYTHONPATH=$CMSSH_ROOT/cmssh/src:$PYTHONPATH
export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH
export PYTHONPATH=$PYTHONPATH:$CMSSH_ROOT
export PYTHONPATH=$PYTHONPATH:$CMSSH_ROOT/CRABClient/src/python
export PYTHONPATH=$PYTHONPATH:$CMSSH_ROOT/WMCore/src/python
export PYTHONPATH=$PWD/soft/install/lib/python2.7/site-packages:$PYTHONPATH
export DBS_INSTANCE=cms_dbs_prod_global
export LCG_GFAL_INFOSYS=lcg-bdii.cern.ch:2170
export VOMS_USERCONF=$CMSSH_ROOT/glite/etc/vomses
export VOMS_LOCATION=$CMSSH_ROOT/glite
export X509_CERT_DIR=$CMSSH_ROOT/certificates
export GLOBUS_ERROR_VERBOSE=true
export GLOBUS_OPTIONS=-Xmx512M
export GLOBUS_TCP_PORT_RANGE=34000,35000
export GLOBUS_PATH=$CMSSH_ROOT/globus
export GLOBUS_LOCATION=$CMSSH_ROOT/globus
export VOMS_PROXY_INFO_DONT_VERIFY_AC=anything_you_want
```
And the contents of soft/CMSSW/bin are
```
[bin] ls 8:48:15
cmsarch cmsos scramv1
```
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/2473734
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment