Dear Ralph On Aug 21, 2014, at 2:30 PM, Ralph Castain <r...@open-mpi.org> wrote: > I'm afraid that none of the mapping or binding options would be available > under srun as those only work via mpirun. You can pass MCA params in the > environment of course, or in default MCA param files.
I understand. I hopefully be able to still pass the LAMA mca options as environment variables....I fear by default srun completely takes over the process binding. I got another problem. On my cluster I have two GPU and two Ivy Bridge processors. To maximize the PCIe bandwidth I want to allocate GPU 0 to socket 0 and GPU 1 to socket 1. I use a script like this #!/bin/bash lrank=$OMPI_COMM_WORLD_LOCAL_RANK case ${lrank} in 0) export CUDA_VISIBLE_DEVICES=0 "$@" ;; 1) export CUDA_VISIBLE_DEVICES=1 "$@" ;; esac But OMP_COMM_WORLD_LOCAL_RANK is not defined is I use srun with PMI2 as luncher. Is there any equivalent option/environment variable that will help me achieve the same result? Thanks in advance! F -- Mr. Filippo SPIGA, M.Sc. http://filippospiga.info ~ skype: filippo.spiga «Nobody will drive us out of Cantor's paradise.» ~ David Hilbert ***** Disclaimer: "Please note this message and any attachments are CONFIDENTIAL and may be privileged or otherwise protected from disclosure. The contents are not to be disclosed to anyone other than the addressee. Unauthorized recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission."