yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #11758
Re: [Branch ~yade-pkg/yade/git-trunk] Rev 3486: Parallelization of interaction loops in Law2_..._Capillarity (which is in fact not a LawFunctor h...
-
To:
"yade-dev@xxxxxxxxxxxxxxxxxxx" <yade-dev@xxxxxxxxxxxxxxxxxxx>
-
From:
Jerome Duriez <Jerome.Duriez@xxxxxxxxxxx>
-
Date:
Wed, 10 Dec 2014 01:41:51 +0000
-
Accept-language:
en-CA, en-US
-
Authentication-results:
spf=neutral (sender IP is 136.159.160.216) smtp.mailfrom=Jerome.Duriez@xxxxxxxxxxx;
-
In-reply-to:
<CALF6qJkNOuOQ=iy1TaFqRMvwbshiZNFgzKy+N50Ataf8Mq7YSw@mail.gmail.com>
-
Thread-index:
AQHP6kUrEIBzQHZhXEe1f9mb3wiMUZx/D8kA//+jmoWAAcHRgIAAAsoA//+fMe+AAAdP1oAAo0eA//+rShkAHGCTgADh9AUl
-
Thread-topic:
[Yade-dev] [Branch ~yade-pkg/yade/git-trunk] Rev 3486: Parallelization of interaction loops in Law2_..._Capillarity (which is in fact not a LawFunctor h...
So I finally removed all parallel loops from capillary Law2 : https://github.com/yade/trunk/commit/4fc1e9a023f03d7678a59908039c17b3f8f4c364
Thanks a lot Anton for you remark, this is very useful for me to improve my OpenMP skills. Here I took the shortest path since this code is, as we said, going to be deprecated.
Jerome
________________________________
From: Anton Gladky [gladky.anton@xxxxxxxxx]
Sent: December 4, 2014 11:49 PM
To: Jerome Duriez
Cc: yade-dev@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Yade-dev] [Branch ~yade-pkg/yade/git-trunk] Rev 3486: Parallelization of interaction loops in Law2_..._Capillarity (which is in fact not a LawFunctor h...
Hi guys,
sorry for not being active these days. BodiesMenisciiList is definitely not a
thread-safe container. You can have a look at implementation of addIntrs,
which is thread-safe. In other words you need to to use OpenMPVector
instead of Vector.
Cheers
[1] https://github.com/yade/trunk/blob/master/core/Scene.hpp#L66
Anton
References
-
[Branch ~yade-pkg/yade/git-trunk] Rev 3486: Parallelization of interaction loops in Law2_..._Capillarity (which is in fact not a LawFunctor h...
From: noreply, 2014-10-17
-
Re: [Branch ~yade-pkg/yade/git-trunk] Rev 3486: Parallelization of interaction loops in Law2_..._Capillarity (which is in fact not a LawFunctor h...
From: Bruno Chareyre, 2014-12-03
-
Re: [Branch ~yade-pkg/yade/git-trunk] Rev 3486: Parallelization of interaction loops in Law2_..._Capillarity (which is in fact not a LawFunctor h...
From: Jerome Duriez, 2014-12-03
-
Re: [Branch ~yade-pkg/yade/git-trunk] Rev 3486: Parallelization of interaction loops in Law2_..._Capillarity (which is in fact not a LawFunctor h...
From: Bruno Chareyre, 2014-12-04
-
Re: [Branch ~yade-pkg/yade/git-trunk] Rev 3486: Parallelization of interaction loops in Law2_..._Capillarity (which is in fact not a LawFunctor h...
From: Bruno Chareyre, 2014-12-04
-
Re: [Branch ~yade-pkg/yade/git-trunk] Rev 3486: Parallelization of interaction loops in Law2_..._Capillarity (which is in fact not a LawFunctor h...
From: Jerome Duriez, 2014-12-04
-
Re: [Branch ~yade-pkg/yade/git-trunk] Rev 3486: Parallelization of interaction loops in Law2_..._Capillarity (which is in fact not a LawFunctor h...
From: Jerome Duriez, 2014-12-04
-
Re: [Branch ~yade-pkg/yade/git-trunk] Rev 3486: Parallelization of interaction loops in Law2_..._Capillarity (which is in fact not a LawFunctor h...
From: Bruno Chareyre, 2014-12-04
-
Re: [Branch ~yade-pkg/yade/git-trunk] Rev 3486: Parallelization of interaction loops in Law2_..._Capillarity (which is in fact not a LawFunctor h...
From: Jerome Duriez, 2014-12-05
-
Re: [Branch ~yade-pkg/yade/git-trunk] Rev 3486: Parallelization of interaction loops in Law2_..._Capillarity (which is in fact not a LawFunctor h...
From: Anton Gladky, 2014-12-05