Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revisionBoth sides next revision | ||
abstract:caviness:app_dev:prog_env [2018-07-09 16:43] – external edit 127.0.0.1 | abstract:caviness:app_dev:prog_env [2019-09-09 22:35] – [Compiling parallel programs that use MPI] anita | ||
---|---|---|---|
Line 20: | Line 20: | ||
===== Compiling code ===== | ===== Compiling code ===== | ||
<note important> | <note important> | ||
- | Fortran, C and C++ programs can only be compiled on the login node. Java and Matlab | + | Fortran, C, C++, Java and Matlab programs |
</ | </ | ||
Line 128: | Line 128: | ||
<code bash> | <code bash> | ||
- | vpkg_reguire | + | vpkg_require |
mpif90 -fpic fdriver.f90 -o driver | mpif90 -fpic fdriver.f90 -o driver | ||
</ | </ | ||
Line 134: | Line 134: | ||
== C example: == | == C example: == | ||
<code bash> | <code bash> | ||
- | vpkg_reguire | + | vpkg_require |
mpicc -fpic cdriver.c -o driver | mpicc -fpic cdriver.c -o driver | ||
</ | </ |