Thanks Ian, I tried deleting the repository as you suggested, but then the push error changed to /usr/local/bin/git --git-dir='/Users/Guy/Documents/EinsteinToolkit/Cactus/cactusjar.git/.git' push -v -f --all '/Users/Guy/Documents/EinsteinToolkit/Cactus/../CactusSourceJar.git’
from /usr/local/bin/git --git-dir='/Users/Guy/Documents/EinsteinToolkit/Cactus/configs/sim/configjar.git/.git' push -v -f --all '/Users/Guy/Documents/EinsteinToolkit/Cactus/cactusjar.git’ (the configjar.git was somehow recreated here) I then tried deleting both cactusjar.git and configjar.git, but the same thing happened. I then tried removing Formaline from the thornlist and it ran OK. I am not sure if I will need the repositories? Regards Guy > On 7 Feb 2017, at 7:22 pm, Ian Hinder <[email protected]> wrote: > > > On 7 Feb 2017, at 04:16, Guy <[email protected] > <mailto:[email protected]>> wrote: > >> Thanks Ian, >> >> I did a sim purge static_tov and tried rebuilding with ./simfactory/bin/sim >> build --mdbkey make 'make -j2' --thornlist=kranc.th <http://kranc.th/> (I >> needed to add a couple more thorns into kranc.th <http://kranc.th/> after >> submitting and getting error messages) but now I get an error >> >> Formaline: Pushing to master git repository... >> Formaline: ERROR during: Pushing to master git repository >> Pushing to /Users/Guy/Documents/EinsteinToolkit/Cactus/cactusjar.git >> Total 0 (delta 0), reused 0 (delta 0) >> remote: error: cannot lock ref >> 'refs/heads/config-sim-Guy-Pitman.local-Users-Guy-Documents-EinsteinToolkit-Cactus': >> is at ca3fd643c45d8b1a29e9cbace4d149036b6534a3 but expected >> 883ab226b3bd16363cdf557c0752a9d97ccfb396 >> To /Users/Guy/Documents/EinsteinToolkit/Cactus/cactusjar.git >> = [up to date] master -> master >> ! [remote rejected] >> config-sim-Guy-Pitman.local-Users-Guy-Documents-EinsteinToolkit-Cactus -> >> config-sim-Guy-Pitman.local-Users-Guy-Documents-EinsteinToolkit-Cactus >> (failed to update ref) >> error: failed to push some refs to >> '/Users/Guy/Documents/EinsteinToolkit/Cactus/cactusjar.git' >> >> >> I have googled the git errors, but nothing seems to help- can I reinitialise >> the repositories some how to get over this error? > > Hi, > > It sounds like something went wrong with the git repository that stores the > source code for all builds of Cactus (in case you want to go back later and > see what code was used to build a given simulation executable). It's > possible that a build was interrupted at a particularly bad time, so that the > git repository became inconsistent. I have never seen this error before, > however. > > A git expert could probably do some forensics and recover the repository, but > I suggest to just delete it: > > rm -rf cactusjar.git > > and try to build again. > > If that doesn't work, you can remove Formaline from your thornlist and > rebuild with > > ./simfactory/bin/sim build --mdbkey make 'make -j2' --thornlist=kranc.th > <http://kranc.th/> > > -- > Ian Hinder > http://members.aei.mpg.de/ianhin <http://members.aei.mpg.de/ianhin>
_______________________________________________ Users mailing list [email protected] http://lists.einsteintoolkit.org/mailman/listinfo/users
