1In the following examples, the second argument is provided to bypass interaction with user through prompt questions.
2In practice, the first and the second arguments are rarely needed and can be dropped to allow real time interactions.
4%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6The MPI runtime libraries are required ONLY
for the
parallel ParaMonte simulations.
8one of the following MPI runtime libraries:
10 1) Intel MPI runtime library (recommended and available only
for Windows and Linux)
12 A) Download the Intel MPI runtime library from the Intel website and
install it.
13 B) Ensure the mpiexec MPI executable binary is available on the command line in the terminal.
14 I) On Windows systems, you may have difficulty finding mpiexec in Windows terminals.
15 For
this reason, Intel provides its dedicated Intel OneAPI command-prompt
16 on Windows
which has all environmental paths predefined within the shell.
17 This Batch terminal may not ship with MPI runtime library installations.
18 If so, you can directly run the Intel Windows `vars.bat` Batch script within a
19 compatible Windows shell to define all environmental variables
for MPI-
parallel simulations.
20 By
default,
this script is frequently (but not always) stored in one of the following path:
22 "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
23 "C:\Program Files (x86)\Intel\oneAPI\mpi\latest\env\vars.bat"
25 II) On Linux systems, you can also directly run the Intel `vars.sh` Bash script within a
26 compatible terminal to define all necessary environmental variables
for MPI-
parallel simulations.
27 By
default,
this script is frequently (but not always) stored in the following installation path:
29 "/opt/intel/oneapi/mpi/latest/env/vars.sh"
31 2) MPICH MPI runtime library (available only
for Linux and macOS/Darwin)
33 This can be downloaded and installed via a
package manager.
34 On Linux Ubuntu systems, you can use the shell installation command:
36 sudo apt install mpich
38 On macOS/Darwin systems, you can use the Homebrew application to install MPICH:
40 brew install mpich && brew link mpich
42 If you do not have Homebrew installed on your system, you can do so by
43 typing the following command in your (Bash/zsh) shell terminal:
45 /bin/bash -c "$(curl -fsSL https:
47 3) OpenMPI runtime library (available only for Linux and macOS/Darwin)
49 This can be downloaded and installed via a package manager.
50 On Linux Ubuntu systems, you can use the shell installation command:
52 sudo apt install openmpi-bin openmpi-common libopenmpi-dev
54 On macOS/Darwin systems, you can use the Homebrew application to install OpenMPI:
56 brew install openmpi && brew link openmpi
58 If you do not have Homebrew installed on your system, you can do so by
59 typing the following command in your (Bash/zsh) shell terminal:
61 /bin/bash -c "$(curl -fsSL https:
63For more information on running MPI-parallel simulations, visit:
65 <a href = "www.cdslab.org/pm">www.cdslab.org/pm</a>
68%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
70The MPI runtime libraries are required ONLY for the parallel ParaMonte simulations.
71The MPI-parallel version of the ParaMonte library requires
72one of the following MPI runtime libraries:
74 1) Intel MPI runtime library (recommended and available only for Windows and Linux)
76 A) Download the Intel MPI runtime library from the Intel website and install it.
77 B) Ensure the mpiexec MPI executable binary is available on the command line in the terminal.
78 I) On Windows systems, you may have difficulty finding mpiexec in Windows terminals.
79 For this reason, Intel provides its dedicated Intel OneAPI command-prompt
80 on Windows which has all environmental paths predefined within the shell.
81 This Batch terminal may not ship with MPI runtime library installations.
82 If so, you can directly run the Intel Windows `vars.bat` Batch script within a
83 compatible Windows shell to define all environmental variables for MPI-parallel simulations.
84 By default, this script is frequently (but not always) stored in one of the following path:
86 "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
87 "C:\Program Files (x86)\Intel\oneAPI\mpi\latest\env\vars.bat"
89 II) On Linux systems, you can also directly run the Intel `vars.sh` Bash script within a
90 compatible terminal to define all necessary environmental variables for MPI-parallel simulations.
91 By default, this script is frequently (but not always) stored in the following installation path:
93 "/opt/intel/oneapi/mpi/latest/env/vars.sh"
95 2) MPICH MPI runtime library (available only for Linux and macOS/Darwin)
97 This can be downloaded and installed via a package manager.
98 On Linux Ubuntu systems, you can use the shell installation command:
100 sudo apt install mpich
102 On macOS/Darwin systems, you can use the Homebrew application to install MPICH:
104 brew install mpich && brew link mpich
106 If you do not have Homebrew installed on your system, you can do so by
107 typing the following command in your (Bash/zsh) shell terminal:
109 /bin/bash -c "$(curl -fsSL https:
111 3) OpenMPI runtime library (available only for Linux and macOS/Darwin)
113 This can be downloaded and installed via a package manager.
114 On Linux Ubuntu systems, you can use the shell installation command:
116 sudo apt install openmpi-bin openmpi-common libopenmpi-dev
118 On macOS/Darwin systems, you can use the Homebrew application to install OpenMPI:
120 brew install openmpi && brew link openmpi
122 If you do not have Homebrew installed on your system, you can do so by
123 typing the following command in your (Bash/zsh) shell terminal:
125 /bin/bash -c "$(curl -fsSL https:
127For more information on running MPI-parallel simulations, visit:
129 <a href = "www.cdslab.org/pm">www.cdslab.org/pm</a>
131Would you like to install the Intel MPI runtime libraries on this system now (requires internet access)? (y/n)
133%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
135The MPI runtime libraries are required ONLY for the parallel ParaMonte simulations.
136The MPI-parallel version of the ParaMonte library requires
137one of the following MPI runtime libraries:
139 1) Intel MPI runtime library (recommended and available only for Windows and Linux)
141 A) Download the Intel MPI runtime library from the Intel website and install it.
142 B) Ensure the mpiexec MPI executable binary is available on the command line in the terminal.
143 I) On Windows systems, you may have difficulty finding mpiexec in Windows terminals.
144 For this reason, Intel provides its dedicated Intel OneAPI command-prompt
145 on Windows which has all environmental paths predefined within the shell.
146 This Batch terminal may not ship with MPI runtime library installations.
147 If so, you can directly run the Intel Windows `vars.bat` Batch script within a
148 compatible Windows shell to define all environmental variables for MPI-parallel simulations.
149 By default, this script is frequently (but not always) stored in one of the following path:
151 "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
152 "C:\Program Files (x86)\Intel\oneAPI\mpi\latest\env\vars.bat"
154 II) On Linux systems, you can also directly run the Intel `vars.sh` Bash script within a
155 compatible terminal to define all necessary environmental variables for MPI-parallel simulations.
156 By default, this script is frequently (but not always) stored in the following installation path:
158 "/opt/intel/oneapi/mpi/latest/env/vars.sh"
160 2) MPICH MPI runtime library (available only for Linux and macOS/Darwin)
162 This can be downloaded and installed via a package manager.
163 On Linux Ubuntu systems, you can use the shell installation command:
165 sudo apt install mpich
167 On macOS/Darwin systems, you can use the Homebrew application to install MPICH:
169 brew install mpich && brew link mpich
171 If you do not have Homebrew installed on your system, you can do so by
172 typing the following command in your (Bash/zsh) shell terminal:
174 /bin/bash -c "$(curl -fsSL https:
176 3) OpenMPI runtime library (available only for Linux and macOS/Darwin)
178 This can be downloaded and installed via a package manager.
179 On Linux Ubuntu systems, you can use the shell installation command:
181 sudo apt install openmpi-bin openmpi-common libopenmpi-dev
183 On macOS/Darwin systems, you can use the Homebrew application to install OpenMPI:
185 brew install openmpi && brew link openmpi
187 If you do not have Homebrew installed on your system, you can do so by
188 typing the following command in your (Bash/zsh) shell terminal:
190 /bin/bash -c "$(curl -fsSL https:
192For more information on running MPI-parallel simulations, visit:
194 <a href = "www.cdslab.org/pm">www.cdslab.org/pm</a>
197%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
199The MPI runtime libraries are required ONLY for the parallel ParaMonte simulations.
200The MPI-parallel version of the ParaMonte library requires
201one of the following MPI runtime libraries:
203 1) Intel MPI runtime library (recommended and available only for Windows and Linux)
205 A) Download the Intel MPI runtime library from the Intel website and install it.
206 B) Ensure the mpiexec MPI executable binary is available on the command line in the terminal.
207 I) On Windows systems, you may have difficulty finding mpiexec in Windows terminals.
208 For this reason, Intel provides its dedicated Intel OneAPI command-prompt
209 on Windows which has all environmental paths predefined within the shell.
210 This Batch terminal may not ship with MPI runtime library installations.
211 If so, you can directly run the Intel Windows `vars.bat` Batch script within a
212 compatible Windows shell to define all environmental variables for MPI-parallel simulations.
213 By default, this script is frequently (but not always) stored in one of the following path:
215 "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
216 "C:\Program Files (x86)\Intel\oneAPI\mpi\latest\env\vars.bat"
218 II) On Linux systems, you can also directly run the Intel `vars.sh` Bash script within a
219 compatible terminal to define all necessary environmental variables for MPI-parallel simulations.
220 By default, this script is frequently (but not always) stored in the following installation path:
222 "/opt/intel/oneapi/mpi/latest/env/vars.sh"
224 2) MPICH MPI runtime library (available only for Linux and macOS/Darwin)
226 This can be downloaded and installed via a package manager.
227 On Linux Ubuntu systems, you can use the shell installation command:
229 sudo apt install mpich
231 On macOS/Darwin systems, you can use the Homebrew application to install MPICH:
233 brew install mpich && brew link mpich
235 If you do not have Homebrew installed on your system, you can do so by
236 typing the following command in your (Bash/zsh) shell terminal:
238 /bin/bash -c "$(curl -fsSL https:
240 3) OpenMPI runtime library (available only for Linux and macOS/Darwin)
242 This can be downloaded and installed via a package manager.
243 On Linux Ubuntu systems, you can use the shell installation command:
245 sudo apt install openmpi-bin openmpi-common libopenmpi-dev
247 On macOS/Darwin systems, you can use the Homebrew application to install OpenMPI:
249 brew install openmpi && brew link openmpi
251 If you do not have Homebrew installed on your system, you can do so by
252 typing the following command in your (Bash/zsh) shell terminal:
254 /bin/bash -c "$(curl -fsSL https:
256For more information on running MPI-parallel simulations, visit:
258 <a href = "www.cdslab.org/pm">www.cdslab.org/pm</a>
function version(in silent)
Return a scalar MATLAB string containing the latest available ParaMonte MATLAB version newer than the...
function parallel()
Return a scalar MATLAB logical that is true if and only if the current installation of MATLAB contain...
function which(in vendor)
Return the a MATLAB string containing the path to the first mpiexec executable binary found in system...