{"id":5917,"date":"2022-09-01T14:15:30","date_gmt":"2022-09-01T18:15:30","guid":{"rendered":"https:\/\/labs.icahn.mssm.edu\/minervalab\/?page_id=5917"},"modified":"2026-11-17T15:33:59","modified_gmt":"2026-11-17T20:33:59","slug":"software-build-and-compile-on-minerva","status":"publish","type":"page","link":"https:\/\/labs.icahn.mssm.edu\/minervalab\/documentation\/software-build-and-compile-on-minerva\/","title":{"rendered":"Software Build and Compile on Minerva"},"content":{"rendered":"<p>[et_pb_section bb_built=&#8221;1&#8243; fullwidth=&#8221;on&#8221; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221; next_background_color=&#8221;#000000&#8243;][et_pb_fullwidth_menu menu_id=&#8221;15&#8243; menu_style=&#8221;centered&#8221; fullwidth_menu=&#8221;on&#8221; active_link_color=&#8221;#d80b8c&#8221; dropdown_menu_line_color=&#8221;#221f72&#8243; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221; menu_font=&#8221;|600|||||||&#8221; menu_text_color=&#8221;#FFFFFF&#8221; menu_font_size=&#8221;16px&#8221; background_color=&#8221;#221f72&#8243; background_layout=&#8221;dark&#8221; sticky_position=&#8221;top&#8221; \/][\/et_pb_section][et_pb_section bb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.0&#8243; custom_padding=&#8221;0px||0px||false|false&#8221; prev_background_color=&#8221;#000000&#8243; next_background_color=&#8221;#000000&#8243;][et_pb_row _builder_version=&#8221;4.9.0&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_padding=&#8221;||0px||false|false&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Breadcrumb&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243; background_pattern_color=&#8221;rgba(0,0,0,0.2)&#8221; background_mask_color=&#8221;#ffffff&#8221; text_text_shadow_horizontal_length=&#8221;text_text_shadow_style,%91object Object%93&#8243; text_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; text_text_shadow_vertical_length=&#8221;text_text_shadow_style,%91object Object%93&#8243; text_text_shadow_vertical_length_tablet=&#8221;0px&#8221; text_text_shadow_blur_strength=&#8221;text_text_shadow_style,%91object Object%93&#8243; text_text_shadow_blur_strength_tablet=&#8221;1px&#8221; link_text_shadow_horizontal_length=&#8221;link_text_shadow_style,%91object Object%93&#8243; link_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; link_text_shadow_vertical_length=&#8221;link_text_shadow_style,%91object Object%93&#8243; link_text_shadow_vertical_length_tablet=&#8221;0px&#8221; link_text_shadow_blur_strength=&#8221;link_text_shadow_style,%91object Object%93&#8243; link_text_shadow_blur_strength_tablet=&#8221;1px&#8221; ul_text_shadow_horizontal_length=&#8221;ul_text_shadow_style,%91object Object%93&#8243; ul_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; ul_text_shadow_vertical_length=&#8221;ul_text_shadow_style,%91object Object%93&#8243; ul_text_shadow_vertical_length_tablet=&#8221;0px&#8221; ul_text_shadow_blur_strength=&#8221;ul_text_shadow_style,%91object Object%93&#8243; ul_text_shadow_blur_strength_tablet=&#8221;1px&#8221; ol_text_shadow_horizontal_length=&#8221;ol_text_shadow_style,%91object Object%93&#8243; ol_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; ol_text_shadow_vertical_length=&#8221;ol_text_shadow_style,%91object Object%93&#8243; ol_text_shadow_vertical_length_tablet=&#8221;0px&#8221; ol_text_shadow_blur_strength=&#8221;ol_text_shadow_style,%91object Object%93&#8243; ol_text_shadow_blur_strength_tablet=&#8221;1px&#8221; quote_text_shadow_horizontal_length=&#8221;quote_text_shadow_style,%91object Object%93&#8243; quote_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; quote_text_shadow_vertical_length=&#8221;quote_text_shadow_style,%91object Object%93&#8243; quote_text_shadow_vertical_length_tablet=&#8221;0px&#8221; quote_text_shadow_blur_strength=&#8221;quote_text_shadow_style,%91object Object%93&#8243; quote_text_shadow_blur_strength_tablet=&#8221;1px&#8221; header_text_shadow_horizontal_length=&#8221;header_text_shadow_style,%91object Object%93&#8243; header_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; header_text_shadow_vertical_length=&#8221;header_text_shadow_style,%91object Object%93&#8243; header_text_shadow_vertical_length_tablet=&#8221;0px&#8221; header_text_shadow_blur_strength=&#8221;header_text_shadow_style,%91object Object%93&#8243; header_text_shadow_blur_strength_tablet=&#8221;1px&#8221; header_2_text_shadow_horizontal_length=&#8221;header_2_text_shadow_style,%91object Object%93&#8243; header_2_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; header_2_text_shadow_vertical_length=&#8221;header_2_text_shadow_style,%91object Object%93&#8243; header_2_text_shadow_vertical_length_tablet=&#8221;0px&#8221; header_2_text_shadow_blur_strength=&#8221;header_2_text_shadow_style,%91object Object%93&#8243; header_2_text_shadow_blur_strength_tablet=&#8221;1px&#8221; header_3_text_shadow_horizontal_length=&#8221;header_3_text_shadow_style,%91object Object%93&#8243; header_3_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; header_3_text_shadow_vertical_length=&#8221;header_3_text_shadow_style,%91object Object%93&#8243; header_3_text_shadow_vertical_length_tablet=&#8221;0px&#8221; header_3_text_shadow_blur_strength=&#8221;header_3_text_shadow_style,%91object Object%93&#8243; header_3_text_shadow_blur_strength_tablet=&#8221;1px&#8221; header_4_text_shadow_horizontal_length=&#8221;header_4_text_shadow_style,%91object Object%93&#8243; header_4_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; header_4_text_shadow_vertical_length=&#8221;header_4_text_shadow_style,%91object Object%93&#8243; header_4_text_shadow_vertical_length_tablet=&#8221;0px&#8221; header_4_text_shadow_blur_strength=&#8221;header_4_text_shadow_style,%91object Object%93&#8243; header_4_text_shadow_blur_strength_tablet=&#8221;1px&#8221; header_5_text_shadow_horizontal_length=&#8221;header_5_text_shadow_style,%91object Object%93&#8243; header_5_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; header_5_text_shadow_vertical_length=&#8221;header_5_text_shadow_style,%91object Object%93&#8243; header_5_text_shadow_vertical_length_tablet=&#8221;0px&#8221; header_5_text_shadow_blur_strength=&#8221;header_5_text_shadow_style,%91object Object%93&#8243; header_5_text_shadow_blur_strength_tablet=&#8221;1px&#8221; header_6_text_shadow_horizontal_length=&#8221;header_6_text_shadow_style,%91object Object%93&#8243; header_6_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; header_6_text_shadow_vertical_length=&#8221;header_6_text_shadow_style,%91object Object%93&#8243; header_6_text_shadow_vertical_length_tablet=&#8221;0px&#8221; header_6_text_shadow_blur_strength=&#8221;header_6_text_shadow_style,%91object Object%93&#8243; header_6_text_shadow_blur_strength_tablet=&#8221;1px&#8221; box_shadow_horizontal_tablet=&#8221;0px&#8221; box_shadow_vertical_tablet=&#8221;0px&#8221; box_shadow_blur_tablet=&#8221;40px&#8221; box_shadow_spread_tablet=&#8221;0px&#8221; vertical_offset_tablet=&#8221;0&#8243; horizontal_offset_tablet=&#8221;0&#8243; z_index_tablet=&#8221;0&#8243; custom_css_free_form=&#8221;#breadcrumb {||  list-style: none;||  display: inline-block;||  margin-left: 0px;||}||#breadcrumb .icon {||  font-size: 14px;||}||#breadcrumb li {||  float: left;||}||#breadcrumb li a {||  color: #fff;||  display: block;||  background: #3498db;||  text-decoration: none;||  position: relative;||  height: 20px;||  line-height: 20px;||  padding: 0 10px 0 5px;||  text-align: center;||  margin-right: 23px;||}||#breadcrumb li:nth-child(even) a {||  background-color: #2980b9;||}||#breadcrumb li:nth-child(even) a:before {||  border-color: #2980b9;||  border-left-color: transparent;||}||#breadcrumb li:nth-child(even) a:after {||  border-left-color: #2980b9;||}||#breadcrumb li:first-child a {||  padding-left: 15px;||  -moz-border-radius: 4px 0 0 4px;||  -webkit-border-radius: 4px;||  border-radius: 4px 0 0 4px;||}||#breadcrumb li:first-child a:before {||  border: none;||}||#breadcrumb li:last-child a {||  padding-right: 15px;||  -moz-border-radius: 0 4px 4px 0;||  -webkit-border-radius: 0;||  border-radius: 0 4px 4px 0;||}||#breadcrumb li:last-child a:after {||  border: none;||}||#breadcrumb li a:before, #breadcrumb li a:after {||  content: %22%22;||  position: absolute;||  top: 0;||  border: 0 solid #3498db;||  border-width: 10px 10px;||  width: 0;||  height: 0;||}||#breadcrumb li a:before {||  left: -20px;||  border-left-color: transparent;||}||#breadcrumb li a:after {||  left: 100%;||  border-color: transparent;||  border-left-color: #3498db;||}||#breadcrumb li a:hover {||  background-color: #1abc9c;||}||#breadcrumb li a:hover:before {||  border-color: #1abc9c;||  border-left-color: transparent;||}||#breadcrumb li a:hover:after {||  border-left-color: #1abc9c;||}||#breadcrumb li a:active {||  background-color: #16a085;||}||#breadcrumb li a:active:before {||  border-color: #16a085;||  border-left-color: transparent;||}||#breadcrumb li a:active:after {||  border-left-color: #16a085;||}||&#8221;]<\/p>\n<ul id=\"breadcrumb\">\n<li><a href=\"https:\/\/labs.icahn.mssm.edu\/minervalab\"><img decoding=\"async\" style=\"width: 16px;margin-top: 2px\" src=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-content\/uploads\/sites\/342\/2026\/10\/home.png\"><\/a><\/li>\n<li><a href=\"https:\/\/labs.icahn.mssm.edu\/minervalab\"><img decoding=\"async\" style=\"width: 16px;margin-top: 2px\" src=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-content\/uploads\/sites\/342\/2026\/10\/doc2.png\"> <span style=\"top: -4px;position: relative;font-size: 11px\">Scientific Computing and Data<\/span><\/a><\/li>\n<li><a href=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/documentation\/\"><img decoding=\"async\" style=\"width: 16px;margin-top: 2px\" src=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-content\/uploads\/sites\/342\/2026\/10\/doc2.png\"> <span style=\"top: -4px;position: relative;font-size: 11px\">Documentation<\/span><\/a><\/li>\n<li><a href=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/documentation\/software-build-and-compile-on-minerva\/\"><img decoding=\"async\" style=\"width: 16px;margin-top: 2px\" src=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-content\/uploads\/sites\/342\/2026\/10\/doc2.png\"> <span style=\"top: -4px;position: relative;font-size: 11px\">Software Compile and Build on Minerva<\/span><\/a><\/li>\n<\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section bb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221; prev_background_color=&#8221;#000000&#8243;][et_pb_row _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; header_font_size=&#8221;26px&#8221; header_2_text_color=&#8221;#221f72&#8243; header_2_font_size=&#8221;24px&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243; background_pattern_color=&#8221;rgba(0,0,0,0.2)&#8221; background_mask_color=&#8221;#ffffff&#8221; text_text_shadow_horizontal_length=&#8221;text_text_shadow_style,%91object Object%93&#8243; text_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; text_text_shadow_vertical_length=&#8221;text_text_shadow_style,%91object Object%93&#8243; text_text_shadow_vertical_length_tablet=&#8221;0px&#8221; text_text_shadow_blur_strength=&#8221;text_text_shadow_style,%91object Object%93&#8243; text_text_shadow_blur_strength_tablet=&#8221;1px&#8221; link_text_shadow_horizontal_length=&#8221;link_text_shadow_style,%91object Object%93&#8243; link_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; link_text_shadow_vertical_length=&#8221;link_text_shadow_style,%91object Object%93&#8243; link_text_shadow_vertical_length_tablet=&#8221;0px&#8221; link_text_shadow_blur_strength=&#8221;link_text_shadow_style,%91object Object%93&#8243; link_text_shadow_blur_strength_tablet=&#8221;1px&#8221; ul_text_shadow_horizontal_length=&#8221;ul_text_shadow_style,%91object Object%93&#8243; ul_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; ul_text_shadow_vertical_length=&#8221;ul_text_shadow_style,%91object Object%93&#8243; ul_text_shadow_vertical_length_tablet=&#8221;0px&#8221; ul_text_shadow_blur_strength=&#8221;ul_text_shadow_style,%91object Object%93&#8243; ul_text_shadow_blur_strength_tablet=&#8221;1px&#8221; ol_text_shadow_horizontal_length=&#8221;ol_text_shadow_style,%91object Object%93&#8243; ol_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; ol_text_shadow_vertical_length=&#8221;ol_text_shadow_style,%91object Object%93&#8243; ol_text_shadow_vertical_length_tablet=&#8221;0px&#8221; ol_text_shadow_blur_strength=&#8221;ol_text_shadow_style,%91object Object%93&#8243; ol_text_shadow_blur_strength_tablet=&#8221;1px&#8221; quote_text_shadow_horizontal_length=&#8221;quote_text_shadow_style,%91object Object%93&#8243; quote_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; quote_text_shadow_vertical_length=&#8221;quote_text_shadow_style,%91object Object%93&#8243; quote_text_shadow_vertical_length_tablet=&#8221;0px&#8221; quote_text_shadow_blur_strength=&#8221;quote_text_shadow_style,%91object Object%93&#8243; quote_text_shadow_blur_strength_tablet=&#8221;1px&#8221; header_text_shadow_horizontal_length=&#8221;header_text_shadow_style,%91object Object%93&#8243; header_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; header_text_shadow_vertical_length=&#8221;header_text_shadow_style,%91object Object%93&#8243; header_text_shadow_vertical_length_tablet=&#8221;0px&#8221; header_text_shadow_blur_strength=&#8221;header_text_shadow_style,%91object Object%93&#8243; header_text_shadow_blur_strength_tablet=&#8221;1px&#8221; header_2_text_shadow_horizontal_length=&#8221;header_2_text_shadow_style,%91object Object%93&#8243; header_2_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; header_2_text_shadow_vertical_length=&#8221;header_2_text_shadow_style,%91object Object%93&#8243; header_2_text_shadow_vertical_length_tablet=&#8221;0px&#8221; header_2_text_shadow_blur_strength=&#8221;header_2_text_shadow_style,%91object Object%93&#8243; header_2_text_shadow_blur_strength_tablet=&#8221;1px&#8221; header_3_text_shadow_horizontal_length=&#8221;header_3_text_shadow_style,%91object Object%93&#8243; header_3_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; header_3_text_shadow_vertical_length=&#8221;header_3_text_shadow_style,%91object Object%93&#8243; header_3_text_shadow_vertical_length_tablet=&#8221;0px&#8221; header_3_text_shadow_blur_strength=&#8221;header_3_text_shadow_style,%91object Object%93&#8243; header_3_text_shadow_blur_strength_tablet=&#8221;1px&#8221; header_4_text_shadow_horizontal_length=&#8221;header_4_text_shadow_style,%91object Object%93&#8243; header_4_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; header_4_text_shadow_vertical_length=&#8221;header_4_text_shadow_style,%91object Object%93&#8243; header_4_text_shadow_vertical_length_tablet=&#8221;0px&#8221; header_4_text_shadow_blur_strength=&#8221;header_4_text_shadow_style,%91object Object%93&#8243; header_4_text_shadow_blur_strength_tablet=&#8221;1px&#8221; header_5_text_shadow_horizontal_length=&#8221;header_5_text_shadow_style,%91object Object%93&#8243; header_5_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; header_5_text_shadow_vertical_length=&#8221;header_5_text_shadow_style,%91object Object%93&#8243; header_5_text_shadow_vertical_length_tablet=&#8221;0px&#8221; header_5_text_shadow_blur_strength=&#8221;header_5_text_shadow_style,%91object Object%93&#8243; header_5_text_shadow_blur_strength_tablet=&#8221;1px&#8221; header_6_text_shadow_horizontal_length=&#8221;header_6_text_shadow_style,%91object Object%93&#8243; header_6_text_shadow_horizontal_length_tablet=&#8221;0px&#8221; header_6_text_shadow_vertical_length=&#8221;header_6_text_shadow_style,%91object Object%93&#8243; header_6_text_shadow_vertical_length_tablet=&#8221;0px&#8221; header_6_text_shadow_blur_strength=&#8221;header_6_text_shadow_style,%91object Object%93&#8243; header_6_text_shadow_blur_strength_tablet=&#8221;1px&#8221; box_shadow_horizontal_tablet=&#8221;0px&#8221; box_shadow_vertical_tablet=&#8221;0px&#8221; box_shadow_blur_tablet=&#8221;40px&#8221; box_shadow_spread_tablet=&#8221;0px&#8221; custom_css_free_form=&#8221;.airms-new-doc {||  &#8211;ink-900: #212070;||  &#8211;ink-700: #3a3a52;||  &#8211;ink-500: #6f7086;||  &#8211;line: #e4e4ee;||  &#8211;line-soft: #efeff6;||  &#8211;bg-page: #fbfbfd;||  &#8211;bg-card: #ffffff;||  &#8211;bg-subtle: #f5f5fa;||  &#8211;accent-600: #dc298d;||  &#8211;accent-500: #dc298d;||  &#8211;accent-100: #fbdeee;||  &#8211;accent-050: #fdf0f7;||  &#8211;indigo-100: #e4e4f2;||  &#8211;indigo-050: #f2f2f9;||  &#8211;code-bg: #1b1b3a;||  &#8211;code-text: #e6e6f0;||  &#8211;code-line: rgba(255,255,255,0.08);||  &#8211;font-body: %22Open Sans%22, -apple-system, BlinkMacSystemFont, %22Segoe UI%22, Helvetica, Arial, sans-serif;||  &#8211;font-mono: %22SFMono-Regular%22, %22JetBrains Mono%22, Consolas, Menlo, monospace;||  &#8211;radius-lg: 14px;||  &#8211;radius-md: 8px;||  width: 100%;||  padding: 0 8px;||  background: var(&#8211;bg-page);||  color: var(&#8211;ink-700);||  font-family: var(&#8211;font-body);||  font-size: 16px;||  line-height: 1.65;||  -webkit-font-smoothing: antialiased;||}||||.airms-new-doc *,||.airms-new-doc *::before,||.airms-new-doc *::after {||  box-sizing: border-box;||}||||.airms-new-doc p br,||.airms-new-doc li br,||.airms-new-doc .note br,||.airms-new-doc .callout br {||  display: none;||}||||.airms-new-doc .site-header {||  padding: 40px 0 8px;||}||||.airms-new-doc .brand-tag {||  display: inline-flex;||  align-items: center;||  font-size: 12.5px;||  font-weight: 600;||  color: #212070;||  background: var(&#8211;indigo-100);||  padding: 5px 12px;||  border-radius: 999px;||  letter-spacing: 0.2px;||  margin-bottom: 14px;||}||||.airms-new-doc .brand-title {||  margin: 0;||  color: var(&#8211;ink-900);||  font-size: 32px;||  font-weight: 700;||  letter-spacing: -0.6px;||  line-height: 1.2;||}||||.airms-new-doc .intro {||  padding: 14px 0 30px;||  border-bottom: 1px solid var(&#8211;line);||}||||.airms-new-doc .doc-section {||  border-bottom: 1px solid var(&#8211;line);||}||||.airms-new-doc .doc-section:last-of-type {||  border-bottom: none;||}||||.airms-new-doc .doc-section summary {||  list-style: none;||  cursor: pointer;||  padding: 22px 0;||  display: flex;||  align-items: baseline;||  gap: 8px;||  font-size: 26px;||  font-weight: 700;||  color: var(&#8211;ink-900);||  position: relative;||}||||.airms-new-doc .doc-section summary::-webkit-details-marker {||  display: none;||}||||.airms-new-doc .doc-section summary::after {||  content: %22%22;||  margin-left: auto;||  align-self: center;||  width: 10px;||  height: 10px;||  border-right: 2px solid var(&#8211;ink-500);||  border-bottom: 2px solid var(&#8211;ink-500);||  transform: rotate(45deg);||  transition: transform 0.2s ease;||  flex: none;||}||||.airms-new-doc .doc-section%91open%93 summary::after {||  transform: rotate(-135deg);||  border-color: var(&#8211;accent-600);||}||||.airms-new-doc .doc-section summary:hover {||  color: var(&#8211;accent-600);||}||||.airms-new-doc .section-body {||  padding: 0 0 28px;||}||||.airms-new-doc .eyebrow {||  display: inline-block;||  font-family: var(&#8211;font-body);||  font-size: 26px;||  font-weight: 700;||  color: var(&#8211;ink-900);||  letter-spacing: 0;||}||||.airms-new-doc .intro-eyebrow {||  display: block;||  font-family: var(&#8211;font-body);||  font-size: 26px;||  font-weight: 700;||  color: var(&#8211;ink-900);||  letter-spacing: 0;||  margin-bottom: 10px;||}||||.airms-new-doc h3 {||  color: var(&#8211;ink-900);||  font-size: 15px;||  font-weight: 600;||  margin: 24px 0 10px;||  line-height: 1.3;||}||||.airms-new-doc p {||  margin: 0 0 16px;||  color: var(&#8211;ink-700);||}||||.airms-new-doc .section-body &gt; p:last-child {||  margin-bottom: 0;||}||||.airms-new-doc a {||  color: var(&#8211;accent-600);||  text-decoration: none;||  background-image: linear-gradient(var(&#8211;accent-500), var(&#8211;accent-500));||  background-repeat: no-repeat;||  background-size: 100% 1px;||  background-position: 0 100%;||}||||.airms-new-doc a:hover {||  color: var(&#8211;ink-900);||  background-image: linear-gradient(#212070, #212070);||}||||.airms-new-doc strong {||  font-weight: 600;||  color: var(&#8211;ink-900);||}||||.airms-new-doc ul,||.airms-new-doc ol {||  margin: 0 0 16px;||  padding-left: 22px;||}||||.airms-new-doc li {||  margin-bottom: 9px;||}||||.airms-new-doc li:last-child {||  margin-bottom: 0;||}||||.airms-new-doc li ul,||.airms-new-doc li ol {||  margin-top: 9px;||  margin-bottom: 0;||}||||.airms-new-doc ul &gt; li::marker {||  color: var(&#8211;accent-500);||}||||.airms-new-doc ol &gt; li::marker {||  color: var(&#8211;accent-500);||  font-weight: 600;||}||||.airms-new-doc .callout {||  margin: 20px 0 16px;||  padding: 18px 22px;||  border-radius: var(&#8211;radius-md);||}||||.airms-new-doc .callout p:last-child {||  margin-bottom: 0;||}||||.airms-new-doc .callout-accent {||  background: var(&#8211;indigo-050);||  border: 1px solid var(&#8211;indigo-100);||  border-left: 3px solid var(&#8211;accent-500);||}||||.airms-new-doc .callout-warning {||  background: #fef9ee;||  border: 1px solid #fae8be;||  border-left: 3px solid #d97706;||}||||.airms-new-doc .callout-warning strong {||  color: #78350f;||}||||.airms-new-doc .callout-accent strong {||  color: var(&#8211;ink-900);||}||||.airms-new-doc .callout-subtle {||  background: var(&#8211;bg-subtle);||  border: 1px solid var(&#8211;line-soft);||}||||.airms-new-doc .callout-subtle h3 {||  margin-top: 0;||}||||.airms-new-doc .callout-subtle ul {||  margin-bottom: 0;||}||||.airms-new-doc .note {||  background: var(&#8211;bg-subtle);||  border: 1px solid var(&#8211;line);||  border-left: 3px solid #212070;||  padding: 14px 18px;||  margin: 0 0 16px;||  border-radius: 0 var(&#8211;radius-md) var(&#8211;radius-md) 0;||  color: var(&#8211;ink-700);||}||||.airms-new-doc code {||  font-family: var(&#8211;font-mono);||  background: var(&#8211;bg-subtle);||  color: #b81f77;||  padding: 2px 6px;||  border-radius: 4px;||  font-size: 0.87em;||  border: 1px solid var(&#8211;line);||}||||.airms-new-doc .code-block {||  background: var(&#8211;code-bg);||  border-radius: var(&#8211;radius-md);||  margin: 14px 0 22px;||  overflow: hidden;||  box-shadow: 0 8px 24px rgba(33, 32, 112, 0.18);||}||||.airms-new-doc .code-block-header {||  display: flex;||  align-items: center;||  gap: 6px;||  padding: 8px 10px 8px 14px;||  border-bottom: 1px solid var(&#8211;code-line);||}||||.airms-new-doc .code-lang {||  font-family: var(&#8211;font-mono);||  font-size: 11px;||  color: #9b9bc0;||  text-transform: uppercase;||  letter-spacing: 1px;||}||||.airms-new-doc .code-block pre {||  margin: 0;||  padding: 16px 18px 18px;||  font-family: var(&#8211;font-mono);||  font-size: 13.5px;||  line-height: 1.7;||  color: var(&#8211;code-text);||  white-space: pre-wrap;||  word-break: break-word;||  overflow-x: auto;||}||||.airms-new-doc .code-block pre code {||  background: none;||  border: none;||  padding: 0;||  color: inherit;||}||||.airms-new-doc .code-block a {||  color: #f6a3d0;||  background-image: linear-gradient(#f6a3d0, #f6a3d0);||}||||.airms-new-doc .table-wrap {||  overflow-x: auto;||  margin: 14px 0 4px;||  border-radius: var(&#8211;radius-md);||  border: 1px solid var(&#8211;line);||}||||.airms-new-doc table {||  width: 100%;||  border-collapse: collapse;||  font-size: 14px;||}||||.airms-new-doc th {||  background: var(&#8211;indigo-050);||  color: var(&#8211;ink-900);||  font-weight: 600;||  text-align: left;||  padding: 12px 16px;||  font-size: 12px;||  text-transform: uppercase;||  letter-spacing: 0.5px;||  border-bottom: 1px solid var(&#8211;indigo-100);||}||||.airms-new-doc td {||  padding: 12px 16px;||  border-top: 1px solid var(&#8211;line-soft);||  vertical-align: top;||  color: var(&#8211;ink-700);||}||||.airms-new-doc tbody tr:hover {||  background: var(&#8211;bg-subtle);||}||||.airms-new-doc .doc-footer {||  padding: 24px 0 8px;||  text-align: center;||  color: var(&#8211;ink-500);||  font-size: 13px;||}||||@media (max-width: 520px) {||  .airms-new-doc .brand-title { font-size: 24px; }||  .airms-new-doc .doc-section summary { font-size: 21px; }||  .airms-new-doc .eyebrow,||  .airms-new-doc .intro-eyebrow { font-size: 21px; }||}||&#8221; vertical_offset_tablet=&#8221;0&#8243; horizontal_offset_tablet=&#8221;0&#8243; z_index_tablet=&#8221;0&#8243;]<\/p>\n<div class=\"airms-new-doc\">\n<p><span class=\"brand-tag\">HPC Documentation<\/span><\/p>\n<h1>Software Build and Compile on Minerva<\/h1>\n<h2>Building Third-Party Applications<\/h2>\n<p>You can easily explore the numerous applications installed on Minerva using the <code>module spider <\/code>or <code>module avail <\/code>commands. These system modules are there just for the sake of convenience for the users and in no event imply an absolute requirement of using them on Minerva. You may use your own software installed in your local area and can even set up your own modules if you prefer.<\/p>\n<p>In most cases you&#8217;ll want to download the source code and build the software so that it&#8217;s compatible with the Minerva software environment. You cannot use yum or any other installation process that requires root privileges, but this is almost never necessary. The key is to specify a target installation directory for which you have write permissions. Details vary; you should consult the package&#8217;s documentation and be prepared to experiment. When using the popular <a href=\"http:\/\/www.gnu.org\/software\/automake\/manual\/html_node\/Autotools-Introduction.html\">autotools<\/a> build process, the standard approach is to use the <code>--prefix <\/code>option to specify a non-default, user-owned installation directory at the time you execute <code>configure <\/code>or <code>make<\/code>:<\/p>\n<blockquote>\n<pre><code>$ export INSTALLDIR=\/sc\/arion\/work\/MyUserID\/my_apps\r\n$ .\/configure <strong>--prefix<\/strong>=$INSTALLDIR\r\n$ make\r\n$ make install<\/code><\/pre>\n<\/blockquote>\n<p>Other languages, frameworks, and build systems generally have equivalent mechanisms for installing software in user space. In most cases a web search like &#8220;<i>Software_Name<\/i> Linux install local&#8221; will get you the information you need.<br \/>\n&nbsp;<\/p>\n<h2>Compiling<\/h2>\n<p>The programming environment is centered on the compiler. Minerva supports C\/C++ and Fortran compilers from INTEL, and GNU Compiler Collection (GCC). Only one compiler module should be loaded at a time to avoid ambiguity. Compiling code for parallel execution on Minerva must use the proper implementation of MPI and link against the proper libraries. The MPI implementation currently supported by Minerva is OpenMPI and INTEL MPI. In particular, note that OpenMPI is not part of the MPICH family of MPI implementations.<\/p>\n<p>For each supported compiler suite, a version of OpenMPI that is compatible with that compiler is loaded by using the module command. For example, to use the GCC compilers with OpenMPI:<\/p>\n<pre><code>module load openmpi<\/code><\/pre>\n<p>To use the INTEL MPI:<\/p>\n<pre><code>module load intel<\/code><\/pre>\n<p>When compiling non-MPI programs, modules for compilers without MPI support can be loaded instead:<\/p>\n<pre><code>module load gcc<\/code><\/pre>\n<p>&nbsp;<\/p>\n<h2>Compiler Names<\/h2>\n<p>Compiler \u201cwrappers\u201d provided by OpenMPI and INTEL MPI supply the correct compiler and linker flags for MPI applications. For non-MPI codes the \u201cnative\u201d compilers may be used directly.<\/p>\n<table style=\"height: 79px\" width=\"1012\">\n<tbody>\n<tr style=\"background-color: #00aeef\">\n<td style=\"width: 246px\"><strong><span style=\"color: #ffffff\">Language<\/span><\/strong><\/td>\n<td style=\"width: 246px\"><strong><span style=\"color: #ffffff\">MPI<\/span><\/strong><\/td>\n<td style=\"width: 246px\"><strong><span style=\"color: #ffffff\">Native GCC<\/span><\/strong><\/td>\n<td style=\"width: 246px\"><strong><span style=\"color: #ffffff\">Native Intel<\/span><\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 246px\">Fortran<\/td>\n<td style=\"width: 246px\">mpiff77, mpif90<\/td>\n<td style=\"width: 246px\">gfortran<\/td>\n<td style=\"width: 246px\">ifort<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 246px\">C\/C++<\/td>\n<td style=\"width: 246px\">mpicc<\/td>\n<td style=\"width: 246px\">gcc<\/td>\n<td style=\"width: 246px\">icc<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h2>Basic Examples<\/h2>\n<p><b>Serial Code<\/b><\/p>\n<pre><code>gfortran -O2 -o test test.f<\/code><\/pre>\n<p><b>MPI<\/b><\/p>\n<pre><code>mpicc -O2 -o MPItest MPItest.c<\/code><\/pre>\n<p><b>OpenMP<\/b><\/p>\n<pre><code>icc -O2 -qopenmp -o OpenMPtest OpenMPtest.c\r\ngcc -O2 -fopenmp -o OpenMPtest OpenMPtest.c<\/code><\/pre>\n<p>Available compiler options depend on the underlying native compiler; complete descriptions are available via the \u201cman\u201d command.<\/p>\n<\/div>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scientific Computing and Data Documentation Software Compile and Build on Minerva HPC Documentation Software Build and Compile on Minerva Building Third-Party Applications You can easily explore the numerous applications installed on Minerva using the module spider or module avail commands. These system modules are there just for the sake of convenience for the users and [&hellip;]<\/p>\n","protected":false},"author":600,"featured_media":0,"parent":35,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-5917","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages\/5917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/users\/600"}],"replies":[{"embeddable":true,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/comments?post=5917"}],"version-history":[{"count":7,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages\/5917\/revisions"}],"predecessor-version":[{"id":16198,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages\/5917\/revisions\/16198"}],"up":[{"embeddable":true,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages\/35"}],"wp:attachment":[{"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/media?parent=5917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}