You shouldn't need to recompile julia to use parallel processing tools. Every time you load the Julia REPL you can control the number of processors available to Julia.
The -j flag to make controls the number of processors used to perform the compilation step and doesn’t change anything about the final output of the make process. — John On Feb 2, 2014, at 7:29 PM, Jeff Pickhardt <[email protected]> wrote: > I just installed Julia on a 2013 MacBook Pro with "make", however I'd like to > recompile it to support parallel processes. What do you guys recommend I do > here? > > Looks like I should run the following: > > cd $JULIA_HOME > rm julia # this is all you need to do to uninstall it? > make -j 8 > > For Julia experts, is that the recommended approach: to delete the old one > and make a new one? Is 8 a good number of parallel processes to use for a > 2013 MacBook Pro with a SSD? > > Also, why do you have to recompile Julia to use parallel processes... > shouldn't it just support parallel processes by default? For example, maybe > it is set to use up to 8 process max unless you call it with "julia -p 1". > > Finally, when I compiled it, there were a ton of warnings. Stuff like: > unused variables, incompatible pointer types, etc. It looks like these > warnings are only due to the preprocessor comments. Still, there should be > something in the readme that says not to worry about these comments, or else > compile it and siphon the warnings off to a log file. Here's a few of the > warnings: > > c_zblas2.c:140:69: warning: incompatible pointer types passing > 'CBLAS_TEST_ZOMPLEX *' to parameter of type 'double *' > [-Wincompatible-pointer-types] > > > symm.c:145:7: warning: unused variable 'mode' [-Wunused-variable] > > > ./level3.c:254:17: warning: equality comparison with extraneous parentheses > [-Wparentheses-equality] >
