This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Is there a way to speed up the just in time compilation by parallelization

+1 vote

Hi,

Is there a way to parallelize the just in time compilation while using python interface?

I know how to compile in parallel c++ code by command:

make -j 4

Thanks in advance!

Regards, Maksim

asked Oct 19, 2015 by Maks FEniCS User (2,430 points)

1 Answer

0 votes

No, but it should be simple to implement.
Look for the file build.py in Instant and search for the make command.
Here you may add "make-flags" as an option and add it to the string
used to run make. OK?

answered Oct 20, 2015 by Kent-Andre Mardal FEniCS Expert (14,380 points)

Thanks for answer!

I thought the same.

I found build.py in Instant module and add "-j 4" to the make command, but nothing changes.

# cmd = "make VERBOSE=1"
cmd = "make -j 4 VERBOSE=1"
...