0 Replies Latest reply on Aug 21, 2012 1:08 PM by devendra.rai

    (Re) Directing the output of (RCK)MPI processes on SCC

    devendra.rai

      Hello All

       

      I am trying to redirect the output of individual RCKMPI processes onto a separate file. In OpenMPI this is straightforward. However, for RCKMPI, I cannot get it to work.

       

      I have tried

       

      (a). mpirun -l -np N './application 2>&1 /root/log.txt'

      (b). mpirun -l -np N './application 2>&1 | tee /root/log.txt'

      (c) mpirun -l -np N './application 2>&1 >> /root/log.txt'

      (d). mpirun -l -np N 'shellapp.sh'

       

      For all these cases, RCKMPI crashes without any warning.

       

      For case (d), I have a shellapp.sh as:

       

      #!/bin/bash

      ./application 2>&1 | tee /root/log.txt

       

       

       

      Does anyone know how to get this to work?

       

      Thanks


      Devendra