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:
./application 2>&1 | tee /root/log.txt
Does anyone know how to get this to work?