Author: andrico
Date: Thu Jul  4 20:30:53 2013
New Revision: 4392

URL: http://svn.gna.org/viewcvs/getfem?rev=4392&view=rev
Log:
First attempt to do multi-threaded assembly.
Hopefully I don't brake anything. If one compiles the source without OpenMP, 
all tests are 
supposed to succeed. With OpenMP you can only run tests that have bricks which 
don't store 
any of their own data. I also thread-fixed some of the popular once that do 
(Dirichlet).
In general to make a brick parallelizable with OpenMP the brick data needs to 
be distributed 
(check out template omp_distribute). I configure multi-threaded Getfem with
./configure --with-pic --enable-boost CXXFLAGS="-DGETFEM_HAVE_BOOST -g 
-fopenmp" LIBS="-lgomp -lboost_thread" --with-optimization=-O0 
This is work in progress :). 

Added:
    trunk/getfem/src/getfem/getfem_omp.h
    trunk/getfem/src/getfem_omp.cc
Modified:
    trunk/getfem/src/Makefile.am
    trunk/getfem/src/dal_singleton.cc
    trunk/getfem/src/dal_static_stored_objects.cc
    trunk/getfem/src/getfem/bgeot_tensor.h
    trunk/getfem/src/getfem/dal_naming_system.h
    trunk/getfem/src/getfem/dal_singleton.h
    trunk/getfem/src/getfem/dal_static_stored_objects.h
    trunk/getfem/src/getfem/getfem_models.h
    trunk/getfem/src/getfem_mat_elem.cc
    trunk/getfem/src/getfem_models.cc
    trunk/getfem/src/gmm/gmm_std.h


_______________________________________________
Getfem-commits mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-commits

Reply via email to