Download
titan cross compile n.
Skip this Video
Loading SlideShow in 5 Seconds..
Titan Cross Compile PowerPoint Presentation
Download Presentation
Titan Cross Compile

Titan Cross Compile

224 Views Download Presentation
Download Presentation

Titan Cross Compile

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Titan Cross Compile Adam Simpson OLCF User Support

  2. Titan node structure - connectivity Internet SSH External Login Service Nodes qsub aprun Compute Nodes

  3. Titan node structure - processor • External Login • 4 x 8 core AMDMagny-Cours • Service Nodes • 6 core AMDIstanbul • Compute Nodes • 16 core AMDInterlagos

  4. Cray Compile Wrapper • CC, cc, ftn • Controlled by xt-asyncpemodule • Sets compiler based on PrgEnv-* module • Same command for PGI, GNU, Cray, Intel • Sets optimizations and target processor/arch. • Adds libraries based on loaded Cray modules • Networking/Communication libraries(MPI, GNI, PMI, etc.) • Science Libraries(CUDA, LibSci, NetCDF, ...) • ALPS libraries

  5. Compile for login/service nodes • Don’t run wrapper compiled code on non compute nodes • Illegal instruction • Interlagos has AVX/SSE4 instructions • Missing shared libraries • Error while loading shared libraries: libalpslli.so.0

  6. Compile for login/service nodes • module load craype-target-local_host • Compile for external login / service node* • Doesn’t add Cray specific libraries • Doesn’t work as advertised • module load craype-target-native • Target node common instruction set • Doesn’t add any module related libraries • No MPI, LibSci, CUDA, etc. • Bypass wrappers • pgcc, pgCC, pgfortran:gcc, g++, gfortran • craycc, crayc++, crayftn:icc, icpc, ifort

  7. Compile for login/service nodes • If Cray libraries required on external logins • module switch craype-interlagoscraype-mc8 • If Cray libraries required on service nodes • module switch craype-interlagoscraype-istanbul

  8. CLE 5.2 Changes • xt-asyncpe: deprecated • renamed craype • craype-target-*: deprecated • craype-interlagos • craype-istanbul • craype-mc8 • craype-network-gemini • craype-network-none