Last change
on this file since 3483 was
1632,
checked in by Laurent Fairhead, 12 years ago
|
Import initial du répertoire dyn3dmem
Attention! ceci n'est qu'une version préliminaire du code "basse mémoire":
le code contenu dans ce répertoire est basé sur la r1320 et a donc besoin
d'être mis à jour par rapport à la dynamique parallèle d'aujourd'hui.
Ce code est toutefois mis à disposition pour circonvenir à des problèmes
de mémoire que certaines configurations du modèle pourraient rencontrer.
Dans l'état, il compile et tourne sur vargas et au CCRT
Initial import of dyn3dmem
Warning! this is just a preliminary version of the memory light code:
it is based on r1320 of the code and thus needs to be updated before
it can replace the present dyn3dpar code. It is nevertheless put at your
disposal to circumvent some memory problems some LMDZ configurations may
encounter. In its present state, it will compile and run on vargas and CCRT
|
File size:
778 bytes
|
Line | |
---|
1 | MODULE groupe_mod |
---|
2 | |
---|
3 | REAL,POINTER,SAVE :: zconvm(:,:,:) |
---|
4 | REAL,POINTER,SAVE :: zconvmm(:,:,:) |
---|
5 | |
---|
6 | CONTAINS |
---|
7 | |
---|
8 | SUBROUTINE groupe_allocate |
---|
9 | USE bands |
---|
10 | USE allocate_field |
---|
11 | USE parallel |
---|
12 | USE infotrac |
---|
13 | USE advtrac_mod, ONLY : advtrac_allocate |
---|
14 | IMPLICIT NONE |
---|
15 | INCLUDE "dimensions.h" |
---|
16 | INCLUDE "paramet.h" |
---|
17 | TYPE(distrib),POINTER :: d |
---|
18 | |
---|
19 | d=>distrib_caldyn |
---|
20 | CALL allocate2d_u(zconvm,llm,d) |
---|
21 | CALL allocate2d_u(zconvmm,llm,d) |
---|
22 | |
---|
23 | |
---|
24 | END SUBROUTINE groupe_allocate |
---|
25 | |
---|
26 | SUBROUTINE groupe_switch_caldyn(dist) |
---|
27 | USE allocate_field |
---|
28 | USE bands |
---|
29 | USE parallel |
---|
30 | IMPLICIT NONE |
---|
31 | TYPE(distrib),INTENT(IN) :: dist |
---|
32 | |
---|
33 | CALL switch2d_u(zconvm,distrib_caldyn,dist) |
---|
34 | CALL switch2d_u(zconvmm,distrib_caldyn,dist) |
---|
35 | |
---|
36 | END SUBROUTINE groupe_switch_caldyn |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | END MODULE groupe_mod |
---|
Note: See
TracBrowser
for help on using the repository browser.