rsnt_translations
57,772
edits
No edit summary |
(Marked this version for translation) |
||
Line 217: | Line 217: | ||
<!--T:20885--> | |||
{{File | {{File | ||
|name="scriptsp1-mpi.txt" | |name="scriptsp1-mpi.txt" | ||
Line 229: | Line 230: | ||
#SBATCH --cpus-per-task=1 # Do not change ! | #SBATCH --cpus-per-task=1 # Do not change ! | ||
<!--T:20886--> | |||
module load abaqus/2021 | module load abaqus/2021 | ||
<!--T:20887--> | |||
unset SLURM_GTIDS | unset SLURM_GTIDS | ||
export MPI_IC_ORDER='tcp' | export MPI_IC_ORDER='tcp' | ||
Line 236: | Line 239: | ||
echo "ABAQUSLM_LICENSE_FILE=$ABAQUSLM_LICENSE_FILE" | echo "ABAQUSLM_LICENSE_FILE=$ABAQUSLM_LICENSE_FILE" | ||
<!--T:20888--> | |||
rm -f testsp1-mpi* | rm -f testsp1-mpi* | ||
<!--T:20889--> | |||
unset hostlist | unset hostlist | ||
nodes="$(slurm_hl2hl.py --format MPIHOSTLIST {{!}} xargs)" | nodes="$(slurm_hl2hl.py --format MPIHOSTLIST {{!}} xargs)" | ||
Line 246: | Line 251: | ||
echo "$mphostlist" > abaqus_v6.env | echo "$mphostlist" > abaqus_v6.env | ||
<!--T:20890--> | |||
abaqus job=testsp1-mpi input=mystd-sim.inp \ | abaqus job=testsp1-mpi input=mystd-sim.inp \ | ||
scratch=$SCRATCH cpus=$SLURM_NTASKS interactive mp_mode=mpi | scratch=$SCRATCH cpus=$SLURM_NTASKS interactive mp_mode=mpi | ||
Line 257: | Line 263: | ||
<!--T:20891--> | |||
<tabs> | <tabs> | ||
<tab name="project directory script"> | <tab name="project directory script"> | ||
Line 270: | Line 277: | ||
#SBATCH --nodes=1 # do not change | #SBATCH --nodes=1 # do not change | ||
<!--T:20892--> | |||
module load abaqus/2021 | module load abaqus/2021 | ||
<!--T:20893--> | |||
unset SLURM_GTIDS | unset SLURM_GTIDS | ||
export MPI_IC_ORDER='tcp' | export MPI_IC_ORDER='tcp' | ||
Line 277: | Line 286: | ||
echo "ABAQUSLM_LICENSE_FILE=$ABAQUSLM_LICENSE_FILE" | echo "ABAQUSLM_LICENSE_FILE=$ABAQUSLM_LICENSE_FILE" | ||
<!--T:20894--> | |||
rm -f testep1* testep2* | rm -f testep1* testep2* | ||
abaqus job=testep1 input=myexp-sim.inp \ | abaqus job=testep1 input=myexp-sim.inp \ | ||
Line 289: | Line 299: | ||
egrep -i "step|restart" testep*.com testep*.msg testep*.sta | egrep -i "step|restart" testep*.com testep*.msg testep*.sta | ||
<!--T:20895--> | |||
</tab> | </tab> | ||
<tab name="project directory restart script"> | <tab name="project directory restart script"> | ||
Line 302: | Line 313: | ||
#SBATCH --nodes=1 # do not change | #SBATCH --nodes=1 # do not change | ||
<!--T:20896--> | |||
module load abaqus/2021 | module load abaqus/2021 | ||
<!--T:20897--> | |||
unset SLURM_GTIDS | unset SLURM_GTIDS | ||
export MPI_IC_ORDER='tcp' | export MPI_IC_ORDER='tcp' | ||
Line 309: | Line 322: | ||
echo "ABAQUSLM_LICENSE_FILE=$ABAQUSLM_LICENSE_FILE" | echo "ABAQUSLM_LICENSE_FILE=$ABAQUSLM_LICENSE_FILE" | ||
<!--T:20898--> | |||
rm -f testep2* testep1.lck | rm -f testep2* testep1.lck | ||
for f in testep1*; do [[ -f ${f} ]] && cp -a "$f" "testep2${f#testep1}"; done | for f in testep1*; do [[ -f ${f} ]] && cp -a "$f" "testep2${f#testep1}"; done |