I just built ERANOS 2.1 reactor analysis suite from France on a 64-bit linux workstation with Red Hat 7. It wasn’t that bad, as the CEA has done a great job at automating the installation process. I’ll briefly discuss how things went.
First of all, don’t cd into the UTILS folder and run Install. You have to do as it says and run UTILS/Install if it doesn’t work the first time. Also as it says, it’s smart to copy all the library disks over before loading the code DVD.
Try the Install script, but you’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’t pointing where it was supposed to (the script added my home directory to the search path for TRANS.x for some reason…), 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’ll get more seg faults.
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 “does the executable exist?” and let it run from there. That way, it didn’t overwrite all my makefiles and try to build again. I’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.
Don’t forget to add ulimit -s unlimited to .bashrc or else you’ll get segfaults galore. Leave a comment if you have trouble.