- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to export/source application specific settings and paths while running in Symmetric mode on both host and MIC.
The application is huge and has different paths and variables to be sourced/exported for MIC and host. Normally it is done though a sequence of steps - first exporting a settings file and then running a script file for setting up the environment. How can all this be done while running in symmetric mode, when all the settings are different for both host and MIC. If i run from host, I can manually export all the settings but same settings are not needed for MIC but different, and vice versa.
I'm running different binaries in this manner: mpirun -n <np> -machinefile machinefile <host binary file> : -n <np> -machinefile machinefile <MIC.binary file>
Awaiting guidance.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sounds like you want I_MPI_ENV_PREFIX_LIST.
export I_MPI_ENV_PREFIX_LIST=knc:PHI
<NAME>=value is applied to all systems
PHI_<NAME>=value defines <NAME>=value for all Intel(R) Xeon Phi(TM) coprocessors
PHI_2_<NAME>=value defines <NAME>=value for the Intel(R) Xeon Phi(TM) coprocessor named mic2
For example,
export I_MPI_ENV_PREFIX_LIST=knc:PHI
export OMP_NUM_THREADS=24
export PHI_OMP_NUM_THREADS=240
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Gregg Skinner
Thanks but that was not what I was seeking.
Anyways it is resolved now using entries in .bashrc of host and -genvnone combination from MIC, though it may not be the optimal way.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page