Changeset 1216 for trunk/LMDZ.GENERIC/makegcm_g95
- Timestamp:
- Apr 3, 2014, 9:09:47 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/makegcm_g95
r988 r1216 15 15 set bands="32x36" 16 16 set scatterers="1" 17 set full="" 17 18 ######################################################################## 18 19 # path a changer contenant les sources et les objets du modele … … 273 274 latitudes and vertical layers respectively. 274 275 275 -t ntrac Selects the number of tracers present in the model276 277 Options -d and -t overwrite file278 $LMDGCM/libf/grid/dimensions.h279 which contains the 3 dimensions of the280 horizontal grid281 im, jm, lm plus the number of tracers passively advected282 by the dynamics ntrac,283 in 4 PARAMETER FORTRAN format284 with a new file:285 $LMDGCM/libf/grid/dimension/dimensions.im.jm.lm.tntrac286 If the file does not exist already287 it is created by the script288 $LMDGCM/libf/grid/dimension/makdim289 290 276 -s nscat Number of radiatively active scatterers 291 277 … … 331 317 there is no need to specify -Ldirn. 332 318 319 -full Full (re)compilation (from scratch) 320 333 321 eod 334 322 exit … … 367 355 case -olddyn 368 356 set dyntype="olddyn" ; shift; goto top 357 358 case -full 359 set full="full" ; shift ; goto top 369 360 370 361 case -filtre … … 527 518 # Build the appropriate 'dimensions.h' file 528 519 cd dimension 529 ./makdim $ ntrac $dim520 ./makdim $dim 530 521 # echo contents of dimensions.h to standard output 531 522 cat $libf/grid/dimensions.h … … 559 550 echo dimension $dimension dim $dim 560 551 if ( $dimension == 1 ) then 561 echo pas de dynamique 562 set dyn="L_DYN= DYN= L_FILTRE= " 552 echo "No dynamics" 553 ## set dyn="L_DYN= DYN= L_FILTRE= " 554 ## NB: we still need to have L_DYN=libdyn3d to reach routines and module 555 ## objects which are located in dyn3d 556 set dyn="L_DYN=-ldyn3d DYN= L_FILTRE= DIRMAIN=phy$physique " 563 557 endif 564 558 endif … … 588 582 589 583 echo "dimc $dimc" 584 585 #cleanup for a full recompilation, if requested 586 if ("$full" == "full") then 587 # remove makefile and $libo 588 cd $model 589 \rm -f makefile 590 \rm -rf $libo/* 591 endif 590 592 591 593 ########################################################################
Note: See TracChangeset
for help on using the changeset viewer.