前提条件
利用するシェルはbashとします。
サンプルデータは以下のディレクトリに保存されています。
/opt/msc/Dytran/2023/ExampleProblems/
作業ディレクトリには実行ファイルが配置されているものとします。
(例) /home/user01/work/sample.dat
起動方法
作業ディレクトリに移動して、dytranを実行します。
cd /home/user01/work /opt/msc/Dytran/2023/bin/dytran jid=sample
※以下実行結果
Processing dy_setup: setenv MSC_LICENSE_FILE 27500@m6.media.hosei.ac.jp
DPL_MAXCPUS : 24
DPL_NCPUS : 1
DPL_PLATFORM : lnxx8664
EXEDIR : dytranexe
INSTALLDIR : /opt/msc/Dytran/2023
MSC_E_ORG : /opt/msc/Dytran/2023/dytranexe/orig_ermesg
MSC_E_TRA : /opt/msc/Dytran/2023/dytranexe/trans_ermesg
The following files with the generic name SAMPLE already exist:
SAMPLE.OUT
Do want them removed? (possible answers are: YES/no) :YES ←既に実行結果が存在している場合は
「YES」を入力して上書き実行する
…………………………………………………………………………
JobId is sample
Environment directory is /home/user01/work
Generic name is SAMPLE
Input file is named sample.dat
Neutral file is named SAMPLE.NIF
All output files will have prefix SAMPLE
Archive files will have extension .ARC
Time History files will have extension .THS
Restartoutput files will have extension .RST
Number of cores used for SMP 1
Number of cores used for DMP
Log file will be named SAMPLE.LOG
ATB output files will have extension .AOU
INFO : SCA_SERVICE_CATALOG=/opt/msc/Dytran/2023/res/SCAServiceCatalog.xml
INFO : SCA_LIBRARY_PATH=/opt/msc/Dytran/2023/dytranexe
INFO : SCA_RESOURCE_DIR=/opt/msc/Dytran/2023/res
Job was started at Web Feb 28 14:48:11:2024
Working directory is /home/user01/work
JobId is sample
Generic name is SAMPLE.NIF
Input file is sample.dat
Neutral input file is SAMPLE.NIF
Print output file is named /home/user01/work/SAMPLE.OUT
All output files have prefix SAMPLE
Directory on which calculations are primed is /home/user01/work
Archive files will have extension .ARC
Time history files will have extension .THS
Restart output files will have extension .RST
Number of processors used 1
Log file will be named SAMPLE.LOG
*** Start runnning Dytran /opt/msc/Dytran/2023/dytranexe/dytran.exe
実行結果の確認
作業ディレクトリ内に実行結果が作成されます。
ls -l
※以下実行結果
合計508
-rw-r--r-- 1 user01 user01 1071 2月 28 14:48 SAMPLE.NIF
-rw-r--r-- 1 user01 user01 460178 2 月 28 14:48 SAMPLE.OUT
-rw-r--r-- 1 user01 user01 23567 2 月 28 14:48 SAMPLE_ARCMAT_0.THS
-rw-r--r-- 1 user01 user01 4617 2月 28 14:48 SAMPLE_ERROR_SUMMARY.MSG
-rw-r--r-- 1 user01 user01 486 2月 28 14:48 SAMPLE_FILE_SUMMARY.MSG
-rw-r--r-- 1 user01 user01 324 2月 28 14:48 SAMPLE_JOB.INFO
-rw-r--r-- 1 user01 user01 243 2月 28 14:48 SAMPLE_NASTRAN_IGNORE.MSG
-r--r--r-- 1 user01 user01 1184 2月 28 14:46 sample.dat
-rw-r--r-- 1 user01 user01 25 2月 28 14:48 sample.inp3d