Running User Programs on Service Nodes [3]

To compile a program that you want to run on a login or other service node, call the compiler directly.

These compilers will find the appropriate header files and libraries in their normal Linux locations.

For example, to run program my_utility on a service node, first compile the program:

% module load pgi
% pgCC -o my_utility my_utility.C

Then run my_utility:

% my_utility
In main(0)
In functionx(0)
Back in main()