

{"id":186,"date":"2017-10-20T17:23:23","date_gmt":"2017-10-20T15:23:23","guid":{"rendered":"https:\/\/project.inria.fr\/damaris\/?page_id=186"},"modified":"2017-11-06T11:56:30","modified_gmt":"2017-11-06T10:56:30","slug":"clion-ide","status":"publish","type":"page","link":"https:\/\/project.inria.fr\/damaris\/clion-ide\/","title":{"rendered":"CLion IDE"},"content":{"rendered":"<p>Damaris is currently built and compiled by\u00a0<a href=\"https:\/\/www.jetbrains.com\/clion\/\">JetBrains Clion<\/a>. The good news about the CLion IDE is that:<\/p>\n<ul>\n<li>It supports CMake build files out of the box. So there is no need to change Damaris for IDE support.<\/li>\n<li>Its license is free for educational purposes. It is also free for open source projects.<\/li>\n<li>It is available for all platforms, i.e. Windows, MacOSX and Linux.<\/li>\n<\/ul>\n<h5>Damaris Compilation<\/h5>\n<p>In order to build Damaris using CLion, it is necessary to do the following steps:<\/p>\n<ul>\n<li>Make sure that the ~\/local\/bin is in your PATH environment variable. CLion needs this path for finding mpicc and mpicxx compilers.<\/li>\n<li>Make sure that the ~\/local\/lib path is included in your LD_LIBRARY_PATH environment variable. This path is required for finding some shared dependent libraries such as Xercess.<\/li>\n<\/ul>\n<h5>Script Sample<\/h5>\n<p>You can use a simple bash script to update these two variables and then run CLion. Here is a sample:<\/p>\n<pre lang=\"bash\" line=\"1\">#! \/bin\/bash\r\nexport PATH=$PATH:\/home\/hadi\/local\/bin\r\nexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:\/home\/hadi\/local\/lib\r\nsh \/clion\/clion-2016.1.2\/bin\/clion.sh\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Damaris is currently built and compiled by\u00a0JetBrains Clion. The good news about the CLion IDE is that: It supports CMake build files out of the box. So there is no need to change Damaris for IDE support. Its license is free for educational purposes. It is also free for open&#8230;<\/p>\n<p> <a class=\"continue-reading-link\" href=\"https:\/\/project.inria.fr\/damaris\/clion-ide\/\"><span>Continue reading<\/span><i class=\"crycon-right-dir\"><\/i><\/a> <\/p>\n","protected":false},"author":1249,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-186","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/pages\/186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/users\/1249"}],"replies":[{"embeddable":true,"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/comments?post=186"}],"version-history":[{"count":3,"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/pages\/186\/revisions"}],"predecessor-version":[{"id":566,"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/pages\/186\/revisions\/566"}],"wp:attachment":[{"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/media?parent=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}