{"id":1814,"date":"2019-09-09T15:09:34","date_gmt":"2019-09-09T15:09:34","guid":{"rendered":"https:\/\/www.ssec.wisc.edu\/mcidas\/?page_id=1814"},"modified":"2025-01-30T19:50:51","modified_gmt":"2025-01-30T19:50:51","slug":"install","status":"publish","type":"page","link":"https:\/\/www.ssec.wisc.edu\/mcidas\/archive\/2018-2\/xcd\/install\/","title":{"rendered":"McIDAS-XCD Installation Instructions v. 2018.2"},"content":{"rendered":"<p>Note: You <strong>must<\/strong> install <a href=\"..\/..\/x\/download\/\" target=\"_blank\" rel=\"noopener noreferrer\">McIDAS-X 2018.2<\/a> on the workstation <strong>before<\/strong> you install McIDAS-XCD 2018.2. Then continue with the appropriate set of instructions, as described below.<\/p>\n<h3>McIDAS-XCD v. 2018.2<\/h3>\n<p>If you are installing McIDAS-XCD for the first time on the workstation, go to the <em>McIDAS-XCD Administrator&#8217;s Guide<\/em>&#8216;s <a href=\"https:\/\/www.ssec.wisc.edu\/mcidas\/doc\/xcd_guide\/2018.2\/install-6.html\" target=\"_blank\" rel=\"noopener noreferrer\"> Installing McIDAS-XCD 2018.2 for the First Time<\/a> and complete its instructions. (Use those instructions rather than those below.)<\/p>\n<p>If you are installing McIDAS-XCD Fastrack version 2018.2 on a workstation that already has a previous version of McIDAS-XCD installed, complete the steps below.<\/p>\n<ol>\n<li class=\"Numbers\">At a Unix prompt as user <strong>oper<\/strong>, stop McIDAS-XCD and then LDM by running the commands below in order.\n<div>\n<p class=\"Numbers-Command\" style=\"padding-left: 90px;\">Type: <span class=\"Unix\"><strong>xcdadmin stop<\/strong><\/span><br \/>\nType: <span class=\"Unix\"><strong>ldmadmin stop<\/strong><\/span><\/p>\n<\/div>\n<\/li>\n<li class=\"Numbers\">As user <span class=\"Unix\"><strong>oper<\/strong><\/span>, run the script below from the <span class=\"firstnum\"><span class=\"Unix\"><strong>~oper\/mcidas<\/strong><\/span><\/span> directory to build and install McIDAS-XCD 2018.2 using the same settings for optional flags <span class=\"Unix\"><strong>-noopt<\/strong><\/span> and <span class=\"Unix\"><strong>-mysql<\/strong><\/span> as were used to build McIDAS-X 2018.2. You must use the same compilers and optional flag settings for both the McIDAS-X and McIDAS-XCD builds.\n<div>\n<div>\n<p class=\"Numbers-Command\" style=\"padding-left: 90px;\">Type: <span class=\"Unix\"><strong>sh\u00a0.\/xcd2018.2.sh\u00a0<\/strong>\u00a0<\/span><em>flags\u00a0<\/em><span class=\"Unix\">\u00a0<strong>build<\/strong><\/span><\/p>\n<p class=\"Numbers-Text\">where <span class=\"Type-Press\"><em>flags<\/em><\/span> is zero, one or both of the two optional flags described below.<\/p>\n<ul>\n<li>The <span class=\"Type-Press\"><strong>-noopt<\/strong><\/span> flag is used to build McIDAS-XCD with no optimization. If you don&#8217;t specify this <span class=\"Type-Press\"><strong>-noopt<\/strong><\/span> flag, McIDAS-XCD is built using the default optimization: -O1 for builds with gcc\/gfortran.<\/li>\n<li>The <span class=\"Type-Press\"><strong>-mysql<\/strong><\/span> flag is used to build McIDAS-XCD using the MySQL\/MariaDB database libraries. Use this flag if this workstation will be serving real-time GRIB files from the NOAAPORT data stream and you have installed and want to use a MySQL\/MariaDB database to make the GRIB data access faster for your McIDAS-X clients\/users. If the database is in a non-standard install location, specify the flag as <span class=\"Type-Press\"><strong>-mysql=<em>directory<\/em><\/strong><\/span>, where <span class=\"Type-Press\"><strong><em>directory<\/em><\/strong><\/span> is the root MySQL\/MariaDB install directory. Remember, the <span class=\"Type-Press\"><strong>-mysql<\/strong><\/span> flag must be specified when building both McIDAS-X and McIDAS-XCD.<\/li>\n<\/ul>\n<p class=\"Numbers-Text\">When the script <span class=\"Unix\"><strong>xcd2018.2.sh<\/strong><\/span> is finished, you will see the message below.<\/p>\n<div style=\"padding-left: 90px; padding-bottom: 15px;\">\n<table border=\"1\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" valign=\"top\">\n<pre class=\"Screen\">McIDAS-XCD binaries built correctly<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/li>\n<li class=\"Numbers\">As user <span class=\"Unix\"><strong>oper<\/strong><\/span>, run the script below from the <span class=\"firstnum\"><span class=\"Unix\"><strong>~oper\/mcidas<\/strong><\/span><\/span> directory to install the new executable code and a subset of the replaceable McIDAS-XCD data files for your workstation.\n<div>\n<div>\n<p class=\"Numbers-Command\" style=\"padding-left: 90px;\">Type: <span class=\"Unix\"><strong>sh .\/xcd2018.2.sh cutover<\/strong><\/span><\/p>\n<\/div>\n<p class=\"Numbers-Text\">When the script is finished, you will see the message below.<\/p>\n<div style=\"padding-left: 90px; padding-bottom: 15px;\">\n<table border=\"1\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" valign=\"top\">\n<pre class=\"Screen\">McIDAS-XCD package cutover is now complete<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/li>\n<li>As user <span class=\"Unix\"><strong>oper<\/strong><\/span> run the script below to add the new configuration file <strong>~oper\/mcidas\/data\/ITSHPDEC.CFG<\/strong> to enable the -XCD system to process TEMP SHIP mandatory level data and create MD files in the expected location (MD files 41-50).\n<div>\n<p class=\"Numbers-Command\" style=\"padding-left: 90px;\">Type: <span class=\"Unix\"><strong>sh .\/xcd2018.2.sh install 2018.2_update<\/strong><\/span><\/p>\n<\/div>\n<\/li>\n<li class=\"Numbers\">As user <span class=\"Unix\"><strong> oper<\/strong><\/span>, start a McIDAS-X session and run the command below to remove the .IDT files. The .IDT files are recreated after McIDAS-XCD is restarted (last step below) and at that point will contain the <span class=\"Unix\"><strong>STNDB.CORE<\/strong><\/span> updates.\n<div>\n<p class=\"Numbers-Command\" style=\"padding-left: 90px;\">Type: <span class=\"Unix\"><strong>BATCH RECREATEIDT.BAT<\/strong><\/span><\/p>\n<\/div>\n<\/li>\n<li class=\"Numbers\">In the McIDAS-X session started as user <span class=\"Unix\"><strong> oper<\/strong><\/span> in step 5 above, run the command below to update the SCHEMA files on the McIDAS-XCD machine. This is necessary due to the addition of the TEMP SHIP data schema.\n<div>\n<p class=\"Numbers-Command\" style=\"padding-left: 90px;\">Type: <span class=\"Unix\"><strong>BATCH UPDATESCHEMA.BAT<\/strong><\/span><\/p>\n<\/div>\n<\/li>\n<li class=\"Numbers\">In the McIDAS-X session started as user <span class=\"Unix\"><strong> oper<\/strong><\/span> in step 5 above, run the two commands below. The first command (<strong>BATCH REGROUP.BAT<\/strong>) recreates the <span class=\"Unix\"><strong>GROUPS.DAT<\/strong><\/span> and <span class=\"Unix\"><strong>COUNTRY.DAT<\/strong><\/span> files so they contain the station database changes included in McIDAS-X Fastrack 2018.2. The second command (<strong>BATCH REBILDRAP.BAT<\/strong>) rebuilds the Rapid Access Pointer files so they include the same station database changes and rebuilds the Rapid Access Text files. Note that running the second command erases the previous content of the <strong>*.RAP<\/strong> and <strong>*.RAT<\/strong> files, so they will contain only new data. <em>That means that the user commands MOSRPT, OBSRPT, RAOBRPT, SFCRPT, SYNRPT and TAFRPT will not be able to access any data from prior to McIDAS-XCD being restarted (last step below).<\/em>\n<div>\n<p class=\"Numbers-Command\" style=\"padding-left: 90px;\">Type: <span class=\"Unix\"><strong>BATCH REGROUP.BAT <\/strong><\/span><br \/>\nType: <span class=\"Unix\"><strong>BATCH REBILDRAP.BAT <\/strong><\/span><\/p>\n<\/div>\n<\/li>\n<li class=\"Numbers\">As user <span class=\"Unix\"><strong> mcadde<\/strong><\/span>, start a McIDAS-X session and run the command below to recreate the <span class=\"Unix\"><strong>GROUPS.DAT<\/strong><\/span> and <span class=\"Unix\"><strong>COUNTRY.DAT<\/strong><\/span> files in the <span class=\"Unix\"><strong>mcadde<\/strong><\/span> account so they contain the station database changes included in McIDAS-X Fastrack 2018.2.\n<div>\n<p class=\"Numbers-Command\" style=\"padding-left: 90px;\">Type: <span class=\"Unix\"><strong>BATCH REGROUP.BAT<\/strong><\/span><\/p>\n<\/div>\n<\/li>\n<li class=\"Numbers\" style=\"padding-bottom: 15px;\">As user <span class=\"Unix\"><strong>mcadde<\/strong><\/span>, make a backup copy of your <strong>RESOLV.SRV<\/strong> file (e.g., <strong>cp RESOLV.SRV RESOLV.SRV.BAK<\/strong>) in preparation of adding the RTPTSRC\/TEMPSHIP dataset in Step 10 below.<\/li>\n<li class=\"Numbers\">In the McIDAS-X session started as user <span class=\"Unix\"><strong>mcadde<\/strong><\/span> in step 8 above, run the command below to add the new RTPTSRC\/TEMPSHIP dataset.\n<div>\n<p class=\"Numbers-Command\" style=\"padding-left: 90px;\">Type: <span class=\"Unix\"><strong>BATCH XCDRTPT.BAT CONTINUE=YES<\/strong><\/span><\/p>\n<\/div>\n<\/li>\n<li class=\"Numbers\">As user <span class=\"Unix\"><strong> mcidas<\/strong><\/span>, run the script below from the <span class=\"firstnum\"><span class=\"Unix\"><strong>~oper\/mcidas<\/strong><\/span><\/span> directory to install the new ADDE server executable code in the <span class=\"Unix\"><strong>mcidas<\/strong><\/span> account.\n<div>\n<div>\n<p class=\"Numbers-Command\" style=\"padding-left: 90px;\">Type: <span class=\"Unix\"> <strong>sh .\/xcd2018.2.sh install addeservers<\/strong><\/span><\/p>\n<\/div>\n<\/div>\n<\/li>\n<li>Restart LDM and then McIDAS-XCD by running the commands below in order at a Unix prompt as user <strong>oper<\/strong>.\n<div>\n<p class=\"Numbers-Command\" style=\"padding-left: 90px;\">Type: <span class=\"Unix\"><strong>ldmadmin start<\/strong><\/span><br \/>\nType: <span class=\"Unix\"><strong>xcdadmin start<\/strong><\/span><\/p>\n<\/div>\n<\/li>\n<\/ol>\n<p class=\"Body-Text\">This concludes the McIDAS-XCD Fastrack version 2018.2 installation procedure. If you would like to modify the configuration of your McIDAS-XCD workstation, go to the <span class=\"Numbers\"><em>McIDAS-XCD Administrator&#8217;s Guide<\/em>&#8216;s<\/span> <a class=\"XRef\" href=\"https:\/\/www.ssec.wisc.edu\/mcidas\/doc\/xcd_guide\/2018.2\/install-7.html\" target=\"_blank\" rel=\"noopener noreferrer\">Configuring McIDAS-XCD<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Note: You must install McIDAS-X 2018.2 on the workstation before you install McIDAS-XCD 2018.2. Then continue with the appropriate set of instructions, as described below. McIDAS-XCD v. 2018.2 If you are installing McIDAS-XCD for the first time on the workstation, go to the McIDAS-XCD Administrator&#8217;s Guide&#8216;s Installing McIDAS-XCD 2018.2 for the First Time and complete [&hellip;]<\/p>\n","protected":false},"author":48,"featured_media":0,"parent":3623,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-1814","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ssec.wisc.edu\/mcidas\/wp-json\/wp\/v2\/pages\/1814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ssec.wisc.edu\/mcidas\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ssec.wisc.edu\/mcidas\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ssec.wisc.edu\/mcidas\/wp-json\/wp\/v2\/users\/48"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ssec.wisc.edu\/mcidas\/wp-json\/wp\/v2\/comments?post=1814"}],"version-history":[{"count":2,"href":"https:\/\/www.ssec.wisc.edu\/mcidas\/wp-json\/wp\/v2\/pages\/1814\/revisions"}],"predecessor-version":[{"id":3645,"href":"https:\/\/www.ssec.wisc.edu\/mcidas\/wp-json\/wp\/v2\/pages\/1814\/revisions\/3645"}],"up":[{"embeddable":true,"href":"https:\/\/www.ssec.wisc.edu\/mcidas\/wp-json\/wp\/v2\/pages\/3623"}],"wp:attachment":[{"href":"https:\/\/www.ssec.wisc.edu\/mcidas\/wp-json\/wp\/v2\/media?parent=1814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}