Changeset 1216 for trunk/LMDZ.GENERIC/makegcm_pgf90
- Timestamp:
- Apr 3, 2014, 9:09:47 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/makegcm_pgf90
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 … … 271 272 latitudes and vertical layers respectively. 272 273 273 -t ntrac Selects the number of tracers present in the model274 275 Options -d and -t overwrite file276 $LMDGCM/libf/grid/dimensions.h277 which contains the 3 dimensions of the278 horizontal grid279 im, jm, lm plus the number of tracers passively advected280 by the dynamics ntrac,281 in 4 PARAMETER FORTRAN format282 with a new file:283 $LMDGCM/libf/grid/dimension/dimensions.im.jm.lm.tntrac284 If the file does not exist already285 it is created by the script286 $LMDGCM/libf/grid/dimension/makdim287 288 274 -s nscat Number of radiatively active scatterers 289 275 … … 329 315 there is no need to specify -Ldirn. 330 316 317 -full Full (re)compilation (from scratch) 318 331 319 eod 332 320 exit … … 365 353 case -olddyn 366 354 set dyntype="olddyn" ; shift; goto top 355 356 case -full 357 set full="full" ; shift ; goto top 367 358 368 359 case -filtre … … 529 520 # Build the appropriate 'dimensions.h' file 530 521 cd dimension 531 ./makdim $ ntrac $dim522 ./makdim $dim 532 523 # echo contents of dimensions.h to standard output 533 524 cat $libf/grid/dimensions.h … … 561 552 echo dimension $dimension dim $dim 562 553 if ( $dimension == 1 ) then 563 echo pas de dynamique 564 set dyn="L_DYN= DYN= L_FILTRE= " 554 echo "No dynamics" 555 ## set dyn="L_DYN= DYN= L_FILTRE= " 556 ## NB: we still need to have L_DYN=libdyn3d to reach routines and module 557 ## objects which are located in dyn3d 558 set dyn="L_DYN=-ldyn3d DYN= L_FILTRE= DIRMAIN=phy$physique " 565 559 endif 566 560 endif … … 590 584 591 585 echo "dimc $dimc" 586 587 #cleanup for a full recompilation, if requested 588 if ("$full" == "full") then 589 # remove makefile and $libo 590 cd $model 591 \rm -f makefile 592 \rm -rf $libo/* 593 endif 592 594 593 595 ########################################################################
Note: See TracChangeset
for help on using the changeset viewer.