2. ABAQUSの使用方法¶
2.1. ABAQUSのコマンドライン実行¶
2.1.1. GPUを利用したインタラクティブノードでの実行¶
ログイン方法を参考にログインノードにログイ ン後、インタラクティブノードを利用したX転送を 参考にノードをX転送付きで確保して下さい。 以下以降の例では、全て計算ノードにログインした状態で行います。
GPUを利用する際はgpusオプションを利用します。
GPUを利用したインタラクティブ実行の例
(サンプルファイルs2a.inpが必要です)
$ module load abaqus/2017 cuda
$ abq2017 job=Standard input=s2a memory=240GB cpus=7 mp_mode=mpi gpus=1
2.1.2. インタラクティブノードでのヘルプファイルの確認¶
インタラクティブノードで環境を読み込んだ後に以下のコマンドを打つとヘルプを確認することが可能です。
利用したい機能に合わせたオプション選択を行って下さい。
$ abq2017 help
In the following execution procedures, "abaqus" refers to the command
used to run Abaqus.
Obtaining information
abaqus {help | information={environment | local | memory | release |
support | system | all} [job=job-name] | whereami}
Abaqus/Standard and Abaqus/Explicit execution
abaqus job=job-name
[analysis | datacheck | parametercheck | continue |
convert={select | odb | state | all} | recover |
syntaxcheck | information={environment | local |
memory | release | support | system | all}]
[input=input-file]
[user={source-file | object-file}]
[oldjob=oldjob-name]
[fil={append | new}]
[globalmodel={results file-name |
ODB output database file-name | SIM database file-name}]
[cpus=number-of-cpus]
[parallel={domain | loop}]
[domains=number-of-domains]
[dynamic_load_balancing]
[mp_mode={mpi | threads}]
[standard_parallel={all | solver}]
[gpus=number-of-gpgpus]
[memory=memory-size]
[interactive | background | queue[=queue-name] [after=time]]
[double={explicit | both | off | constraint}]
[scratch=scratch-dir]
[output_precision={single | full}]
[resultsformat={odb | sim | both}]
[port=co-simulation port-number]
[host=co-simulation hostname]
[csedirector=Co-Simulation Engine director host:port-number]
[timeout=co-simulation timeout value in seconds]
[unconnected_regions={yes | no}]
SIMULIA Co-Simulation Engine director execution
abaqus cse job=cosim-job-name configure-configuration file-name
listenerport=listener port-number
[datacheck] [interactive] [timeout=timeout value in seconds]
Abaqus/Standard, Abaqus/Explicit, and FMU co-simulation execution
abaqus cosimulation cosimjob=cosim-job-name
configure=co-simulation configuration file name
job=comma-separated list of Abaqus job names
[cpus={number-of-cpus | comma-separated list of number-of-cpus
for the Abaqus jobs}]
[cpuratio=comma-separated list of weight factors specifying
cpu allocation to Abaqus child analyses]
[interactive | background | queue[=queue-name] [after=time]]
[timeout=co-simulation timeout value in seconds]
[listenerport=co-simulation director listener socket
port number]
[portpool=colon-separated pair of socket port numbers]
[input=comma-separated list of Abaqus job input-file names]
[user=comma-separated list of {source-file | object-file} names
for the Abaqus jobs]
[globalmodel=comma-separated list of {results file |
ODB output database file | SIM database file} names]
[memory=comma-separated list of memory-sizes for the Abaqus
jobs]
[oldjob=comma-separated list of oldjob-names for the Abaqus
jobs]
[double=comma-separated list of double precision executable
settings for the Abaqus jobs]
[scratch=comma-separated list of scratch-dir names for the
Abaqus jobs]
[output_precision=comma-separated list of {single | full} for
the Abaqus jobs]
[fmu=comma-separated list of functional mockup unit files]
[fmuinstance=comma-separated list of functional mockup
instance names]
Dymola model execution
abaqus dymola input=Dymola map file name
port=co-simulation port number
host=co-simulation host name
SIMULIA Co-Simulation Engine FMU execution
abaqus fmu csedirector=CSE director hosts:port-number
fmu=fmu-file-name
instance=co-simulation-instance-name
[interactive] [timeout=timeout value in seconds]
Abaqus/CAE execution
abaqus cae [database=database-file] [replay=replay-file]
[recover=journal-file] [startup=startup-file]
[script=script-file] [noGUI[=noGUI-file]] [noenvstartup]
[noSavedOptions] [noSavedGuiPrefs] [noStartupDialog]
[custom=script-file] [guiTester[=GUI-script]]
[guiRecord] [guiNoRecord]
Abaqus/Viewer execution
abaqus viewer [database=database-file] [replay=replay-file]
[startup=startup-file] [script=script-file]
[noGUI[=noGUI-file]] [noenvstartup]
[noSavedOptions] [noSavedGuiPrefs] [noStartupDialog]
[custom=script-file] [guiTester[=GUI-script]]
[guiRecord] [guiNoRecord]
Topology optimization execution
abaqus optimization task=parameter file
job=results folder
Python execution
abaqus python [script-file]
Parametric studies
abaqus script [=script-file] [startup=startup file-name]
[noenvstartup]
Abaqus documentation
abaqus doc
Licensing utilities
abaqus licensing [lmstat | lmdiag | lmpath | lmtools | dslsstat |
reporttool]
ASCII translation of results (.fil) files
abaqus ascfil job=job-name [input=input-file]
Joining results (.fil) files
abaqus append job=job-name oldjob=oldjob-name input=input-file
Querying the keyword/problem database
abaqus findkeyword [job=job-name] [maximum=maximum-output]
Fetching sample input files
abaqus fetch job=job-name [input=input-file]
Making user-defined executables and subroutines
abaqus make {job=job-name | library=source-file}
[user={source-file | object-file}]
[directory=library-dir]
[object_type={fortran | c | cpp}]
Output database upgrade utility
abaqus upgrade job=job-name
[odb=old-odb-file-name]
SIM database utilities
abaqus sim_version {convert=old-sim-file-name |
query=sim-file-name | current}
[out=new-sim-file-name]
[level=release-level]
[help]
Translating ODB output database files to SIM format
abaqus odb2sim odb=odb-file-name sim=SIM-database-file-name
[log=log-file-name] [o2sdebug]
Generating output database reports
abaqus odbreport [job=job-name] [odb=output-database-file]
[mode={HTML | CSV}] [all] [mesh] [sets] [results]
[step={step-name | _LAST_}]
[frame={number | load-case-name | description | _LAST_}]
[framevalue={time | mode | frequency}]
[field=[field-variable]] [components] [invariants]
[orientation] [histregion=region-name]
[history=[history-variable]]
[instance={instance-name | _NONE_}]
[blocked] [extrema]
Joining output database (.odb) files from restarted analyses
abaqus restartjoin originalodb=odb-file-name
restartodb=odb-file-name
[copyoriginal] [history] [compressresult]
Combining output from substructures
abaqus substructurecombine baseodb=odb-file-name
copyodb=odb-file-name
[all] [step=step-name]
[frame=frame-number]
[variable=variable-key]
Combining output from multiple output databases
abaqus odbcombine job=job-name
[input=configuration-file-name]
[verbose=level]
Network output database file connector
abaqus networkDBConnector port={serverPortNumber | auto_assigned}
[timeout=time out value in seconds]
[host=hostname]
[stop]
[ping]
Mapping thermal and magnetic loads
abaqus emloads job=target-odb-name
input=subsequent analysis input-file-name
sourceodb=time-harmonic eddy current analysis
odb-file-name
Element matrix assembly utility
abaqus mtxasm job=name-of-assembled-mtx-sim-doc
[oldjob=name-of-element-mtx-sim-doc]
[text]
Translating Nastran bulk data files to Abaqus input files
abaqus fromnastran job=job-name [input=input-file]
[wtmass_fixup={OFF | ON}]
[loadcases={OFF | ON}]
[pbar_zero_reset=[small_real_number]]
[distribution={OFF | preservePID | ON}]
[surface_based_coupling={OFF | ON}]
[beam_offset_coupling={OFF | ON}]
[beam_orientation_vector={OFF | ON}]
[cbar=2-node-beam-element]
[cquad4=4-node-shell-element]
[chexa=8-node-brick-element]
[ctetra=10-node-tetrahedron-element]
[plotel={OFF | ON}]
[cdh_weld={OFF | RIGID | COMPLIANT}]
Translating Abaqus files to Nastran bulk data files
abaqus tonastran job=job-name [input=input-file]
[substructure]
[complex={YES | NO}
Translating ANSYS input files to partial Abaqus input files
abaqus fromansys job=job-name [input=input-file]
Translating PAM-CRASH input files to partial Abaqus input files
abaqus frompamcrash job=job-name
input=input-file
[pLinkConnectors={OFF | ON}]
[splitAirbagElements={OFF | ON}]
[autoKJoinStops={OFF | ON}]
Translating RADIOSS input files to partial Abaqus input files
abaqus fromradioss job=job-name
input=input-file
[splitAirbagElements={OFF | ON}]
[readAbaqusDat=data-file]
[userDefaultMass=real-number]
[userDefaultInertia=real-number]
[userHistoryTime=real-number]
Translating Abaqus output database files to Nastran Output2
results files
abaqus toOutput2 job=job-name [odb=odb-name]
[step=step-number]
[increment=increment-number]
[slim] [quad4corner]
Translating LS-DYNA data files to Abaqus input files
abaqus fromdyna job=job-name input=dyna-input-file
[splitFile={OFF | ON}]
Exchanging Abaqus data with ZAERO
abaqus tozaero job=job-name [unvfile=unv-file-name]
[odbfile=odb-file-name]
[mtxfile=mtx-file-name]
[step=step-number]
[mode={text | binary}]
Translating Abaqus data to MSC.ADAMS modal neutral files
abaqus adams job=job-name [substructure_sim=filename]
[units=mmks | mks | cgs | ips]
[length=length-units-name]
[mass=mass-units-name]
[time=time-units-name]
[force=force-units-name]
[mnf_elset=elset-name]
Translating an Abaqus substructure to a SIMPACK flexible body
abaqus tosimpack job=job-name [substucture_sim=filename]
[units=mmks | mks | cgs | ips]
[length=length-units-name]
[mass=mass-units-name]
[time=time-units-name]
[fbi_elset=elset-name]
Translating an Abaqus substructure to an EXCITE flexible body
abaqus toexcite job=job-name [substructure_sim=filename]
Translating Moldflow data to Abaqus input files
abaqus moldflow job=job-name [input=input-name]
[midplane | 3D]
[element_order={1 | 2}]
[initial_stress={on | off}]
[material=traditional]
[orientation=traditional]
Encrypting and decrypting Abaqus input data
abaqus {encrypt | decrypt} input=input-file-name
output=output-file-name
password=password
[license=feature_list]
[siteid=site-id_list]
[include_only]
[expiration=expiration_date]
Job execution control
abaqus {suspend | resume | terminate}
{job=job-name | host=hostname port=port-number}
Hardware system verification process
abaqus sysVerify [cpus=number-of-cpus]
[interactive | background | queue[=queue-name]]
2.1.3. バッチジョブスケジューラーUGEによる実行¶
ノード並列化はmphファイルにて作り込む必要があります。4.1.1を参照ください。
スクリプト例:
#!/bin/bash
#プライオリティ
#$ -p -5
#実行ディレクトリ:カレントディレクトリ
#$ -cwd
#job名
#$ -N ABAQUS-test
#送信先メールアドレス
#$ -M ambertest[at]o.cc.titech.ac.jp
#エラーメッセージファイル名、設定なしだとスクリプト.e.JOBID
#$ -e uge.err
#標準出力ファイル名、設定なしだとスクリプト.o.JOBID
#$ -o uge.out
#*必須:資源タイプの指定
#$ -l h_node=1
#*必須:時間指定
#$ -l h_rt=0:10:00
#$ -V
#モジュールの呼び出し
. /etc/profile.d/modules.sh
module load cuda/8.0.44
module load abaqus/2017 intel/17.0.4.196
#作業ディレクトリの指定
##ご自分の環境に合わせて設定ください。
##カレントディレクトリで実施する場合は必要ありませんが、その場合は$base_dirがある箇所を修正ください。
export base_dir=/home/4/t3-test00/isv/abaqus/abaqus
#ABAQUSsettings.
INPUT=s2a
ABAQUS_VER=2017
ABAQUS_CMD=abq${ABAQUS_VER}
SCRATCH=${base_dir}/scratch
NCPUS=2
cd ${base_dir}
/usr/bin/time ${ABAQUS_CMD} interactive \
job=${INPUT} \
cpus=${NCPUS} \
scratch=${SCRATCH} \
mp_mode=mpi > ${INPUT}.`date '+%Y%m%d%H%M%S'`log 2>&1
GPUを利用した場合の例(q_node利用時)
#!/bin/bash
#$ -p -5
#$ -cwd
#$ -N ABAQUS-test
#$ -M ambertest[at]o.cc.titech.ac.jp
#$ -e uge.err
#$ -o uge.out
#$ -l q_node=1
#$ -l h_rt=0:10:00
#$ -V
. /etc/profile.d/modules.sh
module load abaqus/2017 cuda
abq2017 job=Standard input=s2a memory=50GB cpus=7 mp_mode=mpi gpus=1
2.2. ライセンス使用状況の確認¶
ABAQUSのライセンス制限につきましては「ISVアプリケーションのライセンス制限について」をご確認下さい。
ABAQUSのライセンス利用状況は以下のコマンドでご確認ください。
$ abaqus licensing dslsstat -usage
上記を実行しますと、以下のような出力が得られます。
Featureの項目に表示されるユーザ名・ホスト名の箇所から消費されているライセンス数が確認できます。
# 1 license servers declared:
Server: lice0:27003,remote:27003,t3ldap1:27003
Name : lice0,remote,t3ldap1
Port : 27003,27003,27003
Status : Running
Type : Failover
Version : 6.419.0
OS Names : Linux
: Linux
: Linux
OS Versions : 4.4.120-92.70-default
: 4.4.120-92.70-default
: 4.4.120-92.70-default
OS Archs : amd64
: amd64
: amd64
Computer Ids : WUW-537510C47AD4EF6E
: ILV-520516C47A3B6020
: RBZ-52E616C47AF66E38
Licenses:
+ Feature | Version | Model | Type | Number | InUse | Expires | Server Name | Customer ID
+ ------------------------- | ------- | --------------- | ----- | --------- | ------- | -------------------- | -------------------- | -----------
| IGD | 23 | ConcurrentUser | STD | 10 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| IGE | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| IGF | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| IGR | 23 | ConcurrentUser | STD | 10 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| Q6I | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QAE | 23 | Token | STD | 10 | 2 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
xxxx on XXXX (42601C4D54589FB7-c0a8a018.6), granted on 18-Dec-2019 12:28:42 using 1 licenses <------
yyyy on YYYY (41121026184E572A-c0a8a030.6), granted on 18-Dec-2019 14:07:11 using 1 licenses <------
| QAQ | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QAS | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QAX | 23 | Token | STD | 10 | 2 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
xxxx on XXXX (42601C4D54589FB7-c0a8a018.6), granted on 18-Dec-2019 12:28:42 using 1 licenses <------
yyyy on YYYY (41121026184E572A-c0a8a030.6), granted on 18-Dec-2019 14:07:12 using 1 licenses <------
| QCA | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QCD | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QCF | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QCL | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QDC | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QDN | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QDP | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QDS | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QDT | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QEL | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QEX | 23 | Token | STD | 500 | 135 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
xxxx on r5i1n5 (52FD11C47A3FB2C7-0a0004c9.0), granted on 18-Dec-2019 13:43:53 using 135 licenses <------
| QFT | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QFX | 23 | Token | STD | 10 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QIA | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QIF | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QIN | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QIQ | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QIS | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QMS | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QPF | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QPL | 23 | ConcurrentUser | STD | 16384 | 1 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
xxxx on r5i1n5 (52FD11C47A3FB2C7-0a0004c9.0), granted on 18-Dec-2019 13:26:09 <------
yyyy on r1i7n6 (527913C47A3FB63D-0a000119.0), granted on 18-Dec-2019 13:26:09 <------
zzzz on r2i7n3 (52D817C47A3FB599-0a000231.0), granted on 18-Dec-2019 13:26:09 <------
| QPU | 23 | ConcurrentUser | STD | 1 | 1 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
18M10318 on r2i7n3 (52D817C47A3FB599-0a000231.0), granted on 18-Dec-2019 13:54:44 <------
| QS3 | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QSA | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QSD | 23 | Token | STD | 500 | 380 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
xxxx on r1i7n6 (527913C47A3FB63D-0a000119.0), granted on 18-Dec-2019 13:54:30 using 140 licenses <------
yyyy on r2i7n3 (52D817C47A3FB599-0a000231.0), granted on 18-Dec-2019 13:54:44 using 140 licenses <------
zzzz on r4i7n6 (52FF13C47A3FB4C5-0a000485.0), granted on 18-Dec-2019 14:00:27 using 50 licenses <------
wwww on r1i1n3 (526115C47A3FB623-0a000031.0), granted on 18-Dec-2019 14:07:33 using 50 licenses <------
+ Feature | Version | Model | Type | Number | InUse | Expires | Server Name | Customer ID
+ ------------------------- | ------- | --------------- | ----- | --------- | ------- | -------------------- | -------------------- | -----------
| QSE | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QSH | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QSI | 23 | ConcurrentUser | STD | 1 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QSL | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QSM | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QSN | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QSO | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QSP | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QST | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QSZ | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QXF | 23 | Token | STD | 500 | 0 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
| QXT | 23 | Token | STD | 500 | 465 | 01-Aug-2022 08:59:00 | lice0,remote,t3ldap1 | 200000000023959
xxxx on r5i1n5 (52FD11C47A3FB2C7-0a0004c9.0), granted on 18-Dec-2019 13:51:40 using 135 licenses <------
yyyy on r1i7n6 (527913C47A3FB63D-0a000119.0), granted on 18-Dec-2019 13:54:30 using 140 licenses <------
zzzz on r2i7n3 (52D817C47A3FB599-0a000231.0), granted on 18-Dec-2019 13:54:44 using 140 licenses <------
wwww on r4i7n6 (52FF13C47A3FB4C5-0a000485.0), granted on 18-Dec-2019 14:00:51 using 50 licenses <------