Tuesday, January 4, 2022

How To Install Damask - Auxiliary Software

 1. Auxiliary software

1.1 compiler

sudo apt-get install gfortran g++ gcc default-jre cmake -y

1.2 HDF5

./configure --prefix=/usr/local/hdf5
make -j4
make check
make install -j4

sudo h5cc -o h5_extend h5_extend.c
sudo apt install hdf5-helpers
sudo apt-get install libhdf5-serial-dev

1.3Python and corresponding modules

sudo apt install python3
sudo apt install python3-pip
sudo pip3 install numpy vtk scipy h5py -i https://pypi.tuna.tsinghua.edu.cn/simple 
*[use tsinghua source]*
sudo pip3 install numpy vtk scipy h5py -i https://pypi.doubanio.com/simple
*[use douban source]
checks whether the required Python modules are installed and working
./DAMASK_prerequisites.sh

1.4 paraview install

sudo apt install paraview -y

No comments: