abstract:caviness:app_dev:prog_env

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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.1abstract: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 (.m) programs may only be compiled on the compute nodes. **//All resulting executables should only be run on the compute nodes.//**+Fortran, CC++Java and Matlab programs should be compiled on the login node. **//All resulting executables should only be run on the compute nodes.//**
 </note> </note>
  
Line 128: Line 128:
  
 <code bash> <code bash>
-vpkg_reguire openmpi/1.4.4-pgi+vpkg_require openmpi/1.4.4-pgi
 mpif90 -fpic fdriver.f90 -o driver mpif90 -fpic fdriver.f90 -o driver
 </code> </code>
Line 134: Line 134:
 == C example: == == C example: ==
 <code bash> <code bash>
-vpkg_reguire openmpi/1.4.4-pgi+vpkg_require openmpi/1.4.4-pgi
 mpicc -fpic cdriver.c -o driver mpicc -fpic cdriver.c -o driver
 </code> </code>
  • abstract/caviness/app_dev/prog_env.txt
  • Last modified: 2022-08-30 10:16
  • by anita