<platforms>

    <platform name="Intel-SNB-supermuc">
         <params
            make            = "make"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"

            cpp             = "cpp"
            cppflags        = "-P"

            f77             = "ifort"
            f77flags        = ""

            f90             = "ifort"
            f90flags        = ""

            cc              = "icc"
            cflags          = ""

            cxx             = "icpc"
            cxxflags        = ""

            mpi_f90         = "mpif90"
            mpi_f77         = "mpif77"
            mpi_cc          = "mpicc"
            mpi_cxx         = "mpiCC"

            ldflags         = ""

            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""

            blas_dir        = "-L$(MKL_BASE)/lib/intel64"
            blas_lib        = "-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm"

            lapack_dir        = "-L$(MKL_BASE)/lib/intel64"
            lapack_lib        = "-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm"

            scalapack_dir      = "-L$(MKL_BASE)/lib/intel64"
            scalapack_lib      = "-lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_intelmpi_lp64 -lpthread -lm"

            fftw3_dir       = ""
            fftw3_lib       = "$(FFTW_LIB)"
            fftw3_inc       = "$(FFTW_INC)"

            fftw2_dir       = ""
            fftw2_lib       = ""
            fftw2_inc       = ""

            netcdf3_dir     = ""
            netcdf3_lib     = ""
            netcdf3_inc     = ""

	    hdf5_dir        = ""
            hdf5_lib        = ""
            hdf5_inc        = ""

	    mb_per_core     = "1500"
	    module_init     = ""
            module_cmd      = "module load"
         />
     </platform>

    <platform name="IBM-SP6-Huygens">
        <params 
            make            = "gmake"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"
            
            cpp             = "/opt/ibmcmp/xlf/12.1/exe/cpp"
            cppflags        = "-P"
                                    
            f77             = "xlf_r"
            f77flags        = "-q64 -qtune=pwr6 -qarch=pwr6"
                                    
            f90             = "xlf90_r"
            f90flags        = "-q64 -qtune=pwr6 -qarch=pwr6"
                                    
            cc              = "xlc_r"
            cflags          = "-q64 -qtune=pwr6 -qarch=pwr6"
                                    
            cxx             = "xlC_r"
            cxxflags        = "-q64 -qtune=pwr6 -qarch=pwr6"
                                    
            mpi_f90         = "mpfort -qfree=f90"
            mpi_f77         = "mpfort"
            mpi_cc          = "mpcc"
            mpi_cxx         = "mpCC"
                                    
            ldflags         = "-q64 -qtune=pwr6 -qarch=pwr6"
                                    
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""
                                    
            blas_dir        = ""
            blas_lib        = ""
                                    
            lapack_dir      = ""
            lapack_lib      = ""
                                    
            fftw3_dir       = ""
            fftw3_lib       = ""
            fftw3_inc       = ""
                                    
            fftw2_dir       = ""
            fftw2_lib       = ""
            fftw2_inc       = ""
                                    
            netcdf3_dir     = "-L/sara/sw/netcdf/3.6.3/lib"
            netcdf3_lib     = "-lnetcdff -lnetcdf"
            netcdf3_inc     = ""
                                
            module_cmd      = "module load"
	    
	    perl            = "perl"
        />
    </platform>

    <platform name="IBM-BGP-Jugene">
        <params 
            make            = "gmake"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"
            
            cpp             = "/opt/ibmcmp/xlf/bg/11.1/exe/cpp"
            cppflags        = "-P"
                                    
            f77             = "bgxlf_r"
            f77flags        = "-qtune=450 -qarch=450"
                                    
            f90             = "bgxlf90_r"
            f90flags        = "-qtune=450 -qarch=450"
                                    
            cc              = "bgxlc_r"
            cflags          = "-qtune=450 -qarch=450"
                                    
            cxx             = "bgxlC_r"
            cxxflags        = "-qtune=450 -qarch=450"
                                    
            mpi_f90         = "mpixlf90_r"
            mpi_f77         = "mpixlf77_r"
            mpi_cc          = "mpixlc_r"
            mpi_cxx         = "mpixlcxx_r"
                                    
            ldflags         = "-qtune=450 -qarch=450"
                                    
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""
                                    
            blas_dir        = ""
            blas_lib        = ""
                                    
            lapack_dir      = "-L/bgsys/local/lib"
            lapack_lib      = "-llapack -lesslbg"
                                    
            fftw3_base      = "/bgsys/local/fftw3"
            fftw3_dir       = "-L/bgsys/local/fftw3/lib"
            fftw3_lib       = ""
            fftw3_inc       = "-I/bgsys/local/fftw3/include"
                                    
            fftw2_dir       = "/bgsys/local/fftw2/v2.1.5/fftw_450"
            fftw2_lib       = "-L/bgsys/local/fftw2/v2.1.5/fftw_450/lib -lsrfftw -lsfftw"
            fftw2_inc       = "-I/bgsys/local/fftw2/v2.1.5/fftw_450/include"
                                    
            netcdf3_dir     = "-L/bgsys/local/lib"
            netcdf3_lib     = ""
            netcdf3_inc     = "-I/bgsys/local/include"

	    ihpct_base      = "/bgsys/local/ihpct-2.2.2"                                
	    ihpct_dir       = "-L/bgsys/local/ihpct-2.2.2/lib"
	    ihpct_lib       = ""
	    ihpct_inc       = "-I/bgsys/local/ihpct-2.2.2/include"

            module_cmd      = "module load"
        />
    </platform>

    <platform name="IBM-BGQ-Juqueen">
        <params 
            make            = "gmake"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"
            
            cpp             = "/opt/ibmcmp/xlf/bg/14.1/exe/cpp"
            cppflags        = "-P"
                                    
            f77             = "bgxlf_r"
            f77flags        = ""
                                    
            f90             = "bgxlf90_r"
            f90flags        = ""
                                    
            cc              = "bgxlc_r"
            cflags          = ""
                                    
            cxx             = "bgxlC_r"
            cxxflags        = ""
                                    
            mpi_f90         = "mpixlf90_r"
            mpi_f77         = "mpixlf77_r"
            mpi_cc          = "mpixlc_r"
            mpi_cxx         = "mpixlcxx_r"
                                    
            ldflags         = ""
                                    
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""
                                    
            blas_dir        = ""
            blas_lib        = ""
                                    
            lapack_dir      = "-L/bgsys/local/lib"
            lapack_lib      = "-llapack -lesslbg"
                                    
            fftw3_base      = "/bgsys/local/fftw3"
            fftw3_dir       = "-L/bgsys/local/fftw3/lib"
            fftw3_lib       = ""
            fftw3_inc       = "-I/bgsys/local/fftw3/include"
                                    
            fftw2_dir       = "/bgsys/local/fftw2/v2.1.5/fftw_450"
            fftw2_lib       = "-L/bgsys/local/fftw2/v2.1.5/fftw_450/lib -lsrfftw -lsfftw"
            fftw2_inc       = "-I/bgsys/local/fftw2/v2.1.5/fftw_450/include"
                                    
            netcdf3_dir     = "-L/bgsys/local/lib"
            netcdf3_lib     = ""
            netcdf3_inc     = "-I/bgsys/local/include"

	    ihpct_base      = "/bgsys/local/ihpct-2.2.2"                                
	    ihpct_dir       = "-L/bgsys/local/ihpct-2.2.2/lib"
	    ihpct_lib       = ""
	    ihpct_inc       = "-I/bgsys/local/ihpct-2.2.2/include"

            module_cmd      = "module load"
        />
    </platform>

    <platform name="IBM-SP6-Jump">
        <params 
            make            = "gmake"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-X64 -rs"
            ranlib          = "/usr/bin/ranlib"
            
            cpp             = "/usr/lib/cpp"
            cppflags        = "-P"
                                    
            f77             = "xlf_r"
            f77flags        = "-q64 -qtune=pwr6 -qarch=pwr6"
                                    
            f90             = "xlf90_r"
            f90flags        = "-q64 -qtune=pwr6 -qarch=pwr6"
	    f90_version     = "`getstdout($f90 -qversion)`"

            cc              = "xlc_r"
            cflags          = "-q64 -qtune=pwr6 -qarch=pwr6"
                                    
            cxx             = "xlC_r"
            cxxflags        = "-q64 -qtune=pwr6 -qarch=pwr6"
                                    
            mpi_f90         = "mpxlf90_r"
            mpi_f77         = "mpxlf_r"
            mpi_cc          = "mpcc_r"
            mpi_cxx         = "mpCC_r"
                                    
            ldflags         = "-q64 -qtune=pwr6 -qarch=pwr6 -bdatapsize:64K -btextpsize:64K -bstackpsize:64K"
                                    
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""
                                    
            blas_dir        = ""
            blas_lib        = "-lessl"
                                    
            lapack_dir      = "-L/usr/local/lapack/LOCALlib"
            lapack_lib      = "-llapack -lessl"
                                    
            fftw3_dir       = "-L/usr/local/fftw/LOCALlib"
            fftw3_lib       = "-lfftw3 -lfftw3_threads -lm"
            fftw3_inc       = "-I/usr/local/fftw/LOCALinclude"
                                    
            fftw2_dir       = "-L/usr/local/fftw/LOCALlib"
            fftw2_lib       = "-ldfftw -ldrfftw -ldfftw_threads -ldrfftw_threads -ldfftw_mpi -ldrfftw_mpi -lm"
            fftw2_inc       = "-I/usr/local/fftw/LOCALinclude"
                                    
            netcdf3_dir     = "-L/usr/local/netcdf/LOCALlib"
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = "-I/usr/local/netcdf/LOCALinclude"
                                
            module_cmd      = "module load"

	    perl            = "/usr/local/bin/perl"
        />
    </platform>


    <platform name="IBM-SP4-Jump">
        <params 
            make            = "gmake"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"
            
            cpp             = "/usr/lib/cpp"
            cppflags        = "-P"
                                    
            f77             = "xlf_r"
            f77flags        = "-qtune=pwr4 -qarch=pwr4"
                                    
            f90             = "xlf90_r"
            f90flags        = "-qtune=pwr4 -qarch=pwr4"
                                    
            cc              = "xlc_r"
            cflags          = "-qtune=pwr4 -qarch=pwr4"
                                    
            cxx             = "xlC_r"
            cxxflags        = "-qtune=pwr4 -qarch=pwr4"
                                    
            mpi_f90         = "mpxlf90_r"
            mpi_f77         = "mpxlf_r"
            mpi_cc          = "mpcc_r"
            mpi_cxx         = "mpCC_r"
                                    
            ldflags         = "-qtune=pwr4 -qarch=pwr4"
                                    
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""
                                    
            blas_dir        = ""
            blas_lib        = "-lessl"
                                    
            lapack_dir      = "-L/usr/local/lapack/LOCALlib"
            lapack_lib      = "-llapack -lessl"
                                    
            fftw3_dir       = "-L/usr/local/fftw/LOCALlib"
            fftw3_lib       = "-lfftw3 -lfftw3_threads -lm"
            fftw3_inc       = "-I/usr/local/fftw/LOCALinclude"
                                    
            fftw2_dir       = "-L/usr/local/fftw/LOCALlib"
            fftw2_lib       = "-ldfftw -ldrfftw -ldfftw_threads -ldrfftw_threads -ldfftw_mpi -ldrfftw_mpi -lm"
            fftw2_inc       = "-I/usr/local/fftw/LOCALinclude"
                                    
            netcdf3_dir     = "-L/usr/local/netcdf/LOCALlib"
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = "-I/usr/local/netcdf/LOCALinclude"
            
            hdf5_dir        = "-L/usr/local/beta/hdf5-1.6.2-64bit.seq/LOCALlib"
            hdf5_lib        = "-lhdf5  -L/usr/local/beta/zlib/LOCALlib -lz"
            hdf5_inc        = "-I/usr/local/beta/hdf5-1.6.2-64bit.seq/LOCALinclude"
                    
            module_cmd      = "module load"
        />
    </platform>

    <platform name="IBM-SP5-CINECA">
        <params 
            make            = "gmake"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"
            
            cpp             = "/usr/lib/cpp"
            cppflags        = "-P"
                                    
            f77             = "xlf_r"
            f77flags        = "-qtune=pwr5 -qarch=pwr5"
                                    
            f90             = "xlf90_r"
            f90flags        = "-qtune=pwr5 -qarch=pwr5"
                                    
            cc              = "xlc_r"
            cflags          = "-qtune=pwr5 -qarch=pwr5"
                                    
            cxx             = "xlC_r"
            cxxflags        = "-qtune=pwr5 -qarch=pwr5"
                                    
            mpi_f90         = "mpxlf90_r"
            mpi_f77         = "mpxlf_r"
            mpi_cc          = "mpcc_r"
            mpi_cxx         = "mpCC_r"
                                    
            ldflags         = "-qtune=pwr5 -qarch=pwr5"
                                    
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""
                                    
            blas_dir        = ""
            blas_lib        = "-lessl"
                                    
            lapack_dir      = "-L/cineca/lib"
            lapack_lib      = "-llapack -lessl"
                                    
            fftw3_dir       = "-L/cineca/lib"
            fftw3_lib       = "-lfftw3 -lfftw3_threads -lm"
            fftw3_inc       = "-I/cineca/lib"
                                    
            fftw2_dir       = "-L/cineca/lib"
            fftw2_lib       = "-ldfftw -ldrfftw -ldfftw_threads -ldrfftw_threads -ldfftw_mpi -ldrfftw_mpi -lm"
            fftw2_inc       = "-I/cineca/lib"
                                    
            netcdf3_dir     = "-L/cineca/lib/netcdf/64/lib/"
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = "-I/cineca/lib/netcdf/64/include/"
                               
            hdf5_dir        = ""
            hdf5_lib        = ""
            hdf5_inc        = ""
 
            module_cmd      = "module load"
        />
    </platform>

    <platform name="IBM-SP4-Zahir">
        <params 
            make            = "gmake"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-X64 -rs"
            ranlib          = "/usr/bin/ranlib"
            
            cpp             = "/usr/lib/cpp"
            cppflags        = "-P"
                                    
            f77             = "xlf_r"
            f77flags        = "-q64 -qtune=pwr4 -qarch=pwr4"
                                    
            f90             = "xlf90_r"
            f90flags        = "-q64 -qtune=pwr4 -qarch=pwr4"
                                    
            cc              = "xlc_r"
            cflags          = "-q64 -qtune=pwr4 -qarch=pwr4"
                                    
            cxx             = "xlC_r"
            cxxflags        = "-q64 -qtune=pwr4 -qarch=pwr4"
                                    
            mpi_f90         = "mpxlf90_r"
            mpi_f77         = "mpxlf_r"
            mpi_cc          = "mpcc_r"
            mpi_cxx         = "mpCC_r"
                                    
            ldflags         = "-q64 -qtune=pwr4 -qarch=pwr4"
                                    
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""
                                    
            blas_dir        = ""
            blas_lib        = "-lessl"
                                    
            lapack_dir      = "-L/usr/local/pub/LAPACK/LAPACK-3.0/lib"
            lapack_lib      = "-llapack -lessl"
                                    
            fftw3_dir       = "-L/usr/local/pub/FFTW/fftw-3.0.1/lib"
            fftw3_lib       = "-lfftw3 -lfftw3_threads -lm"
            fftw3_inc       = "-I/usr/local/pub/FFTW/fftw-3.0.1/include"
                                    
            fftw2_dir       = "-L/usr/local/pub/FFTW/fftw-2.1.5/lib"
            fftw2_lib       = "-lfftw -lrfftw -lfftw_threads -lrfftw_threads -lfftw_mpi -lrfftw_mpi -lm"
            fftw2_inc       = "-I/usr/local/pub/FFTW/fftw-2.1.5/include"
                                    
            netcdf3_dir     = "-L/usr/local/pub/lib"
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = "-I/usr/local/pub/include"

            hdf5_dir        = "-L/usr/local/pub/hdf/hdf5-1.6.6/seq/lib"
            hdf5_lib        = "-lhdf5 -lhdf5_fortran -lgpfs -L/usr/local/pub/hdf/zlib/lib -lz"
            hdf5_inc        = "-I/usr/local/pub/hdf/hdf5-1.6.6/seq/include"
                                
            module_cmd      = "module load"
        />
    </platform>

    <platform name="IBM-PowerPC-MareNostrum">
        <params 
            make            = "gmake"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"
            
            cpp             = "/usr/bin/cpp"
            cppflags        = "-P -traditional-cpp"
                                    
            f77             = "xlf_r"
            f77flags        = "-q64 -qtune=ppc970 -qarch=ppc970"
                                    
            f90             = "xlf90_r"
            f90flags        = "-q64 -qtune=ppc970 -qarch=ppc970"
                                    
            cc              = "xlc_r"
            cflags          = "-q64 -qtune=ppc970 -qarch=ppc970"
                                    
            cxx             = "xlC_r"
            cxxflags        = "-q64 -qtune=ppc970 -qarch=ppc970"
                                    
            mpi_f90         = "mpif90"
            mpi_f77         = "mpif77"
            mpi_cc          = "mpicc"
            mpi_cxx         = "mpiCC"
                                    
            ldflags         = "-q64 -qtune=ppc970 -qarch=ppc970"
                                    
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""
                                    
            blas_dir        = ""
            blas_lib        = "-lessl"
                                    
            lapack_dir      = "-L/gpfs/apps/LAPACK/lib64"
            lapack_lib      = "-llapack -lessl"
                                    
            fftw3_dir       = "-L/gpfs/apps/FFTW/3.1.1/xlf/64/lib"
            fftw3_lib       = "-lfftw3 -lfftw3_threads -lfftw3f -lfftw3f_threads -lm"
            fftw3_inc       = "-I/gpfs/apps/FFTW/3.1.1/64/include"
                                    
            fftw2_dir       = "-L/gpfs/apps/FFTW/2.1.5/64/lib"
            fftw2_lib       = "-ldfftw -ldrfftw -ldfftw_mpi -ldrfftw_mpi -lm"
            fftw2_inc       = "-I/gpfs/apps/FFTW/2.1.5/64/include"
                                    
            netcdf3_dir     = "-L/gpfs/apps/NETCDF/64/lib"
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = "-I/gpfs/apps/NETCDF/64/include"

            hdf5_dir        = ""
            hdf5_lib        = ""
            hdf5_inc        = ""
                                
            module_cmd      = "module load"
        />
    </platform>

    <platform name="IBM-SP4-psi">
        <params 
            make            = "gmake"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"
            
            cpp             = "/usr/lib/cpp"
            cppflags        = "-P"
                                    
            f77             = "xlf_r"
            f77flags        = "-qtune=pwr4 -qarch=pwr4"
                                    
            f90             = "xlf90_r"
            f90flags        = "-qtune=pwr4 -qarch=pwr4"
                                    
            cc              = "xlc_r"
            cflags          = "-qtune=pwr4 -qarch=pwr4"
                                    
            cxx             = "xlC_r"
            cxxflags        = "-qtune=pwr4 -qarch=pwr4"
                                    
            mpi_f90         = "mpxlf90_r"
            mpi_f77         = "mpxlf_r"
            mpi_cc          = "mpcc_r"
            mpi_cxx         = "mpCC_r"
                                    
            ldflags         = "-qtune=pwr4 -qarch=pwr4"
                                    
            mpi_dir         = "/usr/lpp/ppe.poe/lib/"
            mpi_lib         = ""
            mpi_inc         = "/usr/lpp/ppe.poe/include/"
            mpi_bin         = ""
                                    
            blas_dir        = ""
            blas_lib        = "-lessl"
                                    
            lapack_dir      = "-L/afs/ipp/@sys/lib"
            lapack_lib      = "-llapack -lessl"
                                    
            fftw3_dir       = "-L/afs/ipp/@sys/lib"
            fftw3_lib       = "-lfftw3 -lfftw3_threads -lm"
            fftw3_inc       = "-I/afs/ipp/@sys/include"
                                    
            fftw2_dir       = "-L/afs/ipp/@sys/lib"
            fftw2_lib       = "-ldfftw -ldrfftw -ldfftw_threads -ldrfftw_threads -ldfftw_mpi -ldrfftw_mpi -lm"
            fftw2_inc       = "-I/afs/ipp/@sys/include"
                                    
            netcdf3_dir     = "-L/afs/ipp/@sys/lib"
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = "-I/afs/ipp/@sys/include"
            
            hdf5_dir        = "-L/afs/ipp/@sys/lib"
            hdf5_lib        = "-lhdf5 -lz"
            hdf5_inc        = "-I/afs/ipp/@sys/include"
                    
            module_cmd      = "module load"
        />
    </platform>

     <platform name="Cray-XT4-Louhi">
         <params
            make            = "make"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"

            cpp             = "/usr/bin/cpp"
            cppflags        = "-P"

            f77             = "f77"
            f77flags        = ""

            f90             = "ftn"
            f90flags        = ""

            cc              = "cc"
            cflags          = ""

            cxx             = "CC"
            cxxflags        = ""

            mpi_f90         = "ftn"
            mpi_f77         = "f77"
            mpi_cc          = "cc"
            mpi_cxx         = "CC"

            ldflags         = ""

            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""

            blas_dir        = ""
            blas_lib        = "-lsci"

            lapack_dir      = ""
            lapack_lib      = "-lsci"

            fftw3_dir       = "-L/opt/fftw/3.1.1/cnos/lib"
            fftw3_lib       = "-lfftw3 -lfftw3f"
            fftw3_inc       = "-I/opt/fftw/3.1.1/cnos/include"

            fftw2_dir       = "-L/opt/fftw/2.1.5/cnos/lib"
            fftw2_lib       = "-ldfftw -ldfftw_mpi -ldrfftw -ldrfftw_mpi"
            fftw2_inc       = "-I/opt/fftw/2.1.5/cnos/include"

            netcdf3_dir     = "-L/v/linux26_x86_64/opt/netcdf/3.6.1/lib"
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = "-I/v/linux26_x86_64/opt/netcdf/3.6.1/include"

            hdf5_dir        = "-L/fs/appl/linux/x86_64/opt/hdf5/serial-hdf5-1.6.5/hdf5-1.6.5/hdf5/lib"
            hdf5_lib        = "-lhdf5 -lz"
            hdf5_inc        = "-I/fs/appl/linux/x86_64/opt/hdf5/serial-hdf5-1.6.5/hdf5-1.6.5/hdf5/include"

            module_cmd      = "module load"
         />
     </platform>

     <platform name="Cray-XT5-Louhi">
         <params
            make            = "make"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"

            cpp             = "/usr/bin/cpp"
            cppflags        = "-P"

            f77             = "f77"
            f77flags        = ""

            f90             = "ftn"
            f90flags        = ""

            cc              = "cc"
            cflags          = ""

            cxx             = "CC"
            cxxflags        = ""

            mpi_f90         = "ftn"
            mpi_f77         = "f77"
            mpi_cc          = "cc"
            mpi_cxx         = "CC"

            ldflags         = ""

            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""

            blas_dir        = ""
            blas_lib        = "-lsci"

            lapack_dir      = ""
            lapack_lib      = "-lsci"

            fftw3_dir       = "-L/opt/fftw/3.1.1/cnos/lib"
            fftw3_lib       = "-lfftw3 -lfftw3f"
            fftw3_inc       = "-I/opt/fftw/3.1.1/cnos/include"

            fftw2_dir       = "-L/opt/fftw/2.1.5/cnos/lib"
            fftw2_lib       = "-ldfftw -ldfftw_mpi -ldrfftw -ldrfftw_mpi"
            fftw2_inc       = "-I/opt/fftw/2.1.5/cnos/include"

            netcdf3_dir     = "-L/v/linux26_x86_64/opt/netcdf/3.6.1/lib"
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = "-I/v/linux26_x86_64/opt/netcdf/3.6.1/include"

            hdf5_dir        = "-L/fs/appl/linux/x86_64/opt/hdf5/serial-hdf5-1.6.5/hdf5-1.6.5/hdf5/lib"
            hdf5_lib        = "-lhdf5 -lz"
            hdf5_inc        = "-I/fs/appl/linux/x86_64/opt/hdf5/serial-hdf5-1.6.5/hdf5-1.6.5/hdf5/include"

            module_cmd      = "module load"
         />
     </platform>


     <platform name="Cray-XE6-HERMIT">
         <params
            make            = "make"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "ranlib"

            cpp             = "/usr/bin/cpp"
            cppflags        = "-P"

            f77             = "f77"
            f77flags        = ""

            f90             = "ftn"
            f90flags        = ""

            cc              = "cc"
            cflags          = ""

            cxx             = "CC"
            cxxflags        = ""

            mpi_f90         = "ftn"
            mpi_f77         = "f77"
            mpi_cc          = "cc"
            mpi_cxx         = "CC"

            ldflags         = ""

            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""

            blas_dir        = ""
            blas_lib        = ""

            lapack_dir      = ""
            lapack_lib      = ""

            fftw3_dir       = "-L/opt/fftw/3.3.0.1/interlagos/lib"
            fftw3_lib       = "-lfftw3 -lfftw3f"
            fftw3_inc       = "-I/opt/fftw/3.3.0.1/interlagos/include"

            fftw2_dir       = ""
            fftw2_lib       = ""
            fftw2_inc       = ""

            netcdf3_dir     = ""
            netcdf3_lib     = ""
            netcdf3_inc     = ""

            hdf5_dir        = ""
            hdf5_lib        = ""
            hdf5_inc        = ""

            module_cmd      = "module load"
         />
     </platform>


     <platform name="IBM-BladeCenterLS21-BCX">
         <params
            make            = "make"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"

            cpp             = "/usr/bin/cpp"
            cppflags        = "-P"

            f77             = "pgf77"
            f77flags        = "-tp k8-64e -fast -Mcache_align"

            f90             = "pgf90"
            f90flags        = "-tp k8-64e -fast -Mcache_align"

            cc              = "pgcc"
            cflags          = "-tp k8-64e -fast -Mcache_align"

            cxx             = "pgCC"
            cxxflags        = "-tp k8-64e -fast -Mcache_align"

            mpi_f90         = "mpif90"
            mpi_f77         = "mpif77"
            mpi_cc          = "mpicc"
            mpi_cxx         = "mpiCC"

            ldflags         = "-tp k8-64e -fast -Mcache_align"
	
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""

            blas_dir        = "-L/cineca/prod/acml/3.6.0/pgi64/lib"
            blas_lib        = "-lacml"

            lapack_dir      = "-L/cineca/prod/acml/3.6.0/pgi64/lib"
            lapack_lib      = "-lacml"

            fftw3_dir       = "-L/cineca/prod/libraries/fftw/3.1.2/pgi--7.1/lib"
            fftw3_lib       = "-lfftw3"
            fftw3_inc       = "-I/cineca/prod/libraries/fftw/3.1.2/pgi--7.1/include"

            fftw2_dir       = "-L/cineca/prod/libraries/fftw/2.1.5/openmpi--1.2.5--pgi--7.1/lib"
            fftw2_lib       = "-lfftw -lfftw_mpi -lrfftw -lrfftw_mpi"
            fftw2_inc       = "-I/cineca/prod/libraries/fftw/2.1.5/openmpi--1.2.5--pgi--7.1/include"

            netcdf3_dir     = "-L/cineca/prod/libraries/netCDF/3.6.2/pgi--7.1/lib"
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = "-I/cineca/prod/libraries/netCDF/3.6.2/pgi--7.1/include"

            hdf5_dir        = "-L/cineca/prod/libraries/hdf5/1.8.0/openmpi--1.2.5--pgi--7.1/lib"
            hdf5_lib        = "-lhdf5 -lz"
            hdf5_inc        = "-I/cineca/prod/libraries/hdf5/1.8.0/openmpi--1.2.5--pgi--7.1/include"

            module_cmd      = "module load"
         />
     </platform>


     <platform name="IBM-BladeCenterLS21-BCX-INTEL">
         <params
            make            = "make"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"
                                                                                                                                                             
            cpp             = "/usr/bin/cpp"
            cppflags        = "-P"
                                                                                                                                                             
            f77             = "ifort"
            f77flags        = "-xW -static"
                                                                                                                                                             
            f90             = "ifort"
            f90flags        = "-xW -static"
                                                                                                                                                             
            cc              = "icc"
            cflags          = "-xW -static"
                                                                                                                                                             
            cxx             = "icpc"
            cxxflags        = "-xW -static"
                                                                                                                                                             
            mpi_f90         = "mpif90"
            mpi_f77         = "mpif77"
            mpi_cc          = "mpicc"
            mpi_cxx         = "mpiCC"
                                                                                                                                                             
            ldflags         = "-xW -static"
                                                                                                                                                             
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""
                                                                                                                                                             
            blas_dir        = "-L/cineca/prod/acml/3.6.0/ifort64/lib"
            blas_lib        = "-lacml"
                                                                                                                                                             
            lapack_dir      = "-L/cineca/prod/acml/3.6.0/ifort64/lib"
            lapack_lib      = "-lacml"
                                                                                                                                                             
            fftw3_dir       = "-L/cineca/prod/libraries/fftw/3.1.2/intel--10.1/lib"
            fftw3_lib       = "-lfftw3 -lfftw3f"
            fftw3_inc       = "-I/cineca/prod/libraries/fftw/3.1.2/intel--10.1/include"
                                                                                                                                                             
            fftw2_dir       = "-L/cineca/prod/libraries/fftw/2.1.5/openmpi--1.2.5--intel--10.1/lib"
            fftw2_lib       = "-lfftw -lfftw_mpi -lrfftw -lrfftw_mpi"
            fftw2_inc       = "-I/cineca/prod/libraries/fftw/2.1.5/openmpi--1.2.5--intel--10.1/include"
                                                                                                                                                             
            netcdf3_dir     = "-L/cineca/prod/libraries/netCDF/3.6.2/intel--10.1/lib"
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = "-I/cineca/prod/libraries/netCDF/3.6.2/intel--10.1/include"
                                                                                                                                                             
            hdf5_dir        = "-L/cineca/prod/libraries/hdf5/1.8.0/openmpi--1.2.5--intel--10.1/lib"
            hdf5_lib        = "-lhdf5 -lz"
            hdf5_inc        = "-I/cineca/prod/libraries/hdf5/1.8.0/openmpi--1.2.5--intel--10.1/include"
                                                                                                                                                            
            module_cmd      = "module load"
         />
     </platform>


     <platform name="SGI-ALTIX">
         <params
            make            = "make"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"

            cpp             = "icpc"
            cppflags        = "-O3"

            f77             = "ifort"
            f77flags        = "-O3"

            f90             = "ifort"
            f90flags        = ""

            cc              = "icc"
            cflags          = "-O3 "

            cxx             = "icpc"
            cxxflags        = "-O3"

            mpi_f90         = "mpif90"
            mpi_f77         = ""
            mpi_cc          = "mpicc"
            mpi_cxx         = "mpiCC"

            ldflags         = ""

            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""

            blas_dir        = ""
            blas_lib        = ""

            lapack_dir      = ""
            lapack_lib      = ""

            fftw3_dir       = "-L/lrz/sys/fftw/3.0.1/lib"
            fftw3_lib       = "-lfftw3 -lm"
            fftw3_inc       = "-I/lrz/sys/fftw/3.0.1/include"

            fftw2_dir       = "-L/lrz/sys/fftw/2.1.5_sgi/lib"
            fftw2_lib       = "-lrfftw_mpi -lfftw_mpi -lrfftw -lfftw -lm"
            fftw2_inc       = "-I/lrz/sys/fftw/2.1.5_sgi/include"

            netcdf3_dir     = "-L/lrz/sys/netcdf/3.6.1/lib"
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = "-I/lrz/sys/netcdf/3.6.1/include"

            hdf5_dir        = "-L/lrz/sys/HDF5/5-1.6.4-altix/lib"
            hdf5_lib        = "-lhdf5"
            hdf5_inc        = "-I/lrz/sys/HDF5/5-1.6.4-altix/include"

            module_cmd      = "module load"
         />
     </platform>
 
     <platform name="NEC-SX8-HLRS">
         <params 
            make            = "sxmake"
            rm              = "rm -f"
            ar              = "sxar"
            arflags         = "-rs"
            ranlib          = ""
            
            cpp             = "sxcc"
            cppflags        = "-E"
                                    
            f77             = "sxf90"
            f77flags        = "-C hopt"
                                    
            f90             = "sxf90"
            f90flags        = "-C hopt"
                                    
            cc              = "sxcc"
            cflags          = "-C hopt"
                                    
            cxx             = "sxc++"
            cxxflags        = "-C hopt"
                                    
            mpi_f90         = "sxmpif90"
            mpi_f77         = "sxmpif90"
            mpi_cc          = "sxmpicc"
            mpi_cxx         = "sxmpic++"
                                    
            ldflags         = "-C hopt"
                                    
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""
                                    
            blas_dir        = ""
            blas_lib        = "-lblas"
                                    
            lapack_dir      = ""
            lapack_lib      = "-llapack -lblas"
                                    
            fftw3_dir       = ""
            fftw3_lib       = "-lparfft -Popenmp"
            fftw3_inc       = "-I/SX/opt/mathkeisan/inst/include"
                                    
            fftw2_dir       = ""
            fftw2_lib       = "-lparfft -Popenmp"
            fftw2_inc       = "-I/SX/opt/mathkeisan/inst/include"
                                    
            netcdf3_dir     = "-L/app/sx/lib"
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = "-I/app/sx/include"
            
            hdf5_dir        = "-L/app/sx/lib"
            hdf5_lib        = "-lhdf5"
            hdf5_inc        = "-I/app/sx/include"
                    
            module_cmd      = "module load"
        />
    </platform>

     <platform name="NEC-SX9-HLRS">
         <params 
            make            = "sxmake"
            rm              = "rm -f"
            ar              = "sxar"
            arflags         = "-rs"
            ranlib          = ""
            
            cpp             = "sxcc"
            cppflags        = "-E"
                                    
            f77             = "sxf90"
            f77flags        = "-C hopt"
                                    
            f90             = "sxf90"
            f90flags        = "-C hopt"
                                    
            cc              = "sxcc"
            cflags          = "-C hopt"
                                    
            cxx             = "sxc++"
            cxxflags        = "-C hopt"
                                    
            mpi_f90         = "sxmpif90"
            mpi_f77         = "sxmpif90"
            mpi_cc          = "sxmpicc"
            mpi_cxx         = "sxmpic++"
                                    
            ldflags         = "-C hopt"
                                    
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""
                                    
            blas_dir        = ""
            blas_lib        = "-lblas"
                                    
            lapack_dir      = ""
            lapack_lib      = "-llapack -lblas"
                                    
            fftw3_dir       = ""
            fftw3_lib       = "-lparfft -Popenmp"
            fftw3_inc       = "-I/SX/opt/mathkeisan/inst/include"
                                    
            fftw2_dir       = ""
            fftw2_lib       = "-lparfft -Popenmp"
            fftw2_inc       = "-I/SX/opt/mathkeisan/inst/include"
                                    
            netcdf3_dir     = "-L/app/sx/lib"
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = "-I/app/sx/include"
            
            hdf5_dir        = "-L/app/sx/lib"
            hdf5_lib        = "-lhdf5"
            hdf5_inc        = "-I/app/sx/include"
                    
            module_cmd      = "module load"
        />
    </platform>

        <platform name="IBM-SP5-HPCx">
        <params 
            make            = "make"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"
            
            cpp             = "/usr/bin/cpp"
            cppflags        = "-P"
                                    
            f77             = "xlf_r"
            f77flags        = "-qtune=pwr5 -qarch=pwr5"
                                    
            f90             = "xlf90_r"
            f90flags        = "-qtune=pwr5 -qarch=pwr5"
                                    
            cc              = "xlc_r"
            cflags          = "-qtune=pwr5 -qarch=pwr5"
                                    
            cxx             = "xlC_r"
            cxxflags        = "-qtune=pwr5 -qarch=pwr5"
                                    
            mpi_f90         = "mpxlf90_r"
            mpi_f77         = "mpxlf_r"
            mpi_cc          = "mpcc_r"
            mpi_cxx         = "mpCC_r"
                                    
            ldflags         = "-qtune=pwr5 -qarch=pwr5"
                                    
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""
                                    
            blas_dir        = ""
            blas_lib        = "-lessl"
                                    
            lapack_dir      = "-L/usr/local/lib"
            lapack_lib      = "-lessl -llapack"
                                    
            fftw3_dir       = "-L/usr/local/packages/fftw/lib"
            fftw3_lib       = "-ldfftw -lm"
            fftw3_inc       = "-I/usr/local/packages/fftw/include"
                                    
            fftw2_dir       = ""
            fftw2_lib       = ""
            fftw2_inc       = ""
                                    
            netcdf3_dir     = ""
            netcdf3_lib     = ""
            netcdf3_inc     = ""
                               
            hdf5_dir        = "-L/usr/local/packages/hdf5/lib -L/usr/local/packages/hdf5/zlib/lib"
            hdf5_lib        = "-lhdf5_fortran -lhdf5 -lgpfs -lz"
            hdf5_inc        = "-I/usr/local/packages/hdf5/include"
 
            module_cmd      = ""
        />
    </platform>
    
    
         <platform name="Cray-XT4-HECToR">
         <params
            make            = "make"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"

            cpp             = "/usr/bin/cpp"
            cppflags        = "-P"

            f77             = "f77"
            f77flags        = ""

            f90             = "ftn"
            f90flags        = ""

            cc              = "cc"
            cflags          = ""

            cxx             = "CC"
            cxxflags        = ""

            mpi_f90         = "ftn"
            mpi_f77         = "f77"
            mpi_cc          = "cc"
            mpi_cxx         = "CC"

            ldflags         = ""

            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""

            blas_dir        = ""
            blas_lib        = ""

            lapack_dir      = ""
            lapack_lib      = ""

            fftw3_dir       = ""
            fftw3_lib       = ""
            fftw3_inc       = ""

            fftw2_dir       = ""
            fftw2_lib       = ""
            fftw2_inc       = ""

            netcdf3_dir     = ""
            netcdf3_lib     = ""
            netcdf3_inc     = ""

            hdf5_dir        = ""
            hdf5_lib        = ""
            hdf5_inc        = ""

            module_cmd      = "module load"
         />
     </platform>


         <platform name="Cray-XE6-HECToR">
         <params
            make            = "make"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"

            cpp             = "/usr/bin/cpp"
            cppflags        = "-P"

            f77             = "f77"
            f77flags        = ""

            f90             = "ftn"
            f90flags        = ""

            cc              = "cc"
            cflags          = ""

            cxx             = "CC"
            cxxflags        = ""

            mpi_f90         = "ftn"
            mpi_f77         = "f77"
            mpi_cc          = "cc"
            mpi_cxx         = "CC"

            ldflags         = ""

            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""

            blas_dir        = ""
            blas_lib        = ""

            lapack_dir      = ""
            lapack_lib      = ""

            fftw3_dir       = ""
            fftw3_lib       = ""
            fftw3_inc       = ""

            fftw2_dir       = ""
            fftw2_lib       = ""
            fftw2_inc       = ""

            netcdf3_dir     = ""
            netcdf3_lib     = ""
            netcdf3_inc     = ""

            hdf5_dir        = ""
            hdf5_lib        = ""
            hdf5_inc        = ""

            module_cmd      = "module load"
         />
     </platform>

    <platform name="SGI-Altix-ICE-8200-EX-jade">
         <params
            make            = "gmake"
            rm              = "rm -rf"
            ar              = "ar"
            arflags         = "-r"
            ranlib          = "ranlib"
	    m4              = "m4"

            cpp             = "icc"
            cppflags        = "-E"

            f77             = "ifort"
            f77flags        = "-O3"

            f90             = "ifort"
            f90flags        = "-O3"

            cc              = "icc"
            cflags          = "-O3"

            cxx             = "icpc"
            cxxflags        = "-O3"

            mpi_f90         = "ifort"
            mpi_f77         = "ifort"
            mpi_cc          = "icc"
            mpi_cxx         = "icpc"

            ldflags         = ""

            mpi_dir         = "-L/usr/lib64"
            mpi_lib         = "-lmpi"
            mpi_inc         = "-I/usr/include"
            mpi_bin         = ""

            blas_dir        = "-L/opt/software/SGI/intel/mkl/10.0.3.020/lib/em64t/lib"
            blas_lib        = "-lmkl"

            lapack_dir      = "-L/opt/software/SGI/intel/mkl/10.0.3.020/lib/em64t/lib"
            lapack_lib      = "-lmkl"

            hdf5_dir        = "-L/opt/software/SGI/hdf5/1.8.1/lib"
            hdf5_lib        = "-lhdf5_fortran -lhdf5"
            hdf5_inc        = "-I/opt/software/SGI/hdf5/1.8.1/include"
	     module_init     = "module purge ; module load cce-10.1.017 fce-10.1.017 mkl-10.0.3.020"
            module_cmd      = "module load"
         />
     </platform>

    <platform name="IBM-Cell-MariCel">
        <params 
            make            = "gmake"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"
            
            cpp             = "/usr/bin/cpp"
            cppflags        = "-P -traditional-cpp"
                                    
            f77             = "ppuxlf_r"
            f77flags        = "-q64"
                                    
            f90             = "ppuxlf90_r"
            f90flags        = "-q64"
                                    
            cc              = "ppuxlc_r"
            cflags          = "-q64"
                                    
            cxx             = "ppuxlx++_r"
            cxxflags        = "-q64"
                                    
            mpi_f90         = "mpif90"
            mpi_f77         = "mpif77"
            mpi_cc          = "mpicc"
            mpi_cxx         = "mpic++"
                                    
            ldflags         = "-q64"
                                    
            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = "/opt/openmpi/ppc64/bin/"
                                    
            blas_dir        = ""
            blas_lib        = "-lblas_xlf -lblas"
                                    
            lapack_dir      = ""
            lapack_lib      = "-llapack"
                                    
            fftw3_dir       = ""
            fftw3_lib       = ""
            fftw3_inc       = ""
                                    
            fftw2_dir       = ""
            fftw2_lib       = ""
            fftw2_inc       = ""
                                    
            netcdf3_dir     = ""
            netcdf3_lib     = ""
            netcdf3_inc     = ""

            hdf5_dir        = ""
            hdf5_lib        = ""
            hdf5_inc        = ""
                                
            module_cmd      = "module load"
        />
    </platform>

     <platform name="BULL-RS422-teraplus">
         <params
            make            = "make"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "/usr/bin/ranlib"

            cpp             = "/usr/bin/cpp"
            cppflags        = "-P"

            f77             = "ifort"
            f77flags        = ""

            f90             = "ifort"
            f90flags        = ""

            cc              = "icc"
            cflags          = ""

            cxx             = "icpc"
            cxxflags        = ""

            mpi_f90         = "mpif90"
            mpi_f77         = "mpif77"
            mpi_cc          = "mpicc"
            mpi_cxx         = "mpicxx"

            ldflags         = ""

            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""

            blas_dir        = ""
            blas_lib        = "-lmkl"

            lapack_dir      = ""
            lapack_lib      = "-lmkl"

            fftw3_dir       = ""
            fftw3_lib       = "-lmkl"
            fftw3_inc       = ""

            fftw2_dir       = ""
            fftw2_lib       = "-lmkl"
            fftw2_inc       = ""

            netcdf3_dir     = ""
            netcdf3_lib     = "-lnetcdf"
            netcdf3_inc     = ""

            hdf5_dir        = ""
            hdf5_lib        = "-lhdf5 -lz"
            hdf5_inc        = ""

            module_cmd      = "module load"
         />
     </platform>

     <platform name="Intel-Nehalem-JUROPA">
       <params       
	    make            = "gmake"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "ranlib"

            cpp             = "cpp"
            cppflags        = "-P"

	    cc              = "icc"
	    cflags          = ""

	    cxx             = "icpc"
            cxxflags        = "-DMPICH_IGNORE_CXX_SEEK"

	    f77             = "ifort"
	    f90             = "ifort"

            mpi_cc          = "mpicc"
	    mpi_cxx         = "mpicxx"

	    mpi_f77         = "mpif77"
	    f77flags        = ""

	    mpi_f90         = "mpif90"
	    f90flags        = ""

	    ldflags         = ""

            blas_dir        = ""
            blas_lib        = "-lmkl"

            lapack_dir      = ""
            lapack_lib      = "-lmkl"

            fftw3_dir       = ""
            fftw3_lib       = "-lmkl"
            fftw3_inc       = ""

            fftw2_dir       = ""
            fftw2_lib       = "-lmkl"
            fftw2_inc       = ""

            netcdf3_dir     = "-L/usr/local/netcdf/lib"
            netcdf3_lib     = "-lnetcdff -lnetcdf"
            netcdf3_inc     = "-I/usr/local/netcdf/include"

	    module_cmd      = "module load"
       />
     </platform>

     <platform name="Intel-Nehalem-CURIE">
       <params       
	    make            = "gmake"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "ranlib"

            cpp             = "cpp"
            cppflags        = "-P"

	    cc              = "icc"
	    cflags          = ""

	    cxx             = "icpc"
            cxxflags        = "-DMPICH_IGNORE_CXX_SEEK"

	    f77             = "ifort"
	    f90             = "ifort"

            mpi_cc          = "mpicc"
	    mpi_cxx         = "mpicxx"

	    mpi_f77         = "mpif77"
	    f77flags        = ""

	    mpi_f90         = "mpif90"
	    f90flags        = ""

	    ldflags         = ""

            blas_dir        = "-L/usr/local/Intel_compilers/c/composerxe-2011.3.174/mkl/lib/intel64"
            blas_lib        = "-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lm"

            lapack_dir      = "-L/usr/local/Intel_compilers/c/composerxe-2011.3.174/mkl/lib/intel64"
            lapack_lib      = "-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lm"

            fftw3_dir       = "-L/usr/local/fftw3-3.2.2/lib"
            fftw3_lib       = "-lfftw3 -lm"
            fftw3_inc       = "-I/usr/local/fftw3-3.2.2/include"

            fftw2_dir       = "-L/usr/local/fftw2-2.1.5/lib"
            fftw2_lib       = "-ldfftw -ldfftw_mpi -ldrfftw -ldrfftw_mpi"
            fftw2_inc       = "-I/usr/local/fftw2-2.1.5/include"

            netcdf3_dir     = ""
            netcdf3_lib     = ""
            netcdf3_inc     = ""

	    module_cmd      = "module load"
       />
     </platform>

     <platform name="Intel-Nehalem-Laki">
       <params       
	    make            = "make"
            rm              = "rm -f"
            ar              = "ar"
            arflags         = "-rs"
            ranlib          = "ranlib"

            cpp             = "cpp"
            cppflags        = "-P"

	    cc              = "icc"
	    cflags          = ""

	    cxx             = "icpc"
            cxxflags        = ""

	    f77             = "ifort"
	    f90             = "ifort"

            mpi_cc          = "mpicc"
	    mpi_cxx         = "mpicxx"

	    mpi_f77         = "mpif77"
	    f77flags        = ""

	    mpi_f90         = "mpif90"
	    f90flags        = ""

            mpi_dir         = ""
            mpi_lib         = ""
            mpi_inc         = ""
            mpi_bin         = ""

	    ldflags         = ""

            blas_dir        = ""
            blas_lib        = "-lmkl"

            lapack_dir      = ""
            lapack_lib      = "-lmkl"

            fftw3_dir       = ""
            fftw3_lib       = "-lmkl"
            fftw3_inc       = ""

            fftw2_dir       = ""
            fftw2_lib       = "-lmkl"
            fftw2_inc       = ""

	    module_cmd      = "module load"
       />
     </platform>

    <platform name="Intel-Haswell-Cartesius">
        <params       
        make            = "make"
        rm              = "rm -f"
        ar              = "xiar"
        arflags         = "-rs"
        ranlib          = "ranlib"

        cpp             = "cpp"
        cppflags        = "-P"

        cc              = "icc"
        cflags          = "-O3"

        cxx             = "icpc"
        cxxflags        = "-O3  --DMPICH_IGNORE_CXX_SEEK"

        f77             = "ifort"
        f90             = "ifort"

        mpi_cc          = "mpicc -cc=icc"
        mpi_cxx         = "mpicxx -cxx=icpc"

        mpi_f77         = "mpiifort"
        f77flags        = ""

        mpi_f90         = "mpiifort"
        f90flags        = ""

        ldflags         = ""

        blas_dir        = "-L/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64"
        blas_lib        = "-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lm"

        lapack_dir      = "-L/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64"
        lapack_lib      = "-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lm"

        fftw3_dir       = "-L/hpc/sw/fftw3avx-3.3.3-intel-impi/lib"
        fftw3_lib       = "-lfftw3 -lm"
        fftw3_inc       = "-I/hpc/sw/fftw3avx-3.3.3-intel-impi/include"

        fftw2_dir       = "-L/hpc/sw/fftw2-2.1.5-intel-impi/lib"
        fftw2_lib       = "-ldfftw -ldfftw_mpi -ldrfftw -ldrfftw_mpi"
        fftw2_inc       = "-I/hpc/sw/fftw2-2.1.5-intel-impi/include"

        netcdf3_dir     = ""
        netcdf3_lib     = ""
        netcdf3_inc     = ""

        module_cmd      = "module load"
        />
    </platform>
	 
	 <platform name="Intel-Broadwell-Marconi">
        <params       
        make            = "make"
        rm              = "rm -f"
        ar              = "xiar"
        arflags         = "-rs"
        ranlib          = "ranlib"

        cpp             = "cpp"
        cppflags        = "-P"

        cc              = "icc"
        cflags          = "-O2"

        cxx             = "icxx"
        cxxflags        = "-O2 --DMPICH_IGNORE_CXX_SEEK"

        f77             = "ifort"
        f90             = "ifort"

        mpi_cc          = "mpiicc  -cc=icc"
        mpi_cxx         = "mpi icxx -cxx=icpc"

        mpi_f77         = "mpiifort"
        f77flags        = "-fpp"


        mpi_f90         = "mpiifort"
        f90flags        = "-fpp"

        ldflags         = ""

	blas_dir        = ""
        blas_lib        = "-lblas"
                                    
        lapack_dir      = ""
		  lapack_lib      = "-llapack -lblas"
			  
        fftw3_dir       = ""
        fftw3_lib       = "-lfftw3 -lm"
        fftw3_inc       = ""

        netcdf3_dir     = ""
		  netcdf3_lib     = "-lnetcdf"
		  netcdf3_inc     = ""

		  hdf5_dir        = ""
		  hdf5_lib        = "-lhdf5 -lz"
		  hdf5_inc        = ""

        module_cmd      = "module load"
        />
    </platform>
</platforms>

