Sep 20, 2012

notes


Paper : Refactoring and Automated Performance Tuning on Computational Chemistry Application Codes

ROSE Outliner

Based on rose compiler Infrastructure
Source to source compiler framework
Enables building program transformation and analysis tools for C++ Fortran Open MPC & UPC applications
Robust for c and c++
ROSE - common oo open source IR(Intermediate Representation) for multiple languages
IR- contains AST(abstract syntax tree), symbol tables, control flow graph
Outliner - bridge between whole applications and existing empirical tuning methods and tools suitable for handling kernals.


GAMESS

MPQC

CODAASH 

Super Autotuning Framework

1- Use performance analysis tools to identify regions in application code that are performance bottlenecks.
   
2- Identified performance critical region is outlined into a seperate routine.

3- A compiler based approach is used to rewrite the routine to efficiently manipulate registers, cache, SIMD computer engines & multi cores.

4- Search engine finds the optimum implementation for the underlying OS.



Jun 15, 2012

C++




  • C++ programs should be called name.cpp, where name is replaced with the name of your program. (or name.cc)
  • Single programs have many  individual .cpp files.


  • C++ compiler takes the source code as input and produce a machine language object file as output.  (name.o or name.obj)
  •  5 cpp files -- >> 5 obj files
  • Linux and Mac OS X systems come with a C++ compiler called g++
  • In some OS environments a makefile, which is a file that tells the compiler which files to compile.  


  • Linker takes all the object files for a program and combine them into a single executable.             e.g: g++ -o prog file1.o file2.o file3.o



  • Free IDE s : Microsoft’s Visual C++ 2005 Express Edition, and Code::Blocks. 
  • On a windows machine we can use a free ms 2010 Visual C++ 
  • Also Eclipse...
   
  • Eg Program :
#include
int main()
{
    using namespace std;
    cout << "Hello world!" << endl;
    return 0;
}


May 28, 2012

Day4 : MVC Architecture


How to create the folder structure of the project (j2ee) :





mvc tutorial link

Followers