Home Agenda Lectures Virtual Mtg. Etiquette



  Quick Links

Run WRF-ARW for an Idealized Case
 
wrf_ideal_serial (includes all of the idealized cases, built serially)
wrf_ideal_dm (includes only the 3d cases, built in parallel - dmpar compile option)


Set up the case of your choice

  1. Move into the appropriate directory.
    cd /glade/derecho/scratch/$USER/practice_exercises/wrf_ideal_serial/test/em_case_you_desire
    Or, if you'd like to run a 3D case (this will take longer than a 2d case)
    cd /glade/derecho/scratch/$USER/practice_exercises/wrf_ideal_dm/test/em_case_you_desire

  2. Edit namelist.input to change the length of integration, frequency of output, size of domain, time step, physics options, and other parameters if you'd like. Otherwise, you can just run the default case.


  3. Run the initialization program, which will generate a wrfinput_d01 file. Idealized cases do not require a lateral boundary file because they are not on a real grid and use boundary conditions such as "periodic" (for e.g.).


    Note

    If you are running the em_fire case, you will need to follow some extra steps before running ideal.exe.

    Running ideal.exe for Cases Built for Serial Computation

    Simply issue the following in the command line:
    ./ideal.exe

    Running ideal.exe for Cases Built for Distributed Memory Computation

    If you are running a 3d case with distributed memory ((i.e., wrf_ideal_dm/test/em*), simply issue:
    qsub runideal.sh
    Note that even when running ideal.exe with distributed memory, you must always only use a single processor. If you take a look inside the "runideal.sh" script, you will see we are only requesting one processor. This is true on all machines - not just NCAR HPCs.



Run the model


Running WRF for Ideal Cases built for Serial Computation

When running serially on NCAR's HPC systems, specifically, to avoid saturating the login nodes and negatively impacting other users, we will run wrf.exe on a batch node with the special qcmd command, which launches the specified command on a batch node and returns when the command has finished. So, although you would normally not use "qcmd" when running wrf on other systems, for this tutorial we will prefix the usual run command with qcmd -A UMMM0005 -- (where UMMM0005 is the computing project we're working under).

qcmd -A NMMM0054 -- ./wrf.exe >& wrf.out

Running WRF for Ideal Cases Built for Distributed Memory Computation

If you are running a 3d case with distributed memory ((i.e., wrf_ideal_dm/test/em*), simply issue:

qsub runwrf.sh

Generate graphics for your case

If interested, choose a graphical package and generate plots.

WRF Tutorial Exercises



Continue to More Exercises

If you plan to attempt more exercises right now, you can access the cases studies menu by clicking here.