Changeset 1185 for LMDZ4


Ignore:
Timestamp:
Jun 17, 2009, 3:25:18 PM (15 years ago)
Author:
Ehouarn Millour
Message:

Reinstate pgf90 compiler and options in makegcm (was lost with revision 1176).
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4-dev/makegcm

    r1176 r1185  
    11#!/bin/csh
    22#
    3 # $Header$
     3# $Id$
    44#
    55#set verbose echo
     
    2929set FC_LINUX=g95
    3030#set FC_LINUX=pgf90
     31if ( FC_LINUX == g95 ) then
     32   set OPT_LINUX="-i4 -r8 -O3"
     33else
     34   # pgf90 options
     35   set OPT_LINUX="-i4 -r8 -O2 -Munroll -Mnoframe -Mautoinline -Mcache_align"
     36endif
    3137
    3238########################################################################
     
    255261else if $LINUX then
    256262#################
    257    if ( $FC_LINUX == "pgf90" ) then
    258      set optim="-fast "
    259      set optim90=" -fast "
    260      set optimtru90=" -fast -c -Mfree "
    261 #     set optim=" "
    262 #     set optim90="  "
    263 #     set optimtru90=" -c -Mfree "
    264    else if ( $FC_LINUX == 'g95' ) then
     263   if ( $FC_LINUX == pgf90 || $FC_LINUX == g95 ) then
    265264     set optim=" $OPT_LINUX "
    266265     set optim90=" $OPT_LINUX "
Note: See TracChangeset for help on using the changeset viewer.