「Salome-Mecaのインストール」の版間の差分

提供:オープンCAEWiki OpenCAE Wiki
ナビゲーションに移動 検索に移動
 
(同じ利用者による、間の1版が非表示)
20行目: 20行目:
</syntaxhighlight>
</syntaxhighlight>


== Salome-Meca 2018のインストール ==
<syntaxhighlight>
sudo -E apt update && sudo -E apt install -y --no-install-recommends wget net-tools python python3 libbsd0 libbz2-1.0 libc6 libdbus-1-3 libexpat1 libffi6 libfontconfig1 libfreeimage3 libfreetype6 libgcc1 libgfortran3 libglib2.0-0 libglu1-mesa libgomp1 libharfbuzz0b libice6 libicu60 libilmbase12 libjbig0 libjpeg62 liblcms2-2 liblzma5 libmng2 libmuparser2v5 libnlopt0 libnss-sss libopenblas-base libopenexr22 libpcre3 libpng16-16 libquadmath0 libraw16 libreadline7 libsm6 libssl1.0.0 libstdc++6 libtbb2 libtiff5 libtinfo5 libuuid1 libx11-6 libx11-xcb1 libxau6 libxcb-glx0 libxcb1 libxcursor1 libxdmcp6 libxext6 libxfixes3 libxi6 libxml2 libxmu6 libxrender1 libxss1 libxt6 xterm x11-xkb-utils xkb-data zlib1g
# Choice of the version to install
SMECA_VERSION=2019.0.3-1-universal
# Automatically generate the archive filename and download link
SMECA_TGZ=salome_meca-$SMECA_VERSION.tgz
SMECA_URL=https://code-aster.org/FICHIERS/$SMECA_TGZ
# Download the salome_meca installer archive and inflate the .tgz file
INSTDIR=$(mktemp -d -t smeca-install-XXXXXXXXXX)
cd $INSTDIR && wget --no-check-certificate $SMECA_URL -O $SMECA_TGZ
tar xvf $SMECA_TGZ
# Install salome_meca in the default location ($HOME/salome_meca)
sh ${SMECA_TGZ/tgz/run} -t $HOME/salome_meca -l English -D –f
# Cleanup
rm -rf $INSTDIR
# Choice of the version to execute
SMECA_VERSION=2019.0.3-1-universal
cd $HOME/salome_meca/appli_V${SMECA_VERSION//-1-univ/_univ}
./salome
</syntaxhighlight>


== 2019.0.3-1のインストールオプション ==
== 2019.0.3-1のインストールオプション ==


-h    Show this message
-h    Show this message


-t    salome_meca install directory (default is /home/mmer547/salome_meca)
-t    salome_meca install directory (default is /home/mmer547/salome_meca)


-a    salome_meca virtual application directory (default is /home/mmer547/salome_meca/appli_V2019.0.3_universal)
-a    salome_meca virtual application directory (default is /home/mmer547/salome_meca/appli_V2019.0.3_universal)


-s    salome_meca temporary directory (default is /tmp)
-s    salome_meca temporary directory (default is /tmp)


-d    Do not install desktop file
-d    Do not install desktop file


-m    Do not install menu entry
-m    Do not install menu entry


-c    Do not install catalog for HPC resources
-c    Do not install catalog for HPC resources


-D    Equivalent to -dm. Do not install desktop file and menu entry
-D    Equivalent to -dm. Do not install desktop file and menu entry


-l    Choose language (English or French, default is English)
-l    Choose language (English or French, default is English)


-p    Do not install default preference file
-p    Do not install default preference file


-f    Force installation
-f    Force installation


-q    Quiet installation
-q    Quiet installation


-v    Verbose mode
-v    Verbose mode

2020年6月29日 (月) 06:58時点における最新版

Salome-Meca 2018のインストール

下記ページからsalome_meca-2018-LGPL-2.runをダウンロードします。


https://code-aster.org/spip.php?article1077

tar xvf salome_meca-2018-LGPL-2.tgz
./salome_meca-2018-LGPL-2.run

実行は以下コマンドでできる。

cd appli_V2018
./salome

Salome-Meca 2018のインストール

sudo -E apt update && sudo -E apt install -y --no-install-recommends wget net-tools python python3 libbsd0 libbz2-1.0 libc6 libdbus-1-3 libexpat1 libffi6 libfontconfig1 libfreeimage3 libfreetype6 libgcc1 libgfortran3 libglib2.0-0 libglu1-mesa libgomp1 libharfbuzz0b libice6 libicu60 libilmbase12 libjbig0 libjpeg62 liblcms2-2 liblzma5 libmng2 libmuparser2v5 libnlopt0 libnss-sss libopenblas-base libopenexr22 libpcre3 libpng16-16 libquadmath0 libraw16 libreadline7 libsm6 libssl1.0.0 libstdc++6 libtbb2 libtiff5 libtinfo5 libuuid1 libx11-6 libx11-xcb1 libxau6 libxcb-glx0 libxcb1 libxcursor1 libxdmcp6 libxext6 libxfixes3 libxi6 libxml2 libxmu6 libxrender1 libxss1 libxt6 xterm x11-xkb-utils xkb-data zlib1g

# Choice of the version to install
SMECA_VERSION=2019.0.3-1-universal
# Automatically generate the archive filename and download link 
SMECA_TGZ=salome_meca-$SMECA_VERSION.tgz 
SMECA_URL=https://code-aster.org/FICHIERS/$SMECA_TGZ 
# Download the salome_meca installer archive and inflate the .tgz file 
INSTDIR=$(mktemp -d -t smeca-install-XXXXXXXXXX) 
cd $INSTDIR && wget --no-check-certificate $SMECA_URL -O $SMECA_TGZ 
tar xvf $SMECA_TGZ 
# Install salome_meca in the default location ($HOME/salome_meca) 
sh ${SMECA_TGZ/tgz/run} -t $HOME/salome_meca -l English -D –f 
# Cleanup 
rm -rf $INSTDIR

# Choice of the version to execute 
SMECA_VERSION=2019.0.3-1-universal
cd $HOME/salome_meca/appli_V${SMECA_VERSION//-1-univ/_univ} 
./salome

2019.0.3-1のインストールオプション

-h Show this message

-t salome_meca install directory (default is /home/mmer547/salome_meca)

-a salome_meca virtual application directory (default is /home/mmer547/salome_meca/appli_V2019.0.3_universal)

-s salome_meca temporary directory (default is /tmp)

-d Do not install desktop file

-m Do not install menu entry

-c Do not install catalog for HPC resources

-D Equivalent to -dm. Do not install desktop file and menu entry

-l Choose language (English or French, default is English)

-p Do not install default preference file

-f Force installation

-q Quiet installation

-v Verbose mode