Changeset 10 for LMDZ.3.3


Ignore:
Timestamp:
Jan 6, 2000, 11:53:39 AM (25 years ago)
Author:
lmdz
Message:

Rajout de la compialtion sur Nec LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ.3.3/trunk/makegcm

    r2 r10  
    8181   set machine=CRAY
    8282   set CRAY=1
    83 else if ( `hostname` == rhodes ) then
     83else if ( `uname` == SUPER-UX ) then
    8484   set machine=NEC
    8585   set NEC=1
     
    144144   set optimbis=" "
    145145else if $VPP then
    146    set optim=" -Ad -Of -Wv,-Of,-ilfunc"
    147    set optimbis=" -Psia -Aa -Wv,-m3 -Wp,-DVPP,-DNC_DOUBLE -Z $LMDGCM/listage"
    148146   set optim=" -Of -Wv,-Of,-ilfunc"
    149147   set optimbis=" -Psia -Aa -Wv,-m3 -Wp,-DVPP -Z $LMDGCM/listage"
     
    163161   set mod_suffix=mod
    164162else if $NEC then
    165 set optim90=' -C hopt -float0 -ew -R4 -L nostdout -Wf,"-pvctlfullmsg noassume loopcnt=150000 -L transform"'
    166163   set optim90=' -C hopt -float0 -ew -R4 -L nostdout '
     164   set optim90=' -C hopt -float0 -eabw -P static -R5 -ftrace -pi auto line=500 -Wf,-O,extendreorder,-pvctl,fullmsg,vchg,noverrchk,assume,loopcnt=300000,vwork=stack,-L,summary,transform'
    167165   set optim="$optim90"
    168    set opt_link="-L/u/rech/ces/rces011/ioipsl"
     166   set opt_link=" -L$IOIPSLDIR -lioipsl  -L$NCDFLIB -lnetcdf "
     167   set opt_link=" -V -float0 -ew  -P static -Wl,-Z,4800000,-h,lib_cyclic -L$IOIPSLDIR -lioipsl  -L$NCDFLIB -lnetcdf "
    169168   set optimbis=" "
    170    set mod_loc_dir=" "
    171    set mod_suffix=" "
     169   set mod_loc_dir="."
     170   set mod_suffix="mod"
    172171else
    173172   set optim=""
     
    560559   set f90=f90
    561560else if $NEC then
    562    set f77=sxf90
    563    set f90=sxf90
     561   set f77=f90
     562   set f90=f90
    564563else
    565564   set f77=f77
     
    582581
    583582
    584 
    585 set link="$f90 $optim90"
    586 
    587 if $NEC then
    588   set link="sxld $opt_link"
    589   set ar=sxar
    590 endif
    591583
    592584#
     
    623615     exit                       
    624616   endif
    625    set optim=" -Ad -Wv,-Of,-ilfunc"
    626    set optimbis=" -Psia -Aa -Wv,-m3 -Wp,-DVPP,-DNC_DOUBLE -Z $LMDGCM/listage"
     617   set optim=" -Wv,-Of,-ilfunc"
     618   set optimbis=" -Psia -Aa -Wv,-m3 -Wp,-DVPP -Z $LMDGCM/listage"
    627619   set optim90="$optim""$optimbis"" -X9 -w"
    628620   set opt_link="-L$IOIPSLDIR -lioipsl -L$NCDFLIB -lnetcdf"
     
    642634 set optim="$optim90"
    643635 \cp $IOIPSLDIR/*.mod $libo
     636else if $NEC then
     637 set optim90=" $optim90 -I$libo "
    644638else if $LINUX then
    645639 set optim90=" -fast -module $libo "
     
    647641 \cp $IOIPSLDIR/*.mod $libo
    648642endif
     643
     644set link="$f90 $optim90"
     645
     646#if $NEC then
     647#  set link="sxld $opt_link"
     648#  set ar=sxar
     649#endif
     650
    649651
    650652cd $localdir
Note: See TracChangeset for help on using the changeset viewer.