General discussion

  • Creator
    Topic
  • #2180212

    Scrathbook

    Locked

    by muralidharan.raghavan ·

    blog root

All Comments

  • Author
    Replies
    • #3118937

      Cluster Management

      by muralidharan.raghavan ·

      In reply to Scrathbook

      • Error message:
               p4_error: semget failed for setnum: 0
        This means that the maximum number of allowed semaphores on the
        master node has been created, and the program you are trying to run
        cannot allocate a new semaphore for inter-process communication. This
        can happen when somebody has been testing software that does not exit
        properly, leaving semaphores and shared memory segments allocated.
        If the leftover semaphores are owned by you, it can be fixed by running the following two commands:
        Run on each machine:    /opt/mpich/gnu/sbin/cleanipcs
        Run on the cluster root:  cluster-fork /opt/mpich/gnu/sbin/cleanipcs
    • #3118326

      Linux Tips

      by muralidharan.raghavan ·

      In reply to Scrathbook

      !! – This will execute the last command from history file.
      !<char> – This will execute the last command from history, starting with <char>

    • #3118310

      Linux Administration

      by muralidharan.raghavan ·

      In reply to Scrathbook

      • du -Lk <path>: This will give the disk usage statistics for the path.

      • rpm -i mpi*rpm:
        This will install the given RPM file.

      • /etc/init.d/iptables status:
        This will give the status of the iptables in the system.

      • /opt/rocks/sbin/create-account -c “Asif Rahaman ” -d /export/home/weland/rahaman -g 380 -s /bin/bash -u 24855 rahaman:
        Create an account in Rocks for user Asif Rahaman and given directory.
      • cluster-fork <cmd>: Runs the command in every system on the cluster.

      • diff <file1> <file2>:
        Finds and lists the difference between the files.
      • scp chaffin@antaeus.hpcc.ttu.edu:/home/chaffin/bash-test .: Secure Copy from one remote location to another.
      • find . -name “chaffin” -print: Used to find the file with name chaffin.
      • rsync –archive –rsh=/usr/bin/ssh ./post hrothgar.hpcc.ttu.edu:/home/chaffin/post: Move the archive post to another system hrothgar.
Viewing 2 reply threads