To run CHASTE code in parallel, include the following in the test suite file which contains the simulation:

#include "PetscSetupAndFinalize.hpp"


Then compile using the following command:

scons cl=1 b=GccOptNative_8 -j8 test_suite=PATH_TO_TEST_SUITE


where 8 should be replaced by the number of cores you wish to run the code on.
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki