{"id":564,"date":"2018-02-19T12:53:30","date_gmt":"2018-02-19T12:53:30","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/htccondor\/?page_id=564"},"modified":"2018-03-06T17:23:43","modified_gmt":"2018-03-06T17:23:43","slug":"gcc_hello_world","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/software\/gcc-compiler-suite\/gcc_hello_world\/","title":{"rendered":"C++ code for printing Hello World and current directory"},"content":{"rendered":"<p><a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-content\/uploads\/hello_world.cc\">C++ code<\/a> for printing &#8220;Hello World&#8221;, displaying the current working directory and the GNU compiler version.<\/p>\n<h3 class=\"entry-title\">Compiling using GNU compiler suite version 4.8.3 and submitting to HTCondor<\/h3>\n<ul>\n<li><tt>g++ hello_world.cc -o hello_world<\/tt><\/li>\n<li><tt>condor_submit submit_GCC483.txt<\/tt><\/li>\n<\/ul>\n<p>using the following <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-content\/uploads\/submit_GCC483.txt\">HTCondor submit file<\/a>.<\/p>\n<h3 class=\"entry-title\">Compiling using GNU compiler suite version 4.9.4 and submitting to HTCondor<\/h3>\n<ul>\n<li><tt>module load gcc\/4.9.4<\/tt><\/li>\n<li><tt>g++ hello_world.cc -o hello_world<\/tt><\/li>\n<li><tt>condor_submit submit_GCC494.txt<\/tt><\/li>\n<\/ul>\n<p>using the following <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-content\/uploads\/submit_GCC494.txt\">HTCondor submit file<\/a>.<\/p>\n<h3 class=\"entry-title\">Compiling using GNU compiler suite version 5.5.0 and submitting to HTCondor<\/h3>\n<ul>\n<li><tt>module load gcc\/5.5.0<\/tt><\/li>\n<li><tt>g++ hello_world.cc -o hello_world<\/tt><\/li>\n<li><tt>condor_submit submit_GCC550.txt<\/tt><\/li>\n<\/ul>\n<p>using the following <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-content\/uploads\/submit_GCC550.txt\">HTCondor submit file<\/a>.<\/p>\n<h3 class=\"entry-title\">Compiling using GNU compiler suite version 6.4.0 and submitting to HTCondor<\/h3>\n<ul>\n<li><tt>module load gcc\/6.4.0<\/tt><\/li>\n<li><tt>g++ hello_world.cc -o hello_world<\/tt><\/li>\n<li><tt>condor_submit submit_GCC640.txt<\/tt><\/li>\n<\/ul>\n<p>using the following <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-content\/uploads\/submit_GCC640.txt\">HTCondor submit file<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C++ code for printing &#8220;Hello World&#8221;, displaying the current working directory and the GNU compiler version. Compiling using GNU compiler suite version 4.8.3 and submitting to HTCondor g++ hello_world.cc -o hello_world condor_submit submit_GCC483.txt using the following HTCondor submit file. Compiling using GNU compiler suite version 4.9.4 and submitting to HTCondor module load gcc\/4.9.4 g++ hello_world.cc -o hello_world condor_submit submit_GCC494.txt using the following HTCondor submit file. Compiling using GNU compiler suite version 5.5.0 and submitting to.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/software\/gcc-compiler-suite\/gcc_hello_world\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":412,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-564","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/comments?post=564"}],"version-history":[{"count":5,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/564\/revisions"}],"predecessor-version":[{"id":577,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/564\/revisions\/577"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/412"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/media?parent=564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}