[OMPI users] Issues with MPI_Comm_Spawn

2020-08-12 Thread Alvaro Payero Pinto via users
Hi, I’m using OpenMPI 4.0.4, where the Fortran side has been compiled with Intel Fortran suite v17.0.6 and the C/C++ side with GNU suite v4.8.5 due to requirements I cannot modify. I am trying to parallelise a Fortran application by dynamically creating processes on the fly with “MPI_Comm_Spawn”

Re: [OMPI users] Issues with MPI_Comm_Spawn

2020-08-12 Thread Ralph Castain via users
Setting aside the known issue with comm_spawn in v4.0.4, how are you planning to forward stdin without the use of "mpirun"? Something has to collect stdin of the terminal and distribute it to the stdin of the processes > On Aug 12, 2020, at 9:20 AM, Alvaro Payero Pinto via users > wrote: > >

Re: [OMPI users] Issues with MPI_Comm_Spawn

2020-08-12 Thread Alvaro Payero Pinto via users
I was planning to create a MPI Info variable with a pair of ompi stdin target as key and all as value. Is not the way of archieve this goal? El mié., 12 ago. 2020 18:29, Ralph Castain via users < users@lists.open-mpi.org> escribió: > Setting aside the known issue with comm_spawn in v4.0.4, how ar

Re: [OMPI users] Issues with MPI_Comm_Spawn

2020-08-12 Thread Ralph Castain via users
No, I'm afraid that won't do anything - all the info key does is tell the launcher (mpirun or whatever you used) that you would like it to collect and distribute the stdin. However, it will just be ignored if you don't have the launcher there to provide that support. How are you planning on sta

Re: [OMPI users] Issues with MPI_Comm_Spawn

2020-08-12 Thread Alvaro Payero Pinto via users
Thanks for your help. To be honest, my intention was to init the processes from the code with the MPI comm spawn. However I will try with mpirun. Thanks again. El mié., 12 ago. 2020 19:20, Ralph Castain via users < users@lists.open-mpi.org> escribió: > No, I'm afraid that won't do anything - all