[gmx-users] problem with git/4.6

Justin A. Lemkul jalemkul at vt.edu
Fri Jun 29 12:54:26 CEST 2012



On 6/29/12 6:27 AM, Michael Brunsteiner wrote:
> hi
>
> as suggested in: http://www.gromacs.org/Developer_Zone/Roadmap/GROMACS_4.6
>
> i do:
>
> prompt> git clone git://git.gromacs.org/gromacs.git
> Cloning into 'gromacs'...
> remote: Counting objects: 119131, done.
> remote: Compressing objects: 100% (21428/21428), done.
> remote: Total 119131 (delta 100642), reused 115488 (delta 97560)
> Receiving objects: 100% (119131/119131), 46.91 MiB | 2.75 MiB/s, done.
> Resolving deltas: 100% (100642/100642), done.
>
> and then:
>
> prompt> git checkout --track -b release-4-6 origin/release-4-6
> fatal: Not a git repository (or any of the parent directories): .git
>
> if cd to gromacs directory first:
>
> prompt> cd gromacs
> prompt> git checkout --track -b release-4-6 origin/release-4-6
> Branch release-4-6 set up to track remote branch release-4-6 from origin.
> Switched to a new branch 'release-4-6'
> prompt> git pull
> Already up-to-date.
>
> i am not sure if this is what i want ... the source i have there is still 4.5.5 or is it not?

You have correctly switched to the release-4-6 branch with the second approach. 
  You need to be in the "gromacs" directory (which has a .git subdirectory with 
all sorts of information) in order to switch branches.

> ... nothing seems to have been downloaded after the first command ...
> how do i get the source of the 4.6 development branch?

You should have it.  In CMakeLists.txt, PROJECT_VERSION should be set to 
"4.6-dev" so you can check that.

> is there a way to simply get a tar-ball ?
>

Not sure.  There used to be a public repository with tarballs available for each 
commit, but I don't know if that still exists.  You should have what you're 
looking for though.

-Justin

-- 
========================================

Justin A. Lemkul, Ph.D.
Research Scientist
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080
http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin

========================================





More information about the gromacs.org_gmx-users mailing list