Giter Site home page Giter Site logo

Comments (7)

moold avatar moold commented on May 25, 2024

Could you try to run the command time or /usr/bin/time ?

from nextdenovo.

zjwang0831 avatar zjwang0831 commented on May 25, 2024

I tried which time,timeand /usr/bin/time . There is a time somewhere but it seems that the system doesn't know where it is, neither do I.

(py27) lailab@debian-07:~/wangzijian/software/NextDenovo$ which time
(py27) lailab@debian-07:~/wangzijian/software/NextDenovo$ time ls
README.md  bin	doc  lib  minimap2  nextDenovo	nohup.out  pid109778.log.info  pid111095.log.info  test_data

real	0m0.002s
user	0m0.000s
sys	0m0.000s
(py27) lailab@debian-07:~/wangzijian/software/NextDenovo$ /usr/bin/time ls
-bash: /usr/bin/time: No such file or directory

from nextdenovo.

moold avatar moold commented on May 25, 2024

It seems your system already includes the time command? so could you try to run command time /home/lailab/wangzijian/software/NextDenovo/bin/seq_dump -f 1k -s 32000 -b 1g -n 2 -d /home/lailab/wangzijian/software/NextDenovo/test_data/01_rundir/01.raw_align /home/lailab/wangzijian/software/NextDenovo/test_data/input.fofn manually?

from nextdenovo.

zjwang0831 avatar zjwang0831 commented on May 25, 2024

The system found time when I ran time directly, while the system cannot when I ran in the background.

(py27) lailab@debian-07:~/wangzijian/software/NextDenovo$ nohup time /home/lailab/wangzijian/software/NextDenovo/bin/seq_dump -f 1k -s 32000 -b 1g -n 2 -d /home/lailab/wangzijian/software/NextDenovo/test_data/01_rundir/01.raw_align /home/lailab/wangzijian/software/NextDenovo/test_data/input.fofn  &
[1] 74494
(py27) lailab@debian-07:~/wangzijian/software/NextDenovo$ nohup: ignoring input and appending output to 'nohup.out'
nohup: failed to run command 'time': No such file or directory

[1]+  Exit 127                nohup time /home/lailab/wangzijian/software/NextDenovo/bin/seq_dump -f 1k -s 32000 -b 1g -n 2 -d /home/lailab/wangzijian/software/NextDenovo/test_data/01_rundir/01.raw_align /home/lailab/wangzijian/software/NextDenovo/test_data/input.fofn
(py27) lailab@debian-07:~/wangzijian/software/NextDenovo$ time /home/lailab/wangzijian/software/NextDenovo/bin/seq_dump -f 1k -s 32000 -b 1g -n 2 -d /home/lailab/wangzijian/software/NextDenovo/test_data/01_rundir/01.raw_align /home/lailab/wangzijian/software/NextDenovo/test_data/input.fofn

real	0m0.091s
user	0m0.080s
sys	0m0.012s

from nextdenovo.

moold avatar moold commented on May 25, 2024

Hi, if you still have this problem, I have an alternative unfriendly method you can try. Change line 138 subtask += 'time ' + task + '\n' in file lib/task_control.py to subtask += task + '\n', It maybe work.

from nextdenovo.

zjwang0831 avatar zjwang0831 commented on May 25, 2024

I login the server as root, and install a time , it works know. Thanks for helping!

from nextdenovo.

moold avatar moold commented on May 25, 2024

ok

from nextdenovo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.