Skip to content

Commit

Permalink
fix help items, use URL= and make teuben1 branch the default; add exa…
Browse files Browse the repository at this point in the history
…mple1
  • Loading branch information
teuben committed Oct 6, 2023
1 parent 06ccc15 commit e3b3baa
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions usr/gravidy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ include $(NEMOLIB)/makedefs

URL1 = http://github.com/cmaureir/gravidy.git
URL2 = http://github.com/chongchonghe/gravidy.git
URL3 = http://github.com/teuben/gravidy.git
URL3 = -b teuben1 http://github.com/teuben/gravidy.git
URL4 = https://gitlab.com/cmaureir/gravidy-view
URL5 = http://gitlab.com/cmaureir/gravidy-input.git

URL = $(URL3)

.PHONY : help
## help: This Help
help : Makefile
Expand All @@ -18,10 +20,11 @@ url:
@echo "URL3: $(URL3)"
@echo "URL4: $(URL4)"
@echo "URL5: $(URL5)"
@echo "Be aware some may need a specific branch"

## gravidy: get the github repo from URL2 for now where we do 2023 development
gravidy:
git clone $(URL2)
git clone $(URL)

## gravidy-input: get sample input files
gravidy-input:
Expand Down Expand Up @@ -91,11 +94,11 @@ run3: p128
csf - run3/OUT3.snap SnapShot
bsf run3/OUT3.snap "0.00679654 0.736003 -8.00616 10 91494"

## run3: rungravidy run
## run4: rungravidy run
run4: p128
rungravidy p128 run4 eta=0.01 deltat=0.1 tcrit=10.0 eps=0.05

## run3: hackcode1 run
## run5: hackcode1 run
run5: p128
mkdir run5
hackcode1 p128 run5/OUT3.snap tstop=10 eps=0.05 freqout=10 freq=100
Expand All @@ -108,5 +111,6 @@ cmp34: run3 run4
cmp45: run4 run5
snapcmp run4/OUT3.snap run5/OUT3.snap

example1:
$(EXE) -i gravidy/input/04-nbody-p1024_m1.in -p -t 1
## example1:
example1: gravidy-input
$(EXE) -i gravidy-input/04-nbody-p1024_m1.in -p -t 1

0 comments on commit e3b3baa

Please sign in to comment.