[Users] Compile question

Ian Hinder ian.hinder at aei.mpg.de
Tue Feb 7 02:52:22 CST 2017


On 7 Feb 2017, at 04:16, Guy <guy.pitman at bigpond.com> 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 (I needed to add a couple more thorns into 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

-- 
Ian Hinder
http://members.aei.mpg.de/ianhin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20170207/18ccb542/attachment.html 


More information about the Users mailing list