The -fupc-threads-n switch specifies the number of threads to be created. For example, the following command tells the UPC compiler to use a value of 32 for the value of THREADS, when compiling the source file src.upc.
% upc -fupc-threads-32 src.upc
NOTE: The same value of n must be specified for all UPC source files compiled into a given application.
Article is in the following categories:
KB » Usage of GNU UPC
KB » Usage of GNU UPC






How do I specify the value of THREADS (statically) at compile time?
Email This Article