Results 1 to 11 of 11

Thread: redhat dualie

  1. #1

    redhat dualie

    how can i make DF use both CPU's? the default run uses CPU1, how can i run a 2nd instance on CPU0?

  2. #2
    You should be able to just create a second directory, copy the DF client over and run two instances of the client, one from each of the directories. The OS should schedule one to run on CPU0 and the other on CPU1.

    Jeff.

  3. #3
    nice one cheers

  4. #4
    how can i make it run in the background? at the mo i'm running it via SSH

  5. #5
    Senior Member
    Join Date
    Mar 2002
    Location
    MI, U.S.
    Posts
    697
    Put the -qt switch in the foldit script (so that it doesn't output anything to the screen), and then run ./foldit & to get it into the background.

    The & tells your shell to start up the foldit script in the background.

  6. #6
    Originally posted by bwkaz
    Put the -qt switch in the foldit script (so that it doesn't output anything to the screen), and then run ./foldit & to get it into the background.

    The & tells your shell to start up the foldit script in the background.
    cheers

  7. #7
    Member vsemaska's Avatar
    Join Date
    Mar 2002
    Location
    Connecticut, USA
    Posts
    49
    With ./foldit & the background process will terminate if you log off. I use the following:

    nohup ./foldit > ./foldit.err 2>&1 &

    Make sure you use the -qt option in the script to disable the output.

    Vic

  8. #8
    i logged off 10 mins ago and both processes are still running

    927
    root
    ./foldtrajlite -f protein -n native -qt -df -it -rt

    934
    root
    ./foldtrajlite -f protein -n native -qt -df -it -rt

  9. #9
    Member vsemaska's Avatar
    Join Date
    Mar 2002
    Location
    Connecticut, USA
    Posts
    49
    Interesting. I usually use Tru64 UNIX and you need the nohup. I just tried it on a LINUX system and it appears you don't need nohup there. So, if you're using LINUX, nevermind.

    Vic
    Yes, yes. Zathras is used to being beast of burden to other people's needs. Very sad life. Probably have very sad death. But, at least there is symmetry.

    Babylon 5

  10. #10
    try:
    sh exec ./foldtrajlite -f protein -n native -qt -df -it -rt &

    It will start a new shell, start the program and replace the shell with foldtrajlite.

  11. #11
    or just install 'screen'.... run screen, start script and then ^AD to detach... run screen -R to re-attach an instance (add one of the numbers of those reported, if you are running multiple screens).

    Though this client probably is not looked upon as a security risk, it is recommended to run as few applications as possible as root... just a tip for you, Lucifer. I, personally, do not run anything as root unless the source is available.

    pmfp sends
    "There's only one bullet with your name on it, there's a thousand other ones that are addressed 'To Whom It May Concern'."
    -Tracy Paul Warrington

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •