Skip to content

Commit 054c358

Browse files
committed
use new arguments in the makefiles under bugs_example
this does not affect any test
1 parent 46ee487 commit 054c358

File tree

31 files changed

+42
-42
lines changed

31 files changed

+42
-42
lines changed

bugs_examples/vol1/blocker/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LIBFLAGS = -L$(STAN_HOME)/bin -lstan
99
$(PGM) :
1010
$(STAN_HOME)/bin/stanc --name=$(PGM) $(PGM).stan
1111
$(CXX) -O3 -DNDEBUG $(CPPFLAGS) $(PGM).cpp -o $(PGM) $(LIBFLAGS)
12-
./$(PGM) --data=$(PGM).data.R --burnin=1000 --iters=10000
12+
./$(PGM) data=$(PGM).data.R sample
1313

1414
clean :
1515
rm -rf $(PGM).cpp samples.csv $(PGM)

bugs_examples/vol1/bones/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LIBFLAGS = -L$(STAN_HOME)/bin -lstan
99
$(PGM) :
1010
$(STAN_HOME)/bin/stanc --name=$(PGM) $(PGM).stan
1111
$(CXX) -O3 -Wall $(CPPFLAGS) $(PGM).cpp -o $(PGM) $(LIBFLAGS)
12-
./$(PGM) --data=$(PGM).data.R # --iters=2000
12+
./$(PGM) data=$(PGM).data.R sample
1313

1414
clean :
1515
rm -rf $(PGM).cpp samples.csv $(PGM)

bugs_examples/vol1/dogs/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LIBFLAGS = -L$(STAN_HOME)/bin -lstan
99
$(PGM) :
1010
$(STAN_HOME)/bin/stanc --name=$(PGM) $(PGM).stan
1111
$(CXX) -Wall -O3 -DNDEBUG $(CPPFLAGS) $(PGM).cpp -o $(PGM) $(LIBFLAGS)
12-
./$(PGM) --data=$(PGM).data.R --seed=1340384924 --chain_id=4 --diagnostics=d.csv# --iters=20000
12+
./$(PGM) id=4 data=$(PGM).data.R method=sample num_warmup=1000 num_samples=1000 random seed=1340384924 output sample=samples.csv
1313

1414
clean :
1515
rm -rf $(PGM).cpp samples.csv $(PGM)

bugs_examples/vol1/dyes/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ LIBFLAGS = -L$(STAN_HOME)/bin -lstan
1010
$(PGM) :
1111
$(STAN_HOME)/bin/stanc --name=$(PGM) $(PGM).stan
1212
$(CXX) -O3 -DNDEBUG $(CPPFLAGS) $(PGM).cpp -o $(PGM) $(LIBFLAGS)
13-
./$(PGM) --data=$(PGM).data.R --iter=100000
13+
./$(PGM) data=$(PGM).data.R sample
1414

1515
clean :
1616
rm -f $(PGM).cpp samples.csv $(PGM)

bugs_examples/vol1/equiv/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LIBFLAGS = -L$(STAN_HOME)/bin -lstan
99
$(PGM) :
1010
$(STAN_HOME)/bin/stanc --name=$(PGM) $(PGM).stan
1111
$(CXX) -O3 -DNDEBUG $(CPPFLAGS) $(PGM).cpp -o $(PGM) $(LIBFLAGS)
12-
./$(PGM) --data=$(PGM).data.R --burnin=1000 --iters=10000
12+
./$(PGM) data=$(PGM).data.R sample num_warmup=1000 num_samples=10000 random seed=1340384924
1313

1414
clean :
1515
rm -f $(PGM).cpp samples.csv $(PGM)

bugs_examples/vol1/inhalers/makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ LIBFLAGS = -L$(STAN_HOME)/bin -lstan
1010

1111
$(PGM) :
1212
$(STAN_HOME)/bin/stanc --name=$(PGM) $(PGM).stan
13-
$(CXX) -g -O3 -DNDEBUG $(CPPFLAGS) $(PGM).cpp -o $(PGM) $(LIBFLAGS)
14-
./$(PGM) --data=$(PGM).data.R --iter=2000
13+
$(CXX) -O3 -DNDEBUG $(CPPFLAGS) $(PGM).cpp -o $(PGM) $(LIBFLAGS)
14+
./$(PGM) data=$(PGM).data.R sample
1515

1616
clean :
1717
rm -f $(PGM).cpp samples.csv $(PGM)

bugs_examples/vol1/kidney/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LIBFLAGS = -L$(STAN_HOME)/bin -lstan
99
$(PGM) :
1010
$(STAN_HOME)/bin/stanc --name=$(PGM) $(PGM).stan
1111
$(CXX) -O3 -DNDEBUG $(CPPFLAGS) $(PGM).cpp -o $(PGM) $(LIBFLAGS)
12-
./$(PGM) --data=$(PGM).data.R # --iter=2000
12+
./$(PGM) data=$(PGM).data.R sample num_samples=2000
1313

1414
clean :
1515
rm -f $(PGM).cpp samples.csv $(PGM)

bugs_examples/vol1/leuk/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LIBFLAGS = -L$(STAN_HOME)/bin -lstan
99
$(PGM) :
1010
$(STAN_HOME)/bin/stanc --name=$(PGM) $(PGM).stan
1111
$(CXX) -O3 -DNDEBUG $(CPPFLAGS) $(PGM).cpp -o $(PGM) $(LIBFLAGS)
12-
./$(PGM) --data=$(PGM).data.R # --iters=2000
12+
./$(PGM) data=$(PGM).data.R
1313

1414
clean :
1515
rm -rf $(PGM).cpp samples.csv $(PGM)

bugs_examples/vol1/leukfr/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LIBFLAGS = -L$(STAN_HOME)/bin -lstan
99
$(PGM) :
1010
$(STAN_HOME)/bin/stanc --name=$(PGM) $(PGM).stan
1111
$(CXX) -O3 -DNDEBUG $(CPPFLAGS) $(PGM).cpp -o $(PGM) $(LIBFLAGS)
12-
./$(PGM) --data=$(PGM).data.R --iter=10000
12+
./$(PGM) data=$(PGM).data.R sample
1313

1414
clean :
1515
rm -rf $(PGM).cpp samples.csv $(PGM)

bugs_examples/vol1/lsat/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LIBFLAGS = -L$(STAN_HOME)/bin -lstan
77
lsat :
88
$(STAN_HOME)/bin/stanc --name=lsat lsat.stan
99
g++ -O0 -DNDEBUG $(CPPFLAGS) lsat.cpp -o lsat $(LIBFLAGS)
10-
./lsat --data=lsat.data.R
10+
./lsat data=lsat.data.R sample
1111

1212
clean :
1313
rm -f lsat.cpp samples.csv lsat

0 commit comments

Comments
 (0)