dockerコンテナのインストールで、それほど環境を汚さないことがわかったのでminedaにインストールする。
メモ
Fortranなどインストールされてなかったので、yum groupinstall "Development Tools"
GeniusのINSTALLには、flex 2.5.37ではダメとあったが、若干ウォーニングが増えたもののインストールは出来た
cd /usr/local/src
wget http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.5.4.tar.gz
tar xzf petsc-3.5.4.tar.gz
cd petsc-3.5.4/
./configure --with-mpi=0 --with-debugging=0 --with-shared-libraries=0 --with-x=0 --with-pic=1 --download-fblaslapack=1 --download-metis=1 --download-superlu=1 --COPTFLAGS="-O2" --CXXOPTFLAGS="-O2" --FOPTFLAGS="-O2"
make
make PETSC_DIR=/usr/local/src/petsc-3.5.4 PETSC_ARCH=arch-linux2-c-opt test
cd ..
wget http://sourceforge.net/projects/cgns/files/cgnslib_2.5/Release%205/cgnslib_2.5-5.tar.gz
tar xzf cgnslib_2.5-5.tar.gz
cd cgnslib_2.5/
./configure
make & make install
cd ..
tar xzf vtk-v5.4.2.tar.gz
cd vtk-v5.4.2/
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=ON ..
make -j5 & make install
cd /usr/local/src
git clone https://github.com/cogenda/Genius-TCAD-Open.git
cd Genius-TCAD-Open/
LD_LIBRARY_PATH=/usr/local/lib/vtk-5.4 ./waf --with-vtk-dir=/usr/local --with-vtk-ver=vtk-5.4 --with-petsc-dir=/usr/local/src/petsc-3.5.4 --with-petsc-arch=arch-linux2-c-opt --prefix=/opt/genius configure build install
/opt/geniusにインストールした
petsc-dirとpetsc-archを直に指定した
cd examples/
cd PN_Diode/2D
export GENIUS_DIR=/opt/genius
LD_LIBRARY_PATH=/usr/local/lib/vtk-5.4 /opt/genius/bin/genius.LINUX -i pn2d.inp
yum install paraview