Re: [OMPI devel] define a new ENV variable in etc/openmpi-mca-params.conf

2017-02-24 Thread Jeff Squyres (jsquyres)
ierr=MPI_Finalize(); > > return 0; > } > > > From: Jeff Squyres (jsquyres) > To: Dahai Guo ; Open MPI Developers List > > Cc: Dahai Guo > Sent: Friday, February 24, 2017 12:27 PM > Subject: Re: [OMPI devel] define a new ENV variable in > etc/openmpi-

Re: [OMPI devel] define a new ENV variable in etc/openmpi-mca-params.conf

2017-02-24 Thread Dahai Guo via devel
s (jsquyres) To: Dahai Guo ; Open MPI Developers List Cc: Dahai Guo Sent: Friday, February 24, 2017 12:27 PM Subject: Re: [OMPI devel] define a new ENV variable in etc/openmpi-mca-params.conf It's still not clear what you're trying to do. Are you setting an MCA parameter, o

Re: [OMPI devel] define a new ENV variable in etc/openmpi-mca-params.conf

2017-02-24 Thread Jeff Squyres (jsquyres)
pen-mpi.org" > To: OpenMPI Devel > Sent: Friday, February 24, 2017 9:44 AM > Subject: Re: [OMPI devel] define a new ENV variable in > etc/openmpi-mca-params.conf > > I think Jeff got lost in the weeds here. If you define a new MCA param in the > default param file, we will

Re: [OMPI devel] define a new ENV variable in etc/openmpi-mca-params.conf

2017-02-24 Thread Dahai Guo via devel
[OMPI devel] define a new ENV variable in etc/openmpi-mca-params.conf I think Jeff got lost in the weeds here. If you define a new MCA param in the default param file, we will automatically pick it up and it will be in the environment of your application. You don’t need to do anything. Howev

Re: [OMPI devel] define a new ENV variable in etc/openmpi-mca-params.conf

2017-02-24 Thread r...@open-mpi.org
I think Jeff got lost in the weeds here. If you define a new MCA param in the default param file, we will automatically pick it up and it will be in the environment of your application. You don’t need to do anything. However, you checked for the wrong envar. Anything you provide is going to have

Re: [OMPI devel] define a new ENV variable in etc/openmpi-mca-params.conf

2017-02-24 Thread Jeff Squyres (jsquyres)
On Feb 24, 2017, at 10:11 AM, Dahai Guo wrote: > > oops, I should use the word "MCA parameters". If I define a MCA parameter > (apath, for example) in etc/openmpi-mca-params.conf, how can function > setup_fork in ompi/orte/mca/schizo/ompi/schizo_ompi.c get its value? I tried > to call getenv(

Re: [OMPI devel] define a new ENV variable in etc/openmpi-mca-params.conf

2017-02-24 Thread Dahai Guo via devel
I mean getenv("OMPI_MCA_apath") in setup_fork. From: Dahai Guo via devel To: Jeff Squyres (jsquyres) ; Dahai Guo ; Open MPI Developers List Cc: Dahai Guo Sent: Friday, February 24, 2017 9:11 AM Subject: Re: [OMPI devel] define a new ENV variable in etc/openmpi-mca-p

Re: [OMPI devel] define a new ENV variable in etc/openmpi-mca-params.conf

2017-02-24 Thread Dahai Guo via devel
owever, If I defined it in the cmd line, mpirun -mca apath=sth .., then I could get it in setup_fork. Did I miss something? Dahai From: Jeff Squyres (jsquyres) To: Dahai Guo ; Open MPI Developers List Cc: Dahai Guo Sent: Friday, February 24, 2017 8:57 AM Subject: Re: [OMPI dev

Re: [OMPI devel] define a new ENV variable in etc/openmpi-mca-params.conf

2017-02-24 Thread Jeff Squyres (jsquyres)
On Feb 23, 2017, at 5:44 PM, Dahai Guo via devel wrote: > > If I define a new ENV variable in etc/openmpi-mca-params.conf, what OMPI > codes should I modify in order for this parameter to be delivered to each > rank? I'm not quite sure what you're asking. The openmpi-mca-params.conf does no

[OMPI devel] define a new ENV variable in etc/openmpi-mca-params.conf

2017-02-23 Thread Dahai Guo via devel
Hi, If I define a new ENV variable in etc/openmpi-mca-params.conf, what OMPI codes should I modify  in order for this parameter to be delivered to each rank? Thx,  D. G.___ devel mailing list devel@lists.open-mpi.org https://rfd.newmexicoconsortium.org/m