wiki:sampleXML

Version 1 (modified by skbhate, 16 years ago) ( diff )

--

<?xml version="1.0" encoding="ISO-8859-1"?>
<regressionCSTM xmlns="http://www.roms-cstm.org"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.roms-cstm.org ../schema/regressionCSTMSchema.xsd">

#Application 'UPWELLING' which compiles (serial mode) and submits a model run via PBS queuing. 

        <applicationType type="UPWELLING">

        # A instance of application UPWELLING
                <applicationInstance instance="upwelling_1">
                        <instanceDir dir="/cygdrive/c/skbhate/dev/nopp/myupwelling">
                                <header/>
                                <analytical/> 
                        </instanceDir>
                        <compiler>
                             <type name="ifort"/>
                             <type name="gfortran"/>
                        </compiler>
                        <inputFile>ocean_upwelling.in</inputFile>
                        <nestedGrids number="1"/>
                        <modelRun>
                                <ppn>1</ppn>
                                <nodes>1</nodes>
                                <ncpus>1</ncpus>
                        <!--    <noPbs/>  -->
                        </modelRun>
                        <regressTests>    
                                <test name="ncdiff" fileType="his"/> 
                                <test name="ncks" fileType="rst"/>     
                        </regressTests>
                </applicationInstance>

# 2nd instance of UPWELLING
                <applicationInstance instance="upwelling_2">                    
                        <compiler>
                                <type name="pgi"/>
                        </compiler>
                        <inputFile>ocean_upwelling.in</inputFile>
                        <nestedGrids number="1"/>
                </applicationInstance>

        </applicationType>

#Application 'ESTUARY_TEST', which compiles application in parallel using MPI, submits a model run via PBS queuing, and[[BR]]
#performs NCO tools tests on model output.

        <applicationType type="ESTUARY_TEST">
         
         # A instance of 'ESTUARY TEST'
                <applicationInstance instance="estuary_1">
                         <instanceDir dir="/cygdrive/c/skbhate/dev/nopp/myupwelling">
                                <header/>
                                <analytical/> 
                        </instanceDir>
                        <compiler>
                                <type name="pgi"/>
                                <type name="ifort"/>
                        </compiler>
                        <inputFile>ocean_estuary_test.in</inputFile>
                        <nestedGrids number="1"/>
                
                        <parallel>
                                <interface>MPI</interface>
                                <mpiF90/>
                        </parallel>
                        <large/>        
                        <modelRun>
                                <ppn>4</ppn>
                                <nodes>1</nodes>
                                <ncpus>4</ncpus>
                        <!--    <noPbs/>   -->
                        </modelRun>
                        <regressTests>    
                                <test name="ncdiff" fileType="his"/> 
                        </regressTests>  
                </applicationInstance>

        </applicationType>

# Set up the environment variables for various compilers 
        <environment>
                <compiler name="ifort">

                #Environmental variables
                        <var name="ESMF_COMPILER" value="ifort"/>
                        <var name="NETCDF_LIBDIR" value="/usr/local/netcdf-3.6.2-intel/lib"/>
                        <var name="NETCDF_INCDIR" value="/usr/local/netcdf-3.6.2-intel/include"/>
                #Executables 
                        <exe name="mpirun" path="/usr/local/mpi/bin/"/>
                </compiler>
                <compiler name="pgi">
                        <var name="NETCDF_LIBDIR" value="/usr/local/netcdf-3.6.2-pgi/lib"/>
                        <var name="NETCDF_INCDIR" value="/usr/local/netcdf-3.6.2-pgi/include"/>
                        <var name="ESMF_COMPILER" value="pgi"/>
                        <exe name="mpirun" path="/usr/local/mpi/bin/"/>
                </compiler>
                <compiler name="gfortran">
                        <var name="NETCDF_LIBDIR" value="/usr/local/netcdf/gfortran/lib"/>
                        <var name="NETCDF_INCDIR" value="/usr/local/netcdf/gfortran/include"/>
                        <var name="ESMF_COMPILER" value="gfortran"/>
                        <exe name="mpirun" path="/opt/local/bin"/>
                </compiler>
                <compiler name="g95">
                        <var name="ESMF_COMPILER" value="ifort"/>
                </compiler>
        </environment>

</regressionCSTM>
Note: See TracWiki for help on using the wiki.