input files
- check list
- b2ag
- b2ar
- b2ai
- b2ah
- b2.boundary.parameters
- b2.neutrals.parameters
- b2.numerics.parameters
- b2.transport.parameters
- b2mn.dat
- b2.transport.inputfiles
- SLURM
lns
- 创建.dg、.dgo、.str、.trg、.equ与dg.和param.dg以及uinp.*之间的软连接
triang
- AMJUEL等,创建本地case与数据库的软连接
- fort.21~trim.dat
- fort.22~marlow.dat
- fort.3 ~
1.000 1.000
- fort.3 ~
- fort.30: geometry from B2
- fort.33~DEVICE.tria.xxx.nodes
- fort.34~DEVICE.tria.xxx.cells
- fort.35~DEVICE.tria.xxx.links
- fort.78:eirene boundary
-
forr.85:
image.png
-
-
input.dat~input.eir
image.png
-
W-target
- 关闭W溅射
- 关闭喷气
- 降低背景杂质粒子的浓度(1e16 .or.1e12 ~ 1e5)
- 先用不考虑溅射和Ar喷气的情况下,纯D跑出背景等离子体
- 对于SLURM脚本,经验(4 核16G 8核 20G)supported by WYL
- 6。 查看申请的资源是否合适:ssh noden ;htop; cheek the sweep; F10;exit support by ZXL
一个case的创建过程
- dg设置
- save and output
- lns (创建dg相关的链接)
#! /usr/bin/env ksh
# VERSION : 05.03.98 19:38
[ "$1" = '' ] && { \
echo "Usage: lns <Varid>"
echo " This will link the files to the Sonnet directory:"
echo " <Varid>.str --> struct.snn"
echo " <Varid>.trg --> targets.snn"
echo " equilibrium file --> equilibr.snn"
echo " to the Carre directory:"
echo " <Varid>.str --> dg.str"
echo " <Varid>.trg --> dg.trg"
echo " <Varid>.dgo --> dg.dgo"
echo " equilibrium file --> dg.equ"
echo " to the uinp directory:"
echo " <Varid>.dgo --> uinput.dg"
echo " <Varid>.trg --> uinput.trg"
echo " and to the baserun directory:"
echo " <Varid>.dgo --> param.dg"
exit 4
}
[ "$DEVICE" = '' ] && {
print -u2 -n -- "No DEVICE selected. Please provide a device name\n "
read u
export DEVICE=$u
}
[ "$SOLPS_CENTRAL" = 'yes' ] && DEVICE=$DEVICE/$USER
CLASSDIR=${DG}/device/$DEVICE
[ -d "$CLASSDIR" ] || {
print -u2 -n -- "The directory $CLASSDIR does not exist. Create it? (y/n) "
while true; do {
read u
{ case $u in
(y|Y) mkdir -p "$CLASSDIR" || {
print -u2 -- "Unable to create the directory. Check the permissions in ${CLASSDIR}%/*"
break 2
}; break;;
(n|N) break 2;;
( * ) print -u2 -n -- "Please answer with either y or n: ";;
esac; }
}; done
}
ln -sf `pwd`/"$1".str ${DG}/device/$DEVICE/struct.snn
ln -sf `pwd`/"$1".trg ${DG}/device/$DEVICE/targets.snn
ln -sf `pwd`/"$1".dgo uinput.dg
ln -sf `pwd`/"$1".trg uinput.trg
ln -sf `pwd`/"$1".str dg.str
ln -sf `pwd`/"$1".trg dg.trg
ln -sf `pwd`/"$1".dgo dg.dgo
ln -sf `pwd`/"$1".dgo param.dg
e=`cat $1.trg | grep '# equil' | cut -f3 -d' '`
# check in case we are doing a limiter configuration
# and must fetch the real equilibrium from the .dgo file
typeset -i z
NAME=/tmp/lns.$USER.`date +%Y%m%d%H%M%S`
cat $1.dgo | grep 'lm_equ' | wc -l > $NAME
z=`cat $NAME`
[ $z -gt 0 ] && {
l=`cat $1.dgo | grep 'lm_equ' | cut -f4 -d' '`
[ -s $l ] && {
echo Linking to limiter equilibrium $l
e=$l
} || {
echo Limiter equilibrium file $l not found!
}
}
rm $NAME
case $e in
( '' ) echo "$1.trg is in old format - no information on the equilibrium there"
[ -r default.equ ] && { \
ln -sf `pwd`/default.equ ${DG}/device/$DEVICE/equilibr.snn
ln -sf `pwd`/default.equ dg.equ
echo '-- the default equilibrium file is used';
} || echo '*** No default equilibrium file found (!!!)';;
( /* ) ln -sf $e ${DG}/device/$DEVICE/equilibr.snn
ln -sf $e dg.equ;;
( ../* ) (d=`dirname $e`; f=`basename $e`; cd $d;
ln -sf `pwd`/$f ${DG}/device/$DEVICE/equilibr.snn
ln -sf `pwd`/$f dg.equ);;
( ./* ) (d=`dirname $e`; f=`basename $e`; cd $d;
ln -sf `pwd`/$f ${DG}/device/$DEVICE/equilibr.snn
ln -sf `pwd`/$f dg.equ);;
( * ) ln -sf `pwd`/$e ${DG}/device/$DEVICE/equilibr.snn
ln -sf `pwd`/$e dg.equ;;
esac
网友评论