Closed carolinecollard closed 10 years ago
Are you at CERN?
no. I am working outside cern, on a machine from my lab at Strasbourg.
Le 29 août 2013 à 14:42, Giulio Eulisse a écrit :
Are you at CERN?
— Reply to this email directly or view it on GitHubhttps://github.com/cms-sw/cms-git-tools/issues/41#issuecomment-23485979.
Can you tell me which version of git do you have (git --version).
git version 1.7.4.1
Assuming you are in CMSSW_7_0_X, can you you set up the environment (via cmsenv) set your reference and try again?
no, I am in CMSSW_5_3_11_patch6, following the recipe in https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuidePATReleaseNotes52X#GIT_transition
cmsrel CMSSW_5_3_11_patch6 cd CMSSW_5_3_11_patch6/src/ cmsenv export CMSSW_GIT_REFERENCE=/opt/sbg/data/safe1/cms/ccollard/testGit/reference_repository git cms-addpkg PhysicsTools/PatAlgos No release tags specified, using default CMSSW_5_3_11_patch6. You are on branch CMSSW_5_3_X Checking out PhysicsTools/PatAlgos in tag CMSSW_5_3_11_patch6. Cloning into /grid_mnt/optsbgdata__safe1/cms/ccollard/testGit/CMSSW_5_3_11_patch6/src... fatal: reference repository '/opt/sbg/data/safe1/cms/ccollard/testGit/reference_repository' is not a local directory.
Can you try:
export CMSSW_GIT_REFERENCE=/tmp/git_reference
Thanks, it works! It just takes 37 minutes to download everything. As it is in a temporary directory, I am afraid I will need to do that regularly. Is it possible to define another location (more stable in time)?
Ciao,
Thanks, it works! It just takes 37 minutes to download everything. As it is in a temporary directory, I am afraid I will need to do that regularly. Is it possible to define another location (more stable in time)?
sorry for the late reply, I was on vacation.
I do not know about the setup of your cluster, so it's hard to tell. You should probably ask to your sys admin if there is any local work directory available which does not get cleaned up (usually that's the case on most clusters).
37 minutes does sound like a lot though. It should do everything in 5 minutes or so. You might want to check again with your sys admin if there is any issue with the network connection.
Ciao,
Office: 6-2-25 CERN Tel: +41227671799 GitHub: http://github.com/ktf/
Hi,
I am a really new user of git and I try do "git cms-addpkg PhysicsTools/PatAlgos". I haven't defined my reference repository, and I allow git to create it. The problem is that I don't have enough space in my home. So it crashes.
Then I try to make a symbolic link from .cmsgit-cache to another disk, but then I receive the message saying that my reference repository is not a local directory.
Then I try to define directly another location with "export CMSSW_GIT_REFERENCE=blablabla". But when trying "git cms-addpkg", it tells me again that this is not a local directory.
Each time, it removes the src directory of my CMSSW release.
Could you help me?
Thanks in advance, Caroline