Hey, what's going on?

Installing SRAC Code on Mandrivalinux 2010.0 x86_64

Posted by Syeilendra Pramuditya on January 18, 2016

SRAC: Standard Reactor Analysis Code, developed by Japan Atomic Energy Agency

SRAC code was developed long time ago, so there are problems when you try to install it on modern linux distros. The biggest problem of all is I think the original SRAC works only with F77/G77, whereas modern linux distros usually only provide gfortran.

Some installation tips:

Tip 1

Using the control panel, make sure that the following packages have been installed: gcc-cpp, gcc-c++, gcc-gfortran, tcsh, make, automake, ncompress, mscompress

Tip 2

Edit these 2 files:

SRAC/tool/install/SysDpnd/linux-g77/PrepInst.sh

SRAC/tool/install/SysDpnd/linux-g77/lmmake/lmmk/lmmk.sh

Open the files, you will see “set F77 = G77”, add a new line after that line: “set F77 = gfortran”

Now you just test run the code by executing SRAC/smpl/shr/Test.sh

Sample of input and output files are available here.

This has been tested and works for me.

*Of course you can just simply install SRAC 2006 which supports gfortran compiler.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: