Re: [OMPI users] Issue with MPI_Get_processor_name() in Cygwin

2021-02-09 Thread Joseph Schuchart via users
Martin, The name argument to MPI_Get_processor_name is a character string of length at least MPI_MAX_PROCESSOR_NAME, which in OMPI is 256. You are providing a character string of length 200, so OMPI is free to write past the end of your string and into some of your stack variables, hence you

[OMPI users] Issue with MPI_Get_processor_name() in Cygwin

2021-02-09 Thread Martín Morales via users
Hello, I have what it could be a memory corruption with MPI_Get_processor_name() in Cygwin. I’m using OMPI 4.1.0; I tried also in Linux (same OMPI version) but there isn’t an issue there. Below the example of a trivial spawn operation. It has 2 scripts: spawned and spawner. In the spawned scr