微波EDA網-關于我們 微波EDA網-出版的圖書專著 微波EDA網培訓課程列表 射頻工程師養成培訓學習教程
  • 1
  • 2
  • 3
  • 4

Issue with MainWin Core Services for SGE

By default, SGE creates a temporary directory for each SGE batch job, and deletes this temporary directory and its contents when the job finishes. SGE sets the TMP and TMPDIR environment variables of the job environment to point to this temporary directory. ANSYS EM desktop software starts the MainWin Core Services on startup, if they are not already running. After the ANSYS EM desktop software finishes, the MainWin Core Services time out and automatically shut down. The MainWin Core Services use the TMP and/or TMPDIR directories to store temporary data. If this temporary data is removed before the services shut down, then the services do not shut down automatically. Normally, SGE will remove the temporary directory and its contents before the services time out. The result is that these extraneous service processes run forever. If this problem occurs, each Ansoft batch job starts an additional set of these services that never shut down. This can result in an excessive number of processes running on the host where the ANSYS EM desktop is started. The names of the service processes are:

• watchdog

• regss

• mwrpcss

Workaround for Issue with MainWin Core Services

One way to avoid this problem is to modify the environment in which the ANSYS EM desktop runs so that the TMP and TMPDIR environment variables do not point to the directory which will be immediately removed by SGE when the job finishes. This can be done by copying the value of the TMPDIR environment variable to the ANS_SGE_TMPDIR environment variable, and unsetting the TMPDIR and TMP environment variables. The services ignore the ANS_SGE_TMPDIR environment variable, but if this variable is set, then it will be used as the temporary directory for the rest of the ANSYS EM software.

Here is an example bash wrapper script that may be used to work around this issue. In this example, the product is hfss, but the same approach will work for any ANSYS EM product. In this example, the script is named sge_hfss and is in the AnsysEM software installation directory. When an Ansoft desktop job is submitted to the SGE scheduler, the script (sge_hfss, in this example) should be submitted instead of hfss. The script will modify the environment, as needed, then start hfss. When the analysis finishes, the script returns the exit status of hfss.

An alternative is to place the script in an arbitrary directory, and modify the script to include an absolute path to the product (hfss in this example).

Script contents:

#! /bin/bash

 

# This script will not correctly process arguments containing

# spaces or other characters special to the shell.

 

# Create hfss command line

# In this example, sge_hfss and hfss are in the same directory

# An alternative is to use an absolute path for the hfss command

cmd0=$0

cmd="${cmd0/%sge_hfss/hfss} $@"

 

# Fix environment variables

export ANS_SGE_TMPDIR=${TMPDIR}

unset TMPDIR

unset TMP

 

# Run the hfss command and return the exit status

${cmd}

exit $?

Related Topics

Integration with Sun Grid Engine (SGE)

Monitoring ANSYS EM SGE Batch Jobs

Ansoft Desktop -monitor Command Line Option for SGE

Example SGE qsub Command Lines

Recommended Practices for SGE Clusters

主站蜘蛛池模板: 99精品热女视频专线| 亚洲乱码在线播放| 色婷婷精品大在线视频| 国产精品久久网| 99久久综合狠狠综合久久| 精品人妻系列无码人妻免费视频| 国产新疆成人a一片在线观看| 91香蕉视频污| 女人张腿让男人捅| 中文字幕成人在线| 日韩欧美在线看| 亚洲国产成人久久综合一区77| 特黄大片又粗又大又暴| 午夜dj在线观看神马电影中文| 试看120秒做受小视频免费| 国产欧美日韩一区| 538在线精品| 夜夜偷天天爽夜夜爱| 一二三四视频中文字幕在线看| 插插插综合视频| 久久国内精品自在自线软件| 欧美一级高清片在线| 亚洲欧洲日产国码www| 香蕉视频你懂的| 国产精品亚洲精品青青青| 99久久久国产精品免费蜜臀| 日本加勒比一区| 九九热在线视频观看这里只有精品| 欧美日韩中文国产一区| 亚洲精品国精品久久99热| 男女后进式猛烈XX00动态图片| 午夜精品久久久久久久久| 色噜噜狠狠狠狠色综合久一| 国产在线高清理伦片a电影| 日本娇小videos精品| 国产精品宅男在线观看| 一本大道香焦在线视频| 成年网站在线观看| 久久久亚洲精品无码| 日本高清二三四本2021第九页| 久久香蕉国产线看精品|