Hi Bryan
Sorry about your trying to get multithreading working. Cantera isn’t coded specifically for multithreading at all. In mp codes, Cantera is used in an embarrassingly parallel mode, where each processor gets its own instantiation of Cantera. Works great. A 1D code with this approach may be available soon as open source using trilinos to distribute and solve the resulting linear systems, depending upon the needs of the project that’s funding it.
However, in order to use multiple threads, you need to specifically code towards that goal, which creates its own problems with conditional compilation depending on your toolset. I notice that you are using the intel compilers which have robust support for multithreading. Other compilers don’t have the support. The priority for this type of approach hasn’t been there for Cantera, as it doesn’t support the creation of capabilities which can be used to support new applications.
I’ll soon be creating a module for Cantera that will document the speed of calculations as best as it can be done. I’ve done some initial work with trying to use pthreads to speed up Cantera. It wasn’t promising. I’ll put that work in the module.
Best wishes,
Harry Moffat
Cantera Head
--
You received this message because you are subscribed to the Google Groups "Cantera User's Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
cantera-user...@googlegroups.com.
To post to this group, send email to
canter...@googlegroups.com.
Visit this group at http://groups.google.com/group/cantera-users.
For more options, visit https://groups.google.com/groups/opt_out.