This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:coarrayfortran [2017/04/12 23:58] ccrosby |
howto:coarrayfortran [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Co-array Fortran allows the programmer to develop distributed memory parallel Fortran programs without having to use MPI explicitly. | Co-array Fortran allows the programmer to develop distributed memory parallel Fortran programs without having to use MPI explicitly. | ||
| - | **OpenCoarrays-1.8.4** has been installed in ''/ | + | **OpenCoarrays-1.8.4** has been installed in ''/ |
| < | < | ||
| module add chpc/ | module add chpc/ | ||
| </ | </ | ||
| - | to your scripts will set up the appropriate paths to OpenCoarrays. | + | to your scripts will set up the appropriate paths to OpenCoarrays-1.8.4. |
| + | |||
| + | |||
| + | **OpenCoarrays-2.3.1** has been installed in ''/ | ||
| + | < | ||
| + | module add chpc/ | ||
| + | </ | ||
| + | to your scripts will set up the appropriate paths to OpenCoarrays-2.3.1. | ||
| + | |||
| + | **OpenCoarrays-2.9.2** has been installed in ''/ | ||
| + | < | ||
| + | module add chpc/ | ||
| + | </ | ||
| + | to your scripts will set up the appropriate paths to OpenCoarrays-2.3.1. | ||
| Co-array programs are compiled using the '' | Co-array programs are compiled using the '' | ||
| Line 17: | Line 31: | ||
| </ | </ | ||
| - | For what it's worth, mpich is aware of PBS, and will by default not only allocate images (Co-array speak for MPI's ranks) to the total number of MPI processes requested by qsub, but will also by default distribute them according | + | For what it's worth, mpich is aware of PBS, and will by default not only allocate images (Co-array speak for MPI's ranks) to the total number of MPI processes requested by qsub, but will also by default distribute them according |
| < | < | ||
| Line 23: | Line 37: | ||
| cafrun -iface ib0 ./hello | cafrun -iface ib0 ./hello | ||
| </ | </ | ||
| + | |||
| + | Please note that this will not necessarily work when using less than the full number of cores per node. It is probably good practice to explicitly state the number of images and to provide a machinefile. | ||
| + | |||