{"id":502,"date":"2011-02-09T21:49:44","date_gmt":"2011-02-10T05:49:44","guid":{"rendered":"http:\/\/www.partofthething.com\/thoughts\/?p=502"},"modified":"2011-02-09T21:49:44","modified_gmt":"2011-02-10T05:49:44","slug":"installing-eranos-2-1-on-a-64-bit-linux-workstation","status":"publish","type":"post","link":"https:\/\/partofthething.com\/thoughts\/installing-eranos-2-1-on-a-64-bit-linux-workstation\/","title":{"rendered":"Installing ERANOS 2.1 on a 64-bit linux workstation"},"content":{"rendered":"<p>I just built ERANOS 2.1 reactor analysis suite from France on a 64-bit linux workstation with Red Hat 7. It wasn&#8217;t that bad, as the CEA has done a great job at automating the installation process. I&#8217;ll briefly discuss how things went.<\/p>\n<p>First of all, don&#8217;t cd into the UTILS folder and run Install. You have to do as it says and run UTILS\/Install if it doesn&#8217;t work the first time. Also as it says, it&#8217;s smart to copy all the library disks over before loading the code DVD.<br \/>\n<!--more--><br \/>\nTry the Install script, but you&#8217;ll probably get Segmentation faults on TRANS.x runs. These are trying to convert from ESOPE files to valid FORTRAN files, as a pre-compilation step. I went in and re-built TRANS.x with -m32 and then it worked fine. Just to be sure, I set all the Makefiles to add -m32 to the compiler flags. You can do this automatically by going to ERANOS2.1\/CODE\/ERANOS\/MAKE\/ARCH\/PCLINUX\/config and changing all the FLAGS= arguments to end with -m32 and then re-run the creer_makefile.sh script two directories up. I had problems where the eso2f77 script wasn&#8217;t pointing where it was supposed to (the script added my home directory to the search path for TRANS.x for some reason&#8230;), so I hand-edited the script and pointed DIR directly to the right folder. Then type make clean. Then type make. Oh, but be sure to run ulimit -s unlimited command before running Make or you&#8217;ll get more seg faults.<\/p>\n<p>After that, I got eranos.x and everything compiled fine. The next step was to go back to the Install script and have it do all the library conversions. XS libraries are delivered in ASCII, since those files are platform independent. Once on your computer, the install process will convert them to platform dependent binary files and delete the ASCII files. This saves like 6 GB of space and speeds things up during runtime. Anyway, I copied the Install script and made a Install_libs version. In this, I deleted a lot of the lines before &#8220;does the executable exist?&#8221; and let it run from there. That way, it didn&#8217;t overwrite all my makefiles and try to build again. I&#8217;m not sure this step was imperative. While running this half-script, all libraries converted and then all tests ran. I checked some test outputs (the .res files, not the .out ones) and verified that the results agreed with the expected result (in comments in the input). It worked! Alright!! ERANOS time.<\/p>\n<p>Don&#8217;t forget to add ulimit -s unlimited to .bashrc or else you&#8217;ll get segfaults galore. Leave a comment if you have trouble.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just built ERANOS 2.1 reactor analysis suite from France on a 64-bit linux workstation with Red Hat 7. It wasn&#8217;t that bad, as the CEA has done a great job at automating the installation process. I&#8217;ll briefly discuss how things went. First of all, don&#8217;t cd into the UTILS folder and run Install. You &hellip; <a href=\"https:\/\/partofthething.com\/thoughts\/installing-eranos-2-1-on-a-64-bit-linux-workstation\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Installing ERANOS 2.1 on a 64-bit linux workstation<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-502","post","type-post","status-publish","format-standard","hentry","category-computers"],"_links":{"self":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts\/502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/comments?post=502"}],"version-history":[{"count":0,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts\/502\/revisions"}],"wp:attachment":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/media?parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/categories?post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/tags?post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}