Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
abstract:mills:app_dev:prog_env [2018-05-23 10:44] – created anita | abstract:mills:app_dev:prog_env [2019-09-09 22:39] (current) – [Compiling parallel programs that use MPI] anita | ||
---|---|---|---|
Line 48: | Line 48: | ||
| ::: | pgcc | C | .c | | | ::: | pgcc | C | .c | | ||
^ Open64 ^ VALET command ^ Reference manuals ^ User guides ^ | ^ Open64 ^ VALET command ^ Reference manuals ^ User guides ^ | ||
- | ^ ::: | **vpkg_require open64** | [[http:// | + | ^ ::: | **vpkg_require open64** | [[https:// |
| ^ Compiler | | ^ Compiler | ||
| ::: | openf95 | F95 | .f, .f95 | | | ::: | openf95 | F95 | .f, .f95 | | ||
Line 96: | Line 96: | ||
==== Compiling parallel programs that use OpenMP ==== | ==== Compiling parallel programs that use OpenMP ==== | ||
- | If your program only uses OpenMP directives, has __no__ message passing, and your target is a single SMP node, you should add the [[http:// | + | If your program only uses OpenMP directives, has __no__ message passing, and your target is a single SMP node, you should add the [[https://www.openmp.org/resources/ |
^ Compiler suite ^ OpenMP compiler flag ^ | ^ Compiler suite ^ OpenMP compiler flag ^ | ||
Line 135: | Line 135: | ||
<code bash> | <code bash> | ||
- | vpkg_reguire | + | vpkg_require |
mpif90 -fpic fdriver.f90 -o driver | mpif90 -fpic fdriver.f90 -o driver | ||
</ | </ | ||
Line 141: | Line 141: | ||
== C example: == | == C example: == | ||
<code bash> | <code bash> | ||
- | vpkg_reguire | + | vpkg_require |
mpicc -fpic cdriver.c -o driver | mpicc -fpic cdriver.c -o driver | ||
</ | </ | ||
Line 163: | Line 163: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | * [[http:// | + | * [[https:// |
* [[http:// | * [[http:// | ||
- | * [[http://acts.nersc.gov/hypre/# | + | * [[https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods|HYPRE]]: High-performance preconditioners for linear system solvers (from LLNL) |
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// |