Skip to content
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

Ubuntu 16.04 - all results are "/bin/sh: 1: time: not found ms" #6

Open
HumanEquivalentUnit opened this issue Dec 6, 2020 · 0 comments

Comments

@HumanEquivalentUnit
Copy link

HumanEquivalentUnit commented Dec 6, 2020

First run of this code, all the results are like this:

Run on: Intel(R) Xeon(R) CPU E5-2470 v2 @ 2.40GHz | Ubuntu 16.04.7 LTS | 2020-12-06
C (gcc 5.4.0):            /bin/sh: 1: time: not found ms
C++ (g++ 5.4.0):          /bin/sh: 1: time: not found ms
Cython (cython 0.23.4):   /bin/sh: 1: time: not found ms
... etc.

time is a shell keyword, requires: sudo apt-get install time to add /usr/bin/time binary.

Might need the Makefile changing TIME := /usr/bin/time -f "%e", I needed that to make it work, but if I take that away, it still works.

Logging so that other people can see a fix; might be good to add time as one of the things installed by make install, though I don't know how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant