Re: [OMPI users] mpirun --output-filename behavior

2019-10-31 Thread Gilles Gouaillardet via users
Joseph, you can achieve this via an agent (and it works with DDT too) For example, the nostderr script below redirects each MPI task's stderr to /dev/null (so it is not forwarded to mpirun) $ cat nostderr #!/bin/sh exec 2> /dev/null exec "$@" and then you can simply $ mpirun --mca

Re: [OMPI users] mpirun --output-filename behavior

2019-10-31 Thread Joseph Schuchart via users
On 10/30/19 2:06 AM, Jeff Squyres (jsquyres) via users wrote: Oh, did the prior behavior *only* output to the file and not to stdout/stderr?  Huh. I guess a workaround for that would be:     mpirun  ... > /dev/null Just to throw in my $0.02: I recently found that the output to

Re: [OMPI users] mpirun --output-filename behavior

2019-10-31 Thread Kulshrestha, Vipul via users
Thanks Jeff. “:nojobid” worked well for me and helps me remove 1 extra level of hierarchy for log files. Regards Vipul From: Jeff Squyres (jsquyres) [mailto:jsquy...@cisco.com] Sent: Thursday, October 31, 2019 6:21 PM To: Kulshrestha, Vipul Cc: Open MPI User's List Subject: Re: [OMPI users]

Re: [OMPI users] mpirun --output-filename behavior

2019-10-31 Thread Jeff Squyres (jsquyres) via users
On Oct 30, 2019, at 2:16 PM, Kulshrestha, Vipul mailto:vipul_kulshres...@mentor.com>> wrote: Given that this is an intended behavior, I have a couple of follow up questions: 1. What is the purpose of the directory “1” that gets created currently? (in /app.log/1/rank./stdout ) Is this

Re: [OMPI users] Configure Error for installation of openmpi-1.10.1

2019-10-31 Thread Jeff Squyres (jsquyres) via users
On Oct 31, 2019, at 4:17 PM, Qianjin Zheng mailto:qianjin.zh...@hotmail.com>> wrote: I did not see any stdout from when I ran configure. Can you more specify file name? When you run Open MPI's "configure" script, there is a ton of output to stdout. Check out

Re: [OMPI users] Configure Error for installation of openmpi-1.10.1

2019-10-31 Thread Qianjin Zheng via users
Hi Jeff, I did not see any stdout from when I ran configure. Can you more specify file name? Thank you, Qianjin From: Jeff Squyres (jsquyres) Sent: Thursday, October 31, 2019 1:55 PM To: Qianjin Zheng Cc: Open MPI User's List Subject: Re: [OMPI users]

Re: [OMPI users] Configure Error for installation of openmpi-1.10.1

2019-10-31 Thread Jeff Squyres (jsquyres) via users
Blarg! Somehow it still tried to build the openib BTL. Can you send the stdout from when you ran configure? On Oct 31, 2019, at 1:57 PM, Qianjin Zheng mailto:qianjin.zh...@hotmail.com>> wrote: Hi Jeff, I tried again, but I still got the error when I ran "make". Here is the commend when I

Re: [OMPI users] Configure Error for installation of openmpi-1.10.1

2019-10-31 Thread Qianjin Zheng via users
Hi Jeff, I tried again, but I still got the error when I ran "make". Here is the commend when I run the configure: ./configure --prefix=$PATH/LIBRARIES/openmpi --enable-static --enable-mpi-thread-multiple --without-usnic --enable-mpi-cxx --enable-mca-no-build=btl-openib CC=gcc CXX=g++

Re: [OMPI users] Configure Error for installation of openmpi-1.10.1

2019-10-31 Thread Jeff Squyres (jsquyres) via users
Please keep users@lists.open-mpi.org in the CC so that other users can benefit from this information. More below. On Oct 30, 2019, at 10:18 PM, Qianjin Zheng mailto:qianjin.zh...@hotmail.com>> wrote: Hi Jeff, I added --enable-no-build=btl:openib on the

Re: [OMPI users] Configure Error for installation of openmpi-1.10.1

2019-10-31 Thread Jeff Squyres (jsquyres) via users
Please keep "users@lists.open-mpi.org" in the CC so that others can Google to find this info in the future. More below. On Oct 30, 2019, at 9:08 PM, Qianjin Zheng mailto:qianjin.zh...@hotmail.com>> wrote: Hi Jeff, Thank you for the suggestions. I will try it.