Changeset 1216 for trunk/LMDZ.GENERIC/makegcm_ifort
- Timestamp:
- Apr 3, 2014, 9:09:47 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/makegcm_ifort
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 … … 279 280 latitudes and vertical layers respectively. 280 281 281 -t ntrac Selects the number of tracers present in the model282 283 Options -d and -t overwrite file284 $LMDGCM/libf/grid/dimensions.h285 which contains the 3 dimensions of the286 horizontal grid287 im, jm, lm plus the number of tracers passively advected288 by the dynamics ntrac,289 in 4 PARAMETER FORTRAN format290 with a new file:291 $LMDGCM/libf/grid/dimension/dimensions.im.jm.lm.tntrac292 If the file does not exist already293 it is created by the script294 $LMDGCM/libf/grid/dimension/makdim295 296 282 -s nscat Number of radiatively active scatterers 297 283 … … 337 323 there is no need to specify -Ldirn. 338 324 325 -full Full (re)compilation (from scratch) 326 339 327 eod 340 328 exit … … 373 361 case -olddyn 374 362 set dyntype="olddyn" ; shift; goto top 363 364 case -full 365 set full="full" ; shift ; goto top 375 366 376 367 case -filtre … … 534 525 # Build the appropriate 'dimensions.h' file 535 526 cd dimension 536 ./makdim $ ntrac $dim527 ./makdim $dim 537 528 # echo contents of dimensions.h to standard output 538 529 cat $libf/grid/dimensions.h … … 566 557 echo dimension $dimension dim $dim 567 558 if ( $dimension == 1 ) then 568 echo pas de dynamique 569 set dyn="L_DYN= DYN= L_FILTRE= " 559 echo "No dynamics" 560 ## set dyn="L_DYN= DYN= L_FILTRE= " 561 ## NB: we still need to have L_DYN=libdyn3d to reach routines and module 562 ## objects which are located in dyn3d 563 set dyn="L_DYN=-ldyn3d DYN= L_FILTRE= DIRMAIN=phy$physique " 570 564 endif 571 565 endif … … 595 589 596 590 echo "dimc $dimc" 591 592 #cleanup for a full recompilation, if requested 593 if ("$full" == "full") then 594 # remove makefile and $libo 595 cd $model 596 \rm -f makefile 597 \rm -rf $libo/* 598 endif 597 599 598 600 ########################################################################
Note: See TracChangeset
for help on using the changeset viewer.