If you want make to build in parallel by default (for ./runTests.py) set MAKEFLAGS

31 views
Skip to first unread message

Daniel Lee

unread,
Oct 22, 2014, 7:17:18 PM10/22/14
to stan...@googlegroups.com
It's in the RStan doc and it works from the command line.

Add this to make/local:

MAKEFLAGS = -j2




Daniel

Daniel Lee

unread,
Oct 29, 2014, 7:24:56 AM10/29/14
to stan...@googlegroups.com
Actually... it doesn't work using runTests.py. That sets the flag manually.

Mitzi, think we should change this behavior? I guess I'm thinking for runTests.py:
- if '-j#' is provided from the command line, pass that to make.
- if not, then don't pass '-j1' to the command line. currently, if no '-j' argument is passed to runTests.py, it automatically sends '-j1' to the call to make.


Daniel


Mitzi Morris

unread,
Nov 2, 2014, 10:44:17 PM11/2/14
to stan...@googlegroups.com
will fix this - opened issue #1110 to do so.
cheers,
Mitzi

Daniel Lee

unread,
Nov 3, 2014, 7:10:01 PM11/3/14
to stan...@googlegroups.com
thanks!

--
You received this message because you are subscribed to the Google Groups "stan development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages