User Manual
HPC FeaturesRev 2.1-1.0.6
Mellanox Technologies
124
5.5.2.2 Controlling FCA Offload in ScalableUPC using Environment Variables
To enable FCA module under ScalableUPC:
To set FCA verbose level:
To set the minimal number of processes threshold to activate FCA:
5.5.3 Various Executable Examples
The following are various executable examples.
To run a ScalableUPC application without FCA support:
To run UPC applications with FCA enabled for any number of processes:
To run UPC application on 128 processes, verbose mode:
To run UPC application, offload to FCA Barrier and Broadcast only:
% export GASNET_FCA_ENABLE_CMD_LINE=1
% export GASNET_FCA_VERBOSE_CMD_LINE=10
% export GASNET_FCA_NP_CMD_LINE=1
ScalableUPC contains modules configuration file (http://modules.sf.net) which can be
found at /opt/mellanox/bupc/2.2/etc/bupc_modulefile.
% upcrun -np 128 -fca_enable 0 <executable filename>
% export GASNET_FCA_ENABLE_CMD_LINE=1 GASNET_FCA_NP_CMD_LINE=0
% upcrun -np 64 <executable filename>
% upcrun -np 128 -fca_enable 1 -fca_np 10 -fca_verbose 5 <executable filename>
% upcrun -np 128 -fca_ops +barrier,bt <executable filename>