| 177 | |
| 178 | |
| 179 | == OMP trunk Orchidee rev 1078 + lmdz 1628 == |
| 180 | * correction : initialisation des variables lors de l'allocation dans sechiba.f90 |
| 181 | {{{ |
| 182 | Ex : |
| 183 | |
| 184 | ALLOCATE (vbeta4(kjpindex),stat=ier) |
| 185 | IF (ier.NE.0) THEN |
| 186 | WRITE (numout,*) ' error in vbeta4 allocation. We stop. We need kjpindex words = ',kjpindex |
| 187 | STOP 'sechiba_init' |
| 188 | END IF |
| 189 | + vbeta4(:) = undef_sechiba |
| 190 | |
| 191 | }}} |
| 192 | |
| 193 | === Compilation Debug === |
| 194 | {{{ |
| 195 | F_O = -DCPP_PARA -DCPP_OMP -p -g -traceback -fp-stack-check -ftrapuv -check bounds $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR) |
| 196 | }}} |
| 197 | |
| 198 | 1 an 32 MPI x 4OMP = 32 MPI x 1 OMP = 24 MPI x 2 OMP |
| 199 | |
| 200 | === Compilation -O0 === |
| 201 | {{{ |
| 202 | F_O = -DCPP_PARA -DCPP_OMP -O0 $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR) -fp-model precise |
| 203 | }}} |
| 204 | |
| 205 | 1 an 32 MPI x 2 OMP = 32 MPI x 1 OMP |
| 206 | |
| 207 | === Compilation -O1 === |