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.
Search found 8 matches
- Wed Jul 22, 2020 8:14 am
- Forum: General Bullet Physics Support and Feedback
- Topic: Bullet3MT crash
- Replies: 2
- Views: 5547
- Wed Jul 22, 2020 6:05 am
- Forum: General Bullet Physics Support and Feedback
- Topic: Bullet3MT crash
- Replies: 2
- Views: 5547
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 >=...
- Thu Jul 09, 2020 7:51 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Bullet3 using MT
- Replies: 2
- Views: 2745
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...
- Thu Jul 09, 2020 2:14 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Bullet3 using MT
- Replies: 2
- Views: 2745
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
The simulation runs fine on window, I need something similar on Linux
- Thu Jul 09, 2020 6:35 am
- Forum: General Bullet Physics Support and Feedback
- Topic: Bullet3 using MT
- Replies: 2
- Views: 2745
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...
- Sat Mar 21, 2020 7:52 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Unable to get btCreateDefaultTaskScheduler or btGetOpenMPTaskScheduler
- Replies: 2
- Views: 2157
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...
- Sat Mar 21, 2020 4:31 am
- Forum: General Bullet Physics Support and Feedback
- Topic: Unable to get btCreateDefaultTaskScheduler or btGetOpenMPTaskScheduler
- Replies: 2
- Views: 2157
- Fri Mar 20, 2020 3:25 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Unable to get btCreateDefaultTaskScheduler or btGetOpenMPTaskScheduler
- Replies: 2
- Views: 2157
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...