Changeset 1216 for trunk/LMDZ.GENERIC/makegcm_gfortran
- Timestamp:
- Apr 3, 2014, 9:09:47 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/makegcm_gfortran
r989 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 … … 184 185 set optim90="-O3 -funroll-loops " 185 186 set optimtru90="-O3 -funroll-loops " 186 set opt_link=" -L$NCDFLIB -lnetcdf -lnetcdff"187 set opt_link=" -L$NCDFLIB -lnetcdf " 187 188 188 189 #NB: on gnome -O3 ==> NaNs ... … … 274 275 latitudes and vertical layers respectively. 275 276 276 -t ntrac Selects the number of tracers present in the model277 278 Options -d and -t overwrite file279 $LMDGCM/libf/grid/dimensions.h280 which contains the 3 dimensions of the281 horizontal grid282 im, jm, lm plus the number of tracers passively advected283 by the dynamics ntrac,284 in 4 PARAMETER FORTRAN format285 with a new file:286 $LMDGCM/libf/grid/dimension/dimensions.im.jm.lm.tntrac287 If the file does not exist already288 it is created by the script289 $LMDGCM/libf/grid/dimension/makdim290 291 277 -s nscat Number of radiatively active scatterers 292 278 … … 332 318 there is no need to specify -Ldirn. 333 319 320 -full Full (re)compilation (from scratch) 321 334 322 eod 335 323 exit … … 368 356 case -olddyn 369 357 set dyntype="olddyn" ; shift; goto top 358 359 case -full 360 set full="full" ; shift ; goto top 370 361 371 362 case -filtre … … 532 523 # Build the appropriate 'dimensions.h' file 533 524 cd dimension 534 ./makdim $ ntrac $dim525 ./makdim $dim 535 526 # echo contents of dimensions.h to standard output 536 527 cat $libf/grid/dimensions.h … … 564 555 echo dimension $dimension dim $dim 565 556 if ( $dimension == 1 ) then 566 echo pas de dynamique 567 set dyn="L_DYN= DYN= L_FILTRE= " 557 echo "No dynamics" 558 ## set dyn="L_DYN= DYN= L_FILTRE= " 559 ## NB: we still need to have L_DYN=libdyn3d to reach routines and module 560 ## objects which are located in dyn3d 561 set dyn="L_DYN=-ldyn3d DYN= L_FILTRE= DIRMAIN=phy$physique " 568 562 endif 569 563 endif … … 593 587 594 588 echo "dimc $dimc" 589 590 #cleanup for a full recompilation, if requested 591 if ("$full" == "full") then 592 # remove makefile and $libo 593 cd $model 594 \rm -f makefile 595 \rm -rf $libo/* 596 endif 595 597 596 598 ######################################################################## … … 657 659 set f77="gfortran -ffree-line-length-264" 658 660 set f90="gfortran -ffree-line-length-264" 659 set opt_link=" -L$LIBOGCM -L$NCDFLIB -lnetcdff -lnetcdf " 661 # set opt_link=" -L$LIBOGCM -L$NCDFLIB -lnetcdff -lnetcdf " 662 set opt_link=" -L$LIBOGCM -L$NCDFLIB -lnetcdf " 660 663 else if $SUN then 661 664 set f77=f90
Note: See TracChangeset
for help on using the changeset viewer.