Comments (4)
Hi Joris,
Thank you for your question. Could you try activating pthread
option in your src/CMakeLists.txt
?
In this file you should see
target_link_libraries(src
PRIVATE
cells
modules
cooling
power_conversion
system
procedures
factories
settings
# pthread -> For WSL.
)
Here you can remove the #
in front of pthread
and please also delete -> For WSL.
part. This should solve the problem but let me know if it persists.
PS: In these days we are working on the SLIDE v3 release, probably you will see some improvements very soon after the release. Also we are going to update our documentation.
Yours sincerely,
Volkan
from slide.
Hello,
Thank you, it does solve the issue! Thanks!
from slide.
Hello,
I'd like to reopen this issue, as I have not been able to run the V2 version. I'm trying to compile this one as the documentation does not seem to cover the version under the Main branch (or I don't know how to run it).
The V2 version also has a CmakeList.txt in the root folder, but I don't know how to enable pthread in this one, any tips?
Thanks!
from slide.
Hi I think it is better to use the verson in the main branch. Otherwise, the examples you made will have massive changes at version 3. I would be happy to help with creating any example you need for v3.
Meanwhile you may have a look at this issue for adding pthread in v2:
Or alternatively check the full relevant discussion on Twitter:
https://twitter.com/VolkanKumtepeli/status/1439872932747042818
Yours sincerely,
Volkan
from slide.
Related Issues (17)
- Compile and run on macOS HOT 6
- Matlab plot titles and legends render underscore as subscript HOT 3
- Create a log file
- Python interface HOT 1
- MATLAB interface
- High order integration
- Current Profile drive cycle HOT 4
- Windows unit workflow fails HOT 2
- Code coverage is missing. HOT 1
- Package-wide variable naming HOT 1
- Library-based documentation
- Alternative solver dependencies
- Combining functions HOT 3
- Current profile HOT 1
- Discrepancy in cycling data HOT 2
- Can't find `cycling.cpp` file to edit `followCurrent` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slide.