Code_Saturneのインストール †CAE Linuxの情報を参考に記述しています。 OS:Ubuntu 10.04 $ sudo chown username /opt/~
$ sudo apt-get install gfortran g++ python-dev python-numpy zlib1g-dev libatlas-base-dev grace bison flex python-qt4 checkinstall mpich2 $ sudo apt-get install swig pyqt4-dev-tools libxml2-dev (ver2.2をインストールする場合は、cmake2.8.8をインストールする必要がある) download yes language en debug no prefix /opt use_arch no arch compCxx g++ compC gcc compF gfortran mpiCompC mpicc disable_gui no disable_frontend no python blas metis scotch syrthes cgns None yes yes hdf5 None yes yes med None yes yes mpi /usr yes no libxml2 /usr yes no すでにCode_Aster(単独版、並列版)をインストールしている場合は、下のようにも書ける。 blas /opt/acml4.4.0/gfortran64/lib scotch /opt/aster/public/scotch_5.1.11_esmumps/lib hdf5 /opt/aster/public/hdf5-1.8.4 yes no med /opt/aster/public/med-3.0.4 yes no
$ ./install_saturne.py 各種モジュールと本体のソースファイルがダウンロードされて、自動的にインストールされる。 $ echo "export PATH=/opt/code_saturne-2.1.7/bin:$PATH" >> .bashrc $ source ~/.bashrc
$ cp -r code_saturne-2.1.7/examples ~/ $ cd ~/example/1-simple_junction $ cp -r mesh/ MESH ケースファイルのテンプレートフォルダ(CASE1)を作成し、GUIを起動する。 $ code_saturne create $ cp case1/case1.xml CASE1/DATA $ cd CASE1 $ code_saturne gui GUIが起動したら、DATA/case1.xmlを読み込む。 |