Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: instructions for building VRM Tools

...

Anchor
Create Grid
Create Grid
Create a new variable resolution mesh (VRM)

Get and build VRM Tools: VRM_Editor and Create_VRMgrid

On casper, download the VRM Tools software:

{navigate to your home or work directory}
> git clone https://github.com/ESMCI/Community_Mesh_Generation_Toolkit.git
> cd Community_Mesh_Generation_Toolkit
> git checkout VRMtools_MCT_v1.0

In the instructions below, $(VRM_tools) = {your_path}/Community_Mesh_Generation_Toolkit/VRM_tools

> cd ${VRM_tools}/VRM_Editor/src
> module load gcc/12.2.0 
> module load ncarenv/23.10
> qmake VRM_Editor.pro
> make

Running "make" produces a lot of warning messages; that’s ok.  For Linux users, with the Qt and netCDF packages installed, building the editor should be as simple as for Casper.

Build Create_VRMgrid on Casper: 

> cd Community_Mesh_Generation_Toolkit/VRM_tools/VRM_Editor/src
> module load gnu
> make -f Makefile-Create_VRMgrid

Instructions on using it are provided below.


Start VRM_Editor

In your repository directory, create a 'grids' subdirectory.  On casper start the VRM Editor from your $REPO/grids directory:

> cd $REPO/grids
> /glade/work/emmons/tutorial_Nanjing/${VRM_tools}/VRM_Editor/src/VRM_Editor

If you are working on a different computer, download the VRM_tools software by running:

> git clone https://github.com/ESMCI/Community_Mesh_Generation_Toolkit.git

and follow instructions in the documentation.

Set up

...

base grid

On the ‘VRM’ tab, select:

...