New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 1987 for branches/DEV_r1879_FCM – NEMO

Ignore:
Timestamp:
2010-07-07T16:16:30+02:00 (14 years ago)
Author:
rblod
Message:

Adjustement for fcm

Location:
branches/DEV_r1879_FCM/NEMOGCM
Files:
13 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/DEV_r1879_FCM/NEMOGCM/ARCH/arch-IA64_PLATINE.fcm

    r1973 r1987  
    1 %NCDF_INC            -I/usr/include  
    2 %NCDF_LIB            -L usr/lib -lnetcdf -lnetcdff 
    3 %COMPILER            mpif90 
    4 %LINKER              mpif90 
    5 %AR                  ar 
    6 %MAKE                gmake 
    7 %FPP_FLAGS           -P -traditional  
    8 %FPP_DEF             _NONE_ 
    9 %BASE_FFLAGS         -i4 -r8 -automatic -align all -I/opt/mpi/current/include 
    10 %PROD_FFLAGS         -O3 
    11 %DEV_FFLAGS          -O3 -traceback 
    12 %DEBUG_FFLAGS        -g -traceback 
    13 %MPI_FFLAGS 
    14 %OMP_FFLAGS          -openmp 
    15 %BASE_LD              -r8 -automatic 
    16 %MPI_LD 
    17 %OMP_LD              -openmp 
     1# NCDF_INC    netcdf include file 
     2# NCDF_LIB    netcdf library 
     3# FC          Fortran compiler command 
     4# FCFLAGS     Fortran compiler flags 
     5# FFLAGS      Fortran 77 compiler flags 
     6# LD          linker 
     7# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
     8# AR          assembler 
     9# ARFLAGS     assembler flags 
     10# MK          make 
     11# USER_INC    additional include files for the compiler,  e.g. -I<include dir> 
     12# USER_LIB    additional libraries to pass to the linker, e.g. -l<library> 
     13 
     14 
     15%NCDF_INC        -I/usr/include  
     16%NCDF_LIB        -L usr/lib -lnetcdf -lnetcdff 
     17%FC              mpif90 
     18%FCFLAGS         -i4 -r8 -automatic -align all -I/opt/mpi/current/include 
     19%FFLAGS          %FCFLAGS 
     20%LD              mpif90 
     21%LDFLAGS 
     22%AR              ar 
     23%ARFLAGS         rs 
     24%MK              gmake 
     25%USER_INC 
     26%USER_LIB 
  • branches/DEV_r1879_FCM/NEMOGCM/ARCH/arch-PW6_VARGAS.fcm

    r1985 r1987  
     1# NCDF_INC    netcdf include file 
     2# NCDF_LIB    netcdf library 
     3# FC          Fortran compiler command 
     4# FCFLAGS     Fortran compiler flags 
     5# FFLAGS      Fortran 77 compiler flags 
     6# LD          linker 
     7# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
     8# AR          assembler 
     9# ARFLAGS     assembler flags 
     10# MK          make   
     11# USER_INC    additional include files for the compiler,  e.g. -I<include dir>  
     12# USER_LIB    additional libraries to pass to the linker, e.g. -l<library> 
     13 
     14 
    115%NCDF_INC            -I/usr/local/pub/NetCDF/3.6.2/include 
    216%NCDF_LIB            -L /usr/local/pub/NetCDF/3.6.2/lib -lnetcdf 
    317%FC                  mpxlf90_r 
     18%FCFLAGS             -qfree=f90 -O3 -qsave -qrealsize=8 -qextname -qsource -q64 -qlargepage -qmaxmem=-1  
     19%FFLAGS              -qfixed -O3 -qsave -qrealsize=8 -qextname -qsource -q64 -qlargepage -qmaxmem=-1  
    420%LD                  mpxlf90_r 
     21%LDFLAGS     
    522%AR                  ar 
    6 %M_K                 gmake 
    7 %FPP_FLAGS           -P 
    8 %FFLAGS              -O3 -qsave -qrealsize=8 -qsuffix=f=f90 -qsuffix=cpp=F90 -qextname -qsource -q64 -qlargepage -qmaxmem=-1 %NCDF_INC %USER_INC 
    9 %MPI_FFLAGS          -I/usr/lpp/ppe.poe/include/thread64 
    10 %OMP_FFLAGS           
     23%ARFLAGS             -rs 
     24%MK                  gmake  
    1125%USER_INC 
     26%USER_LIB 
  • branches/DEV_r1879_FCM/NEMOGCM/ARCH/arch-SX8_BRODIE.fcm

    r1985 r1987  
     1# NCDF_INC    netcdf include file 
     2# NCDF_LIB    netcdf library 
     3# FC          Fortran compiler command 
     4# FCFLAGS     Fortran compiler flags 
     5# FFLAGS      Fortran 77 compiler flags 
     6# LD          linker 
     7# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
     8# AR          assembler 
     9# ARFLAGS     assembler flags 
     10# MK          make 
     11# USER_INC    additional include files for the compiler,  e.g. -I<include dir> 
     12# USER_LIB    additional libraries to pass to the linker, e.g. -l<library> 
     13 
     14 
    115%NCDF_INC           -I/SXlocal/pub/netCDF/netCDF-3.6.1/include 
    216%NCDF_LIB           -L/SXlocal/pub/netCDF/netCDF-3.6.1/lib -lnetcdf 
    317%FC                 sxmpif90 
     18%FCFLAGS            -f2003 nocbind -dW -Wf,"-A idbl4",-ptr byte -sx8 -C vopt -Wf"-init stack=nan" -Wl"-f nan" -Wf"-P nh -O overlap" -Wf,-pvctl noassume loopcnt=10000  -Wf"-init heap=zero" 
     19%FFLAGS             %FCFLAGS 
    420%LD                 sxmpif90 
     21%LDFLAGS 
    522%AR                 sxar 
    623%ARFLAGS            -rs  
    7 %M_K                make 
    8 %FPP_FLAGS          -P -traditional  
    9 %FFLAGS             -f2003 nocbind -dW -Wf,"-A idbl4",-ptr byte -sx8 -C vopt -Wf"-init stack=nan" -Wl"-f nan" -Wf"-P nh -O overlap" -Wf,-pvctl noassume loopcnt=10000 %NCDF_INC %USER_INC 
     24%MK                 sxgmake 
    1025%USER_INC 
     26%USER_LIB 
  • branches/DEV_r1879_FCM/NEMOGCM/ARCH/arch-SX8_MERCURE.fcm

    r1973 r1987  
    1 %NCDF_INC            -I/usr/local/SX8/soft/netcdf/include 
    2 %NCDF_LIB            -L/usr/local/SX8/soft/netcdf/lib -lnetcdf 
    3 %COMPILER            sxmpif90 
    4 %LINKER              sxmpif90 
    5 %AR                  sxar 
    6 %MAKE                make 
    7 %FPP_FLAGS           -P -traditional  
    8 %FPP_DEF             _NONE_ 
    9 %BASE_FFLAGS         -f2003 nocbind -P stack -Wf,-pvctl res=whole,-A idbl4,-ptr byte -EP -R5 -float0 -size_t64 -dw -Wf,"-pvctl loopcnt=999999 fullmsg noassume" 
    10 %PROD_FFLAGS         -C vopt 
    11 %DEV_FFLAGS          -C vsafe -gv -Wf,-init stack=nan,-init heap=nan 
    12 %DEBUG_FFLAGS        -C debug -eC -Wf,-init stack=nan,-init heap=nan 
    13 %MPI_FFLAGS 
    14 %OMP_FFLAGS          -P openmp  
    15 %BASE_LD             -size_t64 
    16 %MPI_LD 
    17 %OMP_LD              -P openmp 
     1# NCDF_INC    netcdf include file 
     2# NCDF_LIB    netcdf library 
     3# FC          Fortran compiler command 
     4# FCFLAGS     Fortran compiler flags 
     5# FFLAGS      Fortran 77 compiler flags 
     6# LD          linker 
     7# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
     8# AR          assembler 
     9# ARFLAGS     assembler flags 
     10# MK          make 
     11# USER_INC    additional include files for the compiler,  e.g. -I<include dir> 
     12# USER_LIB    additional libraries to pass to the linker, e.g. -l<library> 
     13 
     14 
     15%NCDF_INC        -I/usr/local/SX8/soft/netcdf/include 
     16%NCDF_LIB        -L/usr/local/SX8/soft/netcdf/lib -lnetcdf 
     17%FC              sxmpif90 
     18%FCFLAGS         -f2003 nocbind -P stack -dW -Wf,-pvctl res=whole,-A idbl4,-ptr byte -EP -R5 -float0 -size_t64 -dw -Wf,"-pvctl loopcnt=999999 fullmsg noassume"  -Wf"-init heap=zero" 
     19%FFLAGS          %FCFLAGS 
     20%LD              sxmpif90 
     21%LDFLAGS 
     22%AR              sxar 
     23%ARFLAGS         -rs 
     24%MK              gmake 
     25%USER_INC 
     26%USER_LIB 
     27 
  • branches/DEV_r1879_FCM/NEMOGCM/ARCH/arch-SX9_MERCURE.fcm

    r1973 r1987  
    1 %NCDF_INC            -I/ccc/applications/sx9/netcdf-3.6.1/include 
    2 %NCDF_LIB            -L/ccc/applications/sx9/netcdf-3.6.1/lib -lnetcdf 
    3 %COMPILER            sxmpif90 
    4 %LINKER              sxmpif90 
    5 %AR                  sxar 
    6 %MAKE                make 
    7 %FPP_FLAGS           -P -traditional  
    8 %FPP_DEF             _NONE_ 
    9 %BASE_FFLAGS         -f2003 nocbind -P stack -Wf,-pvctl res=whole,-A idbl4,-ptr byte -EP -R5 -float0 -size_t64 -dw -Wf,"-pvctl loopcnt=999999 fullmsg noassume" 
    10 %PROD_FFLAGS         -C vopt 
    11 %DEV_FFLAGS          -C vsafe -gv -Wf,-init stack=nan,-init heap=nan 
    12 %DEBUG_FFLAGS        -C debug -eC -Wf,-init stack=nan,-init heap=nan 
    13 %MPI_FFLAGS 
    14 %OMP_FFLAGS          -P openmp  
    15 %BASE_LD             -size_t64 
    16 %MPI_LD 
    17 %OMP_LD              -P openmp 
     1# NCDF_INC    netcdf include file 
     2# NCDF_LIB    netcdf library 
     3# FC          Fortran compiler command 
     4# FCFLAGS     Fortran compiler flags 
     5# FFLAGS      Fortran 77 compiler flags 
     6# LD          linker 
     7# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
     8# AR          assembler 
     9# ARFLAGS     assembler flags 
     10# MK          make 
     11# USER_INC    additional include files for the compiler,  e.g. -I<include dir> 
     12# USER_LIB    additional libraries to pass to the linker, e.g. -l<library> 
     13 
     14 
     15%NCDF_INC        -I/usr/local/SX8/soft/netcdf/include 
     16%NCDF_LIB        -L/usr/local/SX8/soft/netcdf/lib -lnetcdf 
     17%FC              sxmpif90 
     18%FCFLAGS         -f2003 nocbind -P stack -dW -Wf,-pvctl res=whole,-A idbl4,-ptr byte -EP -R5 -float0 -size_t64 -dw -Wf,"-pvctl loopcnt=999999 fullmsg noassume"  -Wf"-init heap=zero" 
     19%FFLAGS          %FCFLAGS 
     20%LD              sxmpif90 
     21%LDFLAGS 
     22%AR              sxar 
     23%ARFLAGS         -rs 
     24%MK              gmake 
     25%USER_INC 
     26%USER_LIB 
     27 
  • branches/DEV_r1879_FCM/NEMOGCM/ARCH/arch-X64_TITANE.fcm

    r1973 r1987  
     1# NCDF_INC    netcdf include file 
     2# NCDF_LIB    netcdf library 
     3# FC          Fortran compiler command 
     4# FCFLAGS     Fortran compiler flags 
     5# FFLAGS      Fortran 77 compiler flags 
     6# LD          linker 
     7# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
     8# AR          assembler 
     9# ARFLAGS     assembler flags 
     10# MK          make 
     11# USER_INC    additional include files for the compiler,  e.g. -I<include dir> 
     12# USER_LIB    additional libraries to pass to the linker, e.g. -l<library> 
     13 
     14 
    115%NCDF_INC            -I$NETCDF_INCLUDEDIR 
    216%NCDF_LIB            -L$NETCDF_LIBDIR -lnetcdff -lnetcdf 
    3 %COMPILER            mpif90 
    4 %LINKER              mpif90 
     17%FC                  mpif90 
     18%FCFLAGS             -i4 -r8 -automatic -align all 
     19%FFLAGS              %FCFLAGS 
     20%LD                  mpif90 
     21%LDFLAGS           
    522%AR                  ar 
    6 %MAKE                gmake 
    7 %FPP_FLAGS           -P -traditional  
    8 %FPP_DEF             _NONE_ 
    9 %BASE_FFLAGS         -i4 -r8 -automatic -align all 
    10 %PROD_FFLAGS         -O3 
    11 %DEV_FFLAGS          -O3 -traceback 
    12 %DEBUG_FFLAGS        -g -traceback 
    13 %MPI_FFLAGS 
    14 %OMP_FFLAGS          -openmp 
    15 %BASE_LD              -r8 -automatic 
    16 %MPI_LD 
    17 %OMP_LD              -openmp 
     23%ARFLAGS 
     24%MK                  gmake 
     25%USER_INC 
     26%USER_LIB 
  • branches/DEV_r1879_FCM/NEMOGCM/ARCH/arch-gfortran_osx.fcm

    r1985 r1987  
     1# NCDF_INC    netcdf include file 
     2# NCDF_LIB    netcdf library 
     3# FC          Fortran compiler command 
     4# FCFLAGS     Fortran compiler flags 
     5# FFLAGS      Fortran 77 compiler flags 
     6# LD          linker 
     7# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
     8# AR          assembler 
     9# ARFLAGS     assembler flags 
     10# MK          make 
     11# USER_INC    additional include files for the compiler,  e.g. -I<include dir> 
     12# USER_LIB    additional libraries to pass to the linker, e.g. -l<library> 
     13 
     14 
    115%NCDF_INC            -I/usr/local/gfortran_4_3/netcdf3_6_3/include 
    216%NCDF_LIB            -L/usr/local/gfortran_4_3/netcdf3_6_3/lib -lnetcdf 
    317%FC                gfortran 
     18%FCFLAGS             -fdefault-real-8 -O3 -funroll-all-loops   
     19%FFLAGS              %FCFLAGS 
    420%LD                  gfortran 
    5 %AR                  ar 
    6 %ARFLAGS             -rs 
    7 %M_K                 make 
    8 %FPP_FLAGS           -P -traditional 
    9 %FFLAGS              -fdefault-real-8 -O3 -funroll-all-loops   
     21%AR                  libtool 
     22%ARFLAGS             -c -s -o 
     23%MK                  make 
    1024%USER_INC 
     25%USER_LIB 
     26 
  • branches/DEV_r1879_FCM/NEMOGCM/ARCH/arch-ifort_osx.fcm

    r1985 r1987  
    1 %NCDF_INC             -I/usr/local/pub/netcdf/4.0.1-ifort/include  
     1# NCDF_INC    netcdf include file 
     2# NCDF_LIB    netcdf library 
     3# FC          Fortran compiler command 
     4# FCFLAGS     Fortran compiler flags 
     5# FFLAGS      Fortran 77 compiler flags 
     6# LD          linker 
     7# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
     8# AR          assembler 
     9# ARFLAGS     assembler flags 
     10# MK          make 
     11# USER_INC    additional include files for the compiler,  e.g. -I<include dir> 
     12# USER_LIB    additional libraries to pass to the linker, e.g. -l<library> 
     13 
     14 
     15%NCDF_INC            -I/usr/local/pub/netcdf/4.0.1-ifort/include  
    216%NCDF_LIB            -L /usr/local/pub/netcdf/4.0.1-ifort/lib -lnetcdf    
    317%FC                  mpif90 
     18%FCFLAGS         -r8 -O3  -traceback  
     19%FFLAGS       -r8 -O3  -traceback  
    420%LD                  mpif90 
     21%LDFLAGS 
    522%AR                  libtool  
    623%ARFLAGS             -c -s -o 
    7 %M_K                 make 
    8 %FPP_FLAGS           -P -traditional -I/usr/local/pub/openmpi/1.3.3-ifort/include 
     24%MK                  make 
    925%FFLAGS       -r8 -O3  -traceback  
    1026%USER_INC 
     27%USER_LIB 
  • branches/DEV_r1879_FCM/NEMOGCM/ARCH/arch-xlf_aix.fcm

    r1973 r1987  
     1DF_INC    netcdf include file 
     2# NCDF_LIB    netcdf library 
     3# FC          Fortran compiler command 
     4# FCFLAGS     Fortran compiler flags 
     5# FFLAGS      Fortran 77 compiler flags 
     6# LD          linker 
     7# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
     8# AR          assembler 
     9# ARFLAGS     assembler flags 
     10# MK          make 
     11# USER_INC    additional include files for the compiler,  e.g. -I<include dir> 
     12# USER_LIB    additional libraries to pass to the linker, e.g. -l<library> 
    113 
    214 
    3 %NCDF_INC            -I/usr/local/XLF/netcdf/include 
    4 %NCDF_LIB            -L/usr/local/XLF/netcdf/lib -lnetcf 
    5 %COMPILER            xlf90 
    6 %LINK                xlf90 
     15%NCDF_INC            -I/usr/local/pub/NetCDF/3.6.2/include 
     16%NCDF_LIB            -L /usr/local/pub/NetCDF/3.6.2/lib -lnetcdf 
     17%FC                  mpxlf90_r 
     18%FCFLAGS             -qfree=f90 -O3 -qsave -qrealsize=8 -qextname -qsource -q64 -qlargepage -qmaxmem=-1 
     19%FFLAGS              -qfixed -O3 -qsave -qrealsize=8 -qextname -qsource -q64 -qlargepage -qmaxmem=-1 
     20%LD                  mpxlf90_r 
     21%LDFLAGS 
    722%AR                  ar 
    8 %MAKE                make 
    9 %FPP_FLAGS           -P -traditional 
    10 %FPP_DEF 
    11 %BASE_FFLAGS         -O3 -qrealsize=8 -qextname -qsuffix=f=f90 -qsuffix=cpp=F90 
    12 %PROD_FFLAGS         -fast 
    13 %DEV_FFLAGS          -g 
    14 %DEBUG_FFLAGS        -g 
    15 %MPI_FFLAGS 
    16 %OMP_FFLAGS 
    17 %BASE_LD              
    18 %MPI_LD 
    19 %OMP_LD 
    20  
     23%ARFLAGS             -rs 
     24%MK                  gmake 
     25%USER_INC 
     26%USER_LIB 
  • branches/DEV_r1879_FCM/NEMOGCM/ARCH/arch-xlf_osx.fcm

    r1973 r1987  
     1# NCDF_INC    netcdf include file 
     2# NCDF_LIB    netcdf library 
     3# FC          Fortran compiler command 
     4# FCFLAGS     Fortran compiler flags 
     5# FFLAGS      Fortran 77 compiler flags 
     6# LD          linker 
     7# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
     8# AR          assembler 
     9# ARFLAGS     assembler flags 
     10# MK          make 
     11# USER_INC    additional include files for the compiler,  e.g. -I<include dir> 
     12# USER_LIB    additional libraries to pass to the linker, e.g. -l<library> 
    113 
    214 
    3 %NCDF_INC            -I/usr/local/XLF/netcdf/include 
    4 %NCDF_LIB            -L/usr/local/XLF/netcdf/lib -lnetcf 
    5 %COMPILER            xlf90 
    6 %LINK                xlf90 
    7 %AR                  ar 
    8 %MAKE                make 
    9 %FPP_FLAGS           -P -traditional 
    10 %FPP_DEF 
    11 %BASE_FFLAGS         -O3 -qrealsize=8 -qextname -qsuffix=f=f90 -qsuffix=cpp=F90 
    12 %PROD_FFLAGS         -fast 
    13 %DEV_FFLAGS          -g 
    14 %DEBUG_FFLAGS        -g 
    15 %MPI_FFLAGS 
    16 %OMP_FFLAGS 
    17 %BASE_LD              
    18 %MPI_LD 
    19 %OMP_LD 
    20  
     15%NCDF_INC      -I/usr/local/XLF/netcdf/include 
     16%NCDF_LIB      -L/usr/local/XLF/netcdf/lib -lnetcf 
     17%FC            xlf90 
     18%FCFLAGS       -O3 -qrealsize=8 -qextname -qsuffix=f=f90 -qsuffix=cpp=F90 
     19%FFLAGS        %FCFLAGS 
     20%LD            xlf90 
     21%LDFLAGS 
     22%AR            ar 
     23%ARFLAGS       rs 
     24%MK            make 
     25%USER_INC 
     26%USER_LIB 
  • branches/DEV_r1879_FCM/NEMOGCM/NEMO/OPA_SRC/lib_mpp.F90

    r1718 r1987  
    103103   !! ========================= !! 
    104104!$AGRIF_DO_NOT_TREAT 
    105 #  include <mpif.h> 
     105   INCLUDE 'mpif.h' 
    106106!$AGRIF_END_DO_NOT_TREAT 
    107107    
  • branches/DEV_r1879_FCM/NEMOGCM/TOOLS/bld.cfg

    r1985 r1987  
    3030 
    3131bld::tool::fc        %FC  
     32bld::tool::fflags    %FCFLAGS %NCDF_INC %USER_INC 
     33bld::tool::fflags::agrif   %FFLAGS %NCDF_INC %USER_INC 
    3234bld::tool::ld        %LD 
     35bld::tool::ldflags   %LDFLAGS %NCDF_LIB %USER_LIB 
    3336bld::tool::ar        %AR 
    3437bld::tool::arflags   %ARFLAGS 
    35 bld::tool::make      %M_K 
    36 bld::tool::fflags    %FFLAGS  
    37 bld::tool::ldflags   %LD_FLAGS  
    38  
    39 bld::tool::cppflags  %FPP_FLAGS  
    40 bld::tool::fppflags  %FPP_FLAGS 
    41  
     38bld::tool::make      %MK 
    4239 
    4340# Pre-process code before analysing dependencies 
    4441bld::pp::nemo 1 
     42bld::pp::agrif 1 
    4543bld::tool::fpp       $TOOLS_DIR/agrifpp.sh 
    46 bld::tool::fppflags  %FPP_FLAGS 
    4744bld::tool::fppflags::nemo $AGRIFUSE 
     45bld::tool::fppflags::agrif 0 
    4846 
    4947# Ignore the following dependencies 
  • branches/DEV_r1879_FCM/NEMOGCM/TOOLS/cfg.txt

    r1972 r1987  
    1 ORCA2_OFF_PISCES OFF_SRC TOP_SRC 
    21GYRE OPA_SRC LIM_SRC_2 C1D_SRC 
    32ORCA2_LIM_PISCES OPA_SRC LIM_SRC_2 NST_SRC C1D_SRC TOP_SRC 
    4 toto OPA_SRC LIM_SRC_2 C1D_SRC NST_SRC 
    53GYRE_LOBSTER OPA_SRC LIM_SRC_2 NST_SRC C1D_SRC TOP_SRC 
    6 ORCA2_LIM_OFF OPA_SRC LIM_SRC_2 C1D_SRC NST_SRC OFF_SRC 
     4ORCA2_OFF_PISCES OFF_SRC TOP_SRC 
     5POMME OPA_SRC LIM_SRC_2 NST_SRC C1D_SRC 
    76ORCA2_LIM OPA_SRC LIM_SRC_2 NST_SRC C1D_SRC 
Note: See TracChangeset for help on using the changeset viewer.