Changes between Version 7 and Version 8 of Documentation/UserGuide/OrchideeVampir
- Timestamp:
- 2020-03-19T16:22:40+01:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/OrchideeVampir
v7 v8 1 = How to run ORCHIDEE with Vampir (at Curie) =2 3 1 [[PageOutline]] 4 2 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 = 6 4 5 == Objective == 6 Background 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. 7 7 8 == Global == 8 == Vampir on Curie == 9 Authors: D. Solyga [[BR]] 10 Last revision: D. Solyga (2013/06/18) [[BR]] 9 11 10 12 Before using Vampir, you have to load it by module command : … … 97 99 }}} 98 100 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]. 100 102 101 == Isolate a part of the code==103 === Isolate part of the code === 102 104 103 105 If you suspect some part of your code to be time-consuming, you can isolate it with Vampirtrace. In your code, add the instructions : … … 111 113 112 114 }}} 113 You have to give name to each part of code you isolated see [wiki:ParallelismPerformances#INVESTIGATIONONINPUTPROBLEMSOctober2012] for an example.115 You have to give a name to each part of code you isolated see [wiki:ParallelismPerformances#INVESTIGATIONONINPUTPROBLEMSOctober2012] for an example. 114 116 Then reinstall your makefiles by using the following AA_make.gdef : 115 117 … … 151 153 152 154 '''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). 155 The 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). 156 156 Try the following script (large is replaced by xlarge) : 157 157 {{{ … … 181 181 }}} 182 182 183 == Some trick to do it with LMDZ on Curie==183 === Some trick to do it with LMDZ on Curie === 184 184 * You need to use vampirtrace_5.14.3 185 185 {{{