!sphinx.addnodesdocument)}( rawsourcechildren](docutils.nodessubstitution_definition)}(h.. |rel| replace:: 10.71h]h Text10.71}parenth sba attributes}(ids]classes]names]reladupnames]backrefs]utagnameh source lineKhh _documenthubh )}(h.. |date| replace:: |today| h]h2024 136}(hh)h(hh%Nh'Nubah}(h]h]h]dateah ]h"]uh$h h%h&h'Khhh(hubh target)}(h.. _qsg_compilation:h]h}(h]h]h]h ]h"]refidqsg-compilationuh$h8h'Khhh(hh%J/chandler/home/floyd/public_html/gg/docs/source/quickstart/compilation.rstubh section)}(hhh](h title)}(h Compilationh]h Compilation}(hhNh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$hLhhIh(hh%hFh'Kubh paragraph)}(hXWe provide a script, :program:`install_software`, to compile GAMIT/GLOBK. You can download this file from the same server as the source code or extract it from the :file:`com.\ |rel|\ .tar.gz` file before running it, e.g. from your :file:`{}` directory:h](hWe provide a script, }(hh^h(hh%Nh'Nubhliteral_strong)}(h:program:`install_software`h]hinstall_software}(hhhh(hh%Nh'Nubah}(h]h]programah]h ]h"]uh$hfhh^ubht, to compile GAMIT/GLOBK. You can download this file from the same server as the source code or extract it from the }(hh^h(hh%Nh'Nubh literal)}(h:file:`com.\ |rel|\ .tar.gz`h]hcom.|rel|.tar.gz}(hh}h(hh%Nh'Nubah}(h]h]fileah]h ]h"]rolefileuh$h{hh^ubh( file before running it, e.g. from your }(hh^h(hh%Nh'Nubh|)}(h:file:`{}`h]h emphasis)}(hh]h}(hhh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$hhhubah}(h]h]fileah]h ]h"]rolefileuh$h{hh^ubh directory:}(hh^h(hh%Nh'Nubeh}(h]h]h]h ]h"]uh$h\h%hFh'KhhIh(hubh literal_block)}(hG$ tar xfzv com.10.71.tar.gz com/install_software $ com/install_softwareh]hG$ tar xfzv com.10.71.tar.gz com/install_software $ com/install_software}hhsbah}(h]h]h]h ]h"] xml:spacepreserveforcelanguageconsolehighlight_args}uh$hh%hFh'K hhIh(hubh])}(hIf you downloaded a copy of :program:`install_software` directly from our server you will need to make it executable before running, e.g. from your :file:`{}` directory:h](hIf you downloaded a copy of }(hhh(hh%Nh'Nubhg)}(h:program:`install_software`h]hinstall_software}(hhh(hh%Nh'Nubah}(h]h]hsah]h ]h"]uh$hfhhubh] directly from our server you will need to make it executable before running, e.g. from your }(hhh(hh%Nh'Nubh|)}(h:file:`{}`h]h)}(hh]h}(hhh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$hhhubah}(h]h]fileah]h ]h"]rolefileuh$h{hhubh directory:}(hhh(hh%Nh'Nubeh}(h]h]h]h ]h"]uh$h\h%hFh'KhhIh(hubh)}(h$ chmod +x install_softwareh]h$ chmod +x install_software}hjsbah}(h]h]h]h ]h"]hhhˉȟconsoleh}uh$hh%hFh'KhhIh(hubh])}(hXZEither way, read carefully the questions the script asks and provide the information it requires. If the X11 libraries and headers cannot be found automatically, you will need to stop the compilation and edit :file:`libraries/Makefile.config` (in your :file:`{}` directory) before re-running :program:`install_software`. Specifically, you will need to edit the :content:`X11LIBPATH` and :content:`X11INCPATH` lines near the top of the file; typical locations for the required files for common operating systems are provided, so you may only need to uncomment the relevant lines, e.g. for macOS:h](hEither way, read carefully the questions the script asks and provide the information it requires. If the X11 libraries and headers cannot be found automatically, you will need to stop the compilation and edit }(hjh(hh%Nh'Nubh|)}(h!:file:`libraries/Makefile.config`h]hlibraries/Makefile.config}(hj'h(hh%Nh'Nubah}(h]h]fileah]h ]h"]rolefileuh$h{hjubh (in your }(hjh(hh%Nh'Nubh|)}(h:file:`{}`h]h)}(hh]h}(hj@h(hh%Nh'Nubah}(h]h]h]h ]h"]uh$hhj<ubah}(h]h]fileah]h ]h"]rolefileuh$h{hjubh directory) before re-running }(hjh(hh%Nh'Nubhg)}(h:program:`install_software`h]hinstall_software}(hj[h(hh%Nh'Nubah}(h]h]hsah]h ]h"]uh$hfhjubh*. Specifically, you will need to edit the }(hjh(hh%Nh'Nubh|)}(h:content:`X11LIBPATH`h]h X11LIBPATH}(hjmh(hh%Nh'Nubah}(h]h](code highlightcontenttexteh]h ]h"]languagej{uh$h{hjubh and }(hjh(hh%Nh'Nubh|)}(h:content:`X11INCPATH`h]h X11INCPATH}(hjh(hh%Nh'Nubah}(h]h](jxjyjzj{eh]h ]h"]languagej{uh$h{hjubh lines near the top of the file; typical locations for the required files for common operating systems are provided, so you may only need to uncomment the relevant lines, e.g. for macOS:}(hjh(hh%Nh'Nubeh}(h]h]h]h ]h"]uh$h\h%hFh'KhhIh(hubh)}(h3X11LIBPATH /usr/X11/lib X11INCPATH /usr/X11/includeh]h3X11LIBPATH /usr/X11/lib X11INCPATH /usr/X11/include}hjsbah}(h]h]h]h ]h"]hhhˉȟtexth}uh$hh%hFh'KhhIh(hubh])}(hOnce the :program:`install_software` script completes successfully, you will see instructions to set up environment variables to run GAMIT/GLOBK, which is the last step of the installation.h](h Once the }(hjh(hh%Nh'Nubhg)}(h:program:`install_software`h]hinstall_software}(hjh(hh%Nh'Nubah}(h]h]hsah]h ]h"]uh$hfhjubh script completes successfully, you will see instructions to set up environment variables to run GAMIT/GLOBK, which is the last step of the installation.}(hjh(hh%Nh'Nubeh}(h]h]h]h ]h"]uh$h\h%hFh'KhhIh(hubeh}(h]( compilationhEeh]h]( compilationqsg_compilationeh ]h"]uh$hGhhh(hh%hFh'Kexpect_referenced_by_name}jh:sexpect_referenced_by_id}hEh:subeh}(h]h]h]h ]h"]sourcehFtranslation_progress}(totalK translatedKuuh$hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(outputNhLN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehF _destinationN _config_files]file_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}(hh h5h)usubstitution_names}(relhdateh5urefnames}refids}hE]h:asnameids}(jhEjju nametypes}(jjuh}(hEhIjhIu footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages]h system_message)}(hhh]h])}(hhh]h5Hyperlink target "qsg-compilation" is not referenced.}hjmsbah}(h]h]h]h ]h"]uh$h\hjjubah}(h]h]h]h ]h"]levelKtypeINFOsourcehFlineKuh$jhuba transformerN include_log] decorationNh(hub.