{"id":779,"date":"2022-01-11T09:55:39","date_gmt":"2022-01-11T09:55:39","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf4\/?page_id=779"},"modified":"2022-02-11T10:48:26","modified_gmt":"2022-02-11T10:48:26","slug":"wps","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/software\/applications\/wps\/","title":{"rendered":"WPS"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>WPS is the preprocessing system for the <a href=\"http:\/\/www2.mmm.ucar.edu\/wrf\/users\/\">Weather Research and Forecasting Model (WRF)<\/a>.<\/p>\n<p>Versions 4.0.3 and 4.3.1 are installed on CSF4. We are awaiting v4.3.2 to be released.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>WRF is open source, and has been released with no restrictions on use (licensing or otherwise). <\/p>\n<h2>Set up procedure<\/h2>\n<p>We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example jobscript below for how to do this.<\/p>\n<p>Load <em>one<\/em> of the following modulefiles:<\/p>\n<pre>\r\n# Note that WPS 4.3.3 and 4.3.2 are not available yet even though WRF 4.3.3 and 4.3.2 are.\r\nmodule load wps\/4.3.1-foss-2020a-dmpar\r\nmodule load wps\/4.0.3-foss-2020a-dmpar\r\n<\/pre>\n<p>Please see the <a href=\"..\/wrf\">WRF instructions<\/a> for the corresponding WRF modulefiles.<\/p>\n<p>Copy the running directory (which contains standard input files required by WPS) for your version of the model using:<\/p>\n<pre>\r\n# Work in your scratch area. For example:\r\ncd ~\/scratch\r\n\r\n# Copy the running directory from the central install to your current directory\r\ncp -a $WPS_RUNDIR <em>scenario_name<\/em>\r\n<\/pre>\n<p>This will create a directory named <code><em>scenario_name<\/em><\/code> in the current directory.<\/p>\n<p>Change into the new directory, and link to the geography data directory:<\/p>\n<pre>\r\nln -s $WPS_GEOG geog\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Please do not run the WPS processes on the login node &#8211; they are computationally intensive, and some require MPI parallisation to run properly. Jobs should be submitted to the compute nodes via batch.<\/p>\n<h3>Serial batch job submission<\/h3>\n<p>If you need to run any of the WPS utilities using a single core, the following serial jobscript would be suitable:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#SBATCH -p serial      # (or --partition=serial) Optional line - default is serial\r\n\r\n# Load the version you require, first removing any inherited modules\r\nmodule purge\r\nmodule load wps\/4.3.1-foss-2020a-dmpar\r\n\r\n# Run the model\r\nungrib.exe\r\n<\/pre>\n<h3>Parallel multicore batch job submission<\/h3>\n<p>If you wish to run any of the WPS utilities using multiple cores, the following multicore jobscript would be suitable:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#SBATCH -p multicore    # (or --partition=) Multicore (single node) parallel job\r\n#SBATCH -n 8            # (or --ntasks=) Number of cores - can be 2--40\r\n\r\n# Load the version you require, first clearing any inherited modules\r\nmodule purge\r\nmodule load wps\/4.3.1-foss-2020a-dmpar\r\n\r\n# Run the model\r\nmpirun geogrid.exe\r\n          #\r\n          # Use your required WPS executable (geogrid.exe, metgrid.exe)\r\n<\/pre>\n<h3>Parallel multi-node batch job submission<\/h3>\n<p>If you wish to run any of the WPS utilities using multiple cores on multiple compute nodes, the following multicore jobscript would be suitable:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#SBATCH -p multinode    # (or --partition=) Multinode parallel job\r\n#SBATCH -n 80           # (or --ntasks=) Number of cores, 80 or more in multiple of 40\r\n\r\n# Load the version you require, first clearing any inherited modules\r\nmodule purge\r\nmodule load wps\/4.3.1-foss-2020a-dmpar\r\n\r\n# Run the model\r\nmpirun geogrid.exe\r\n          #\r\n          # Use your required WPS executable (geogrid.exe, metgrid.exe)\r\n<\/pre>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"http:\/\/www2.mmm.ucar.edu\/wrf\/users\/\">WRF website<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview WPS is the preprocessing system for the Weather Research and Forecasting Model (WRF). Versions 4.0.3 and 4.3.1 are installed on CSF4. We are awaiting v4.3.2 to be released. Restrictions on use WRF is open source, and has been released with no restrictions on use (licensing or otherwise). Set up procedure We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/software\/applications\/wps\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"parent":49,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-779","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/comments?post=779"}],"version-history":[{"count":5,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/779\/revisions"}],"predecessor-version":[{"id":798,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/779\/revisions\/798"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/49"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/media?parent=779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}