美文网首页
2020-07-06W target

2020-07-06W target

作者: 锅炉工的自我修养 | 来源:发表于2020-07-06 23:49 被阅读0次

input files

    1. 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

    1. 创建.dg、.dgo、.str、.trg、.equ与dg.和param.dg以及uinp.*之间的软连接

triang

    1. AMJUEL等,创建本地case与数据库的软连接
    1. fort.21~trim.dat
    1. fort.22~marlow.dat
    1. fort.3 ~1.000 1.000
    1. fort.30: geometry from B2
    1. fort.33~DEVICE.tria.xxx.nodes
    1. fort.34~DEVICE.tria.xxx.cells
    1. fort.35~DEVICE.tria.xxx.links
    1. fort.78:eirene boundary
    1. forr.85:


      image.png
    1. input.dat~input.eir


      image.png

W-target

    1. 关闭W溅射
    1. 关闭喷气

    1. 降低背景杂质粒子的浓度(1e16 .or.1e12 ~ 1e5)

    1. 先用不考虑溅射和Ar喷气的情况下,纯D跑出背景等离子体
    1. 对于SLURM脚本,经验(4 核16G 8核 20G)supported by WYL
  • 6。 查看申请的资源是否合适:ssh noden ;htop; cheek the sweep; F10;exit support by ZXL

一个case的创建过程

    1. dg设置
    1. save and output
    1. 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

相关文章

  • 2020-07-06W target

    input files check list b2ag b2ar b2ai b2ah b2.boundary.pa...

  • 使用Aggregate Target制作通用库Framework

    新建Aggregate Target 添加script到新建的Target # Sets the target f...

  • target

    没有分解的目标就不算是目标。 靠惯性支撑下去的零散兴趣是不是应该集中规划一下了?

  • target

    target和project的区别 同一个project可以有多个target,可以使用duplicate出来多个...

  • Target

    To learn,enjoy,create and spread the goodness in humanity...

  • target

    1 建立Header File 文件 Build Settings ———->Header 2 给项目添...

  • target

    Title div{height: 200px;width: 300px;...

  • Target

    激励团队 高效沟通 运筹帷幄,目光长远

  • target

    html有target属性的元素:规定在何处打开链接 _blank _parent _self _top

  • Xcode创建多个target,通过target管理不同的开发环

    1、打开工程主target,复制n个主target 选中复制的target,修改target名称 2、修改plis...

网友评论

      本文标题:2020-07-06W target

      本文链接:https://www.haomeiwen.com/subject/qxcwqktx.html