-
Notifications
You must be signed in to change notification settings - Fork 0
Install Dakota 5.4 x64
sorcerjenkins edited this page Apr 8, 2014
·
4 revisions
It is not an easy task to get the Dakota toolkit (http://dakota.sandia.gov) running. Since I had problems getting it to run on Ubuntu I created a fresh CentOS x64 6.5 VM. This is the list of commands required to get the dakota executable to start:
- Update your centos distribution
yum install gcc-c++ openmpi lapack libXpm openmotif-devel openmotif22
- download, compile and install boost_1.49
-
ln -s /usr/lib64/libXm.so.3 /usr/lib64/libXm.so.2
- this is a nasty hack but it seems to work... - Untar dakota and rename its install directory to Dakota, I've installed it at /root/Dakota
Next, add the following to your .bashrc:
DAKOTA_DIR=/root/Dakota/
export LD_LIBRARY_PATH=$DAKOTA_DIR/lib:/usr/lib64/openmpi/lib:$LD_LIBRARY_PATH
export PATH=$DAKOTA_DIR/bin:$PATH
And finally try to call dakota -version
. It should start and print its version number:
[root@centosik ~]# dakota -version
DAKOTA version 5.3 released 01/31/2013.
Subversion revision 1541 built Feb 13 2013 04:10:46.
I may have forgotten something, so if it still complains about missing libraries email us, we'll try to help. (dev { this is an AT sign } sorcersoft.com)
Build from sources
sudo aptitude install cmake gfortran libblas-dev libboost1.53-dev libboost-filesystem1.53-dev libboost-regex1.53-dev libboost-signals1.53-dev libboost-system1.53-dev liblapack-dev libopenmpi1.6-dev libopenmpi1.6 lesstif2
cmake -C $DAK_SRC/cmake/BuildDakotaCustom.cmake $DAK_SRC
make
sudo make install
update LD_LIBRARY_PATH with /usr/local/lib