[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #AGC-529285]: netCDF parallel tests: adding options to "mpiexec"



Have you tried adding those extra flags to the CFLAGS environment variable?

> 
> Is there a convenient way (such as an environment variable)
> whereby one may control the MPI command used for parallel
> tests?  I have been editing the commands like this:
> 
> HCA=mlx5_0
> MPIFLAGS=""
> MPIFLAGS+="-x UCX_NET_DEVICES=$HCA:1 "
> MPIFLAGS+="-mca btl_openib_if_include $HCA:1 "
> 
> for FILE in $(grep -H -R 'mpiexec -n' . | cut -d: -f1)
> do
> sed -i "s/mpiexec -n/mpiexec $MPIFLAGS -n/" $FILE
> done
> 
> but I would prefer a less inelegant solution.
> 
> Best regards,
> 
> Max

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: AGC-529285
Department: Support netCDF
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.



NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.