| 103 | |
| 104 | |
| 105 | == INVESTIGATION ON INPUT PROBLEMS (October 2012) == |
| 106 | |
| 107 | * After some tests, I found the line which causes the problem : |
| 108 | {{{ |
| 109 | iret = NF90_GET_VAR (fid,vid,vec_tmp,start=(/ 1 /),count=(/ ttm /)) |
| 110 | }}} |
| 111 | I put some VAMPIR marks before and after the line like this (I replace the original memory allocation for vec_tmp by a local array vec_tmp_ttm) : |
| 112 | |
| 113 | {{{ |
| 114 | VT_USER_START('NF90_GET_VAR') |
| 115 | iret = NF90_GET_VAR (fid,vid,vec_tmp_ttm,start=(/ 1 /),count=(/ ttm /)) |
| 116 | VT_USER_END('NF90_GET_VAR') |
| 117 | }}} |
| 118 | and I obtain the following figure : |
| 119 | [[Image(http://dods.ipsl.jussieu.fr/orchidee/WIKI/VAMPIR_RESULTS_PATCH/BUG_FLINCOM_NF90_GET_VAR.png,70%)]] |
| 120 | |
| 121 | |
| 122 | When I replace this netcdf instruction by an array initialization for ncc forcing : |
| 123 | |
| 124 | {{{ |
| 125 | vec_tmp_ttm = (/ (iv, iv = 1,1461) /) |
| 126 | }}} |
| 127 | I obtain the following results : |
| 128 | [[Image(http://dods.ipsl.jussieu.fr/orchidee/WIKI/VAMPIR_RESULTS_PATCH/MODIF_FLINCOM_GET_VAR_16PROCS.png,70%)]] |
| 129 | The time used is divided by 3 ! |
| 130 | |
| 131 | === '''QUESTIONS : ''' === |
| 132 | |
| 133 | * Problem from netcdf library ? By default, I was using 3.6.3. Should test another nectdf version.(To be done) |
| 134 | * Problem from disk on Curie ? Try a run on Obelix by using the instruction CALL cpu_time (Vampir cannot be used on Obelix).(To be done) |
| 135 | |
| 136 | |