Search found 8 matches

by asif_bahrainwala
Wed Jul 22, 2020 8:14 am
Forum: General Bullet Physics Support and Feedback
Topic: Bullet3MT crash
Replies: 2
Views: 988

Re: Bullet3MT crash

After some debugging, it seems that the MT solver does not like connecting 2 springs with objects of infinite mass (though this is a redundant case).
I am still verifying at my end as to how this happened.
by asif_bahrainwala
Wed Jul 22, 2020 6:05 am
Forum: General Bullet Physics Support and Feedback
Topic: Bullet3MT crash
Replies: 2
Views: 988

Bullet3MT crash

Hi, I am running a simulation with about 40K objects, Bullet3 is compiled to use MT. I am also using about 150K springs to connect these objects via btGeneric6DofSpringConstraint My application crashes: tSimulationIslandManagerMt::Island* btSimulationIslandManagerMt::getIsland(int): Assertion `id >=...
by asif_bahrainwala
Thu Jul 09, 2020 7:51 pm
Forum: General Bullet Physics Support and Feedback
Topic: Bullet3 using MT
Replies: 2
Views: 1177

Re: Bullet3 using MT

cat build_cmake_pybullet_double.sh cmake -DBT_THREADSAFE=1 -DBUILD_PYBULLET=ON -DBUILD_PYBULLET_NUMPY=ON -DUSE_DOUBLE_PRECISION=ON -DBT_USE_EGL=ON -DCMAKE_BUILD_TYPE=Debug .. || exit 1 I added BT_THREADSAFE=1 , with this, btCreateDefaultTaskScheduler() gives me a non-null object adding this to cmake...
by asif_bahrainwala
Thu Jul 09, 2020 2:14 pm
Forum: General Bullet Physics Support and Feedback
Topic: Bullet3 using MT
Replies: 2
Views: 1177

Re: Bullet3 using MT

using VS017, I select all projects and add BT_THREADSAFE as a preprocessor to all of them.
The simulation runs fine on window, I need something similar on Linux
by asif_bahrainwala
Thu Jul 09, 2020 6:35 am
Forum: General Bullet Physics Support and Feedback
Topic: Bullet3 using MT
Replies: 2
Views: 1177

Bullet3 using MT

I am trying to use the default threaded scheduler, cout<<"btCreateDefaultTaskScheduler:"<<btCreateDefaultTaskScheduler()<<endl; cout<<"btGetOpenMPTaskScheduler:"<<btGetOpenMPTaskScheduler()<<endl; both cases return NULL. Is there some flag to be set to while building bullet3 to g...
by asif_bahrainwala
Sat Mar 21, 2020 7:52 pm
Forum: General Bullet Physics Support and Feedback
Topic: Unable to get btCreateDefaultTaskScheduler or btGetOpenMPTaskScheduler
Replies: 2
Views: 909

Re: Unable to get btCreateDefaultTaskScheduler or btGetOpenMPTaskScheduler

looking at the code // create an OpenMP task scheduler (if available, otherwise returns null) 786 btITaskScheduler* btGetOpenMPTaskScheduler() 787 { 788 #if BT_USE_OPENMP && BT_THREADSAFE 789 static btTaskSchedulerOpenMP sTaskScheduler; 790 return &sTaskScheduler; 791 #else 792 return NU...
by asif_bahrainwala
Fri Mar 20, 2020 3:25 pm
Forum: General Bullet Physics Support and Feedback
Topic: Unable to get btCreateDefaultTaskScheduler or btGetOpenMPTaskScheduler
Replies: 2
Views: 909

Unable to get btCreateDefaultTaskScheduler or btGetOpenMPTaskScheduler

btGetOpenMPTaskScheduler and btCreateDefaultTaskScheduler always return null I would like t use this... btCollisionDispatcherMt throws an error stating that a task sheduler is not set (if i set it btSetTaskScheduler(btGetSequentialTaskScheduler()) , it works fine, but I would want to use multicpu) P...