Jun 10, 2016

openarc build

Reading Links

Writing Compilers:

        http://compilers.iecc.com/crenshaw/

LLVM
       http://adriansampson.net/blog/llvm.html




Notes to Self

new commands:
      module spider

Target systems include titan

https://portal.tacc.utexas.edu/user-guides/stampede


Build environment

* module load cuda/7.0 llvm/3.3 jdk32
*  export OPENARC_ARCH=0

export LD_LIBRARY_PATH=/opt/apps/intel/opencl/lib64:$LD_LIBRARY_PATH

Compilation

* Use the nvcc compiler on the login node to compile code, 
* Execute the compiler command with the "-lOpenCL
prepend the "/opt/apps/intel/opencl/lib64

*  Intel OpenCL Drivers and runtimes are supported at TACC for all installed Intel compilers.
set OMP_NUM_THREADS and$MIC_OMP_NUM_THREADS ?? How many
export OMP_NUM_THREADS=16
export OPENARCRT_VERBOSITY=0  (Le)

Running VIs
  $ [openarc-path]/bin/openarc [options] [C files]
Available OpenARC commandline options can be found either in [openarc-path]/test/openarcConf.sample or by running the following command:
  $ [openarc-path]/bin/openarc -dump-options





To run an OpenGL/X application from a VNC desktop command prompt:
  c442-0011$ vglrun [vglrun options] application application-args

Followers