-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logging is preventing multiple jobs #71
Comments
Thanks for letting me know. I haven't tested this recently, but I can see why multiple threads might be blocked writing to the same log file. There might be some options to Possibly |
No worries! |
(On a Jetson Orin)
This script does not use more than one core, regardless of the value in
$CPUS
or$JOBS
.I have been having issues building opencv and getting it working with realsense-ros, so I've been reconfiguring and building using my own script, and the one in this git.
I noticed mine is dramatically faster, despite being almost identical aside from a few flags.
Changing nano_build_opencv's make command
make -j${JOBS} 2>&1 | tee -a build.log
to
make -j$(($(nproc)-1))
,removes the redirection of the output to the log file but gives a dramatic speed up, with jtop showing multiple or all 12 cores pegged at near 100%.
I think the cmake step is also affected.
Suspect this affects all systems.
The text was updated successfully, but these errors were encountered: