Changes between Version 7 and Version 8 of Documentation/UserGuide/OrchideeVampir


Ignore:
Timestamp:
2020-03-19T16:22:40+01:00 (4 years ago)
Author:
luyssaert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/OrchideeVampir

    v7 v8  
    1 = How to run ORCHIDEE with Vampir (at Curie) = 
    2  
    31[[PageOutline]] 
    42 
    5 Vampir is a profiling software. It can help you to visualize the performances of your code and to find what can be optimized on your code. (see [http://www.vampir.eu/] for more information)  
     3= Profiling with Vampir =  
    64 
     5== Objective == 
     6Background of this item: Vampir is a type of tool called a profiler. It was available on Curie and it has been successfully used to analyze single processor jobs. Profiling allows you to learn where your program spent its time and which functions called which other functions while it was executing. This information can show you which pieces of your program are slower than you expected and might be candidates for rewriting to make your program execute faster.   
    77 
    8 == Global == 
     8== Vampir on Curie ==  
     9Authors: D. Solyga [[BR]]  
     10Last revision: D. Solyga (2013/06/18) [[BR]] 
    911 
    1012Before using Vampir, you have to load it by module command : 
     
    9799}}} 
    98100  
    99  7. Vampir is intuitive, play with the different option. Look at the official website if needed [http://www.vampir.eu/tutorial/manual]. 
     101 7. Vampir is intuitive, play with the different options. Look at the official website if needed [http://www.vampir.eu/tutorial/manual]. 
    100102 
    101 == Isolate a part of the code == 
     103=== Isolate part of the code === 
    102104 
    103105If you suspect some part of your code to be time-consuming, you can isolate it with Vampirtrace. In your code, add the instructions : 
     
    111113 
    112114}}} 
    113 You have to give name to each part of code you isolated see [wiki:ParallelismPerformances#INVESTIGATIONONINPUTPROBLEMSOctober2012] for an example. 
     115You have to give a name to each part of code you isolated see [wiki:ParallelismPerformances#INVESTIGATIONONINPUTPROBLEMSOctober2012] for an example. 
    114116Then reinstall your makefiles by using the following AA_make.gdef : 
    115117 
     
    151153 
    152154'''NB (03/12/2012) :''' This test was done on Curie before the last two maintenance on Curie performed on october/november 2012. [[BR]] 
    153 The large nodes are replaced now by xlarge nodes (I haven't try yet). 
    154 If you download modipsl now, the option -xHost has disappeared because it could give wrong results if the code is launched on thin nodes. [[BR]]  
    155 The compilation  option xHost was used because the code was compiled on large nodes and launched on the large nodes (the code is better optimized, TGGC personal communication).  
     155The large nodes are replaced now by xlarge nodes (I haven't try yet). If you download modipsl now, the option -xHost has disappeared because it could give wrong results if the code is launched on thin nodes. The compilation option xHost was used because the code was compiled on large nodes and launched on the large nodes (the code is better optimized, TGGC personal communication).  
    156156Try the following script (large is replaced by xlarge) : 
    157157{{{ 
     
    181181}}} 
    182182 
    183 == Some trick to do it with LMDZ on Curie ==  
     183=== Some trick to do it with LMDZ on Curie ===  
    184184 * You need to use vampirtrace_5.14.3 
    185185{{{