微波EDA網(wǎng)-關(guān)于我們 微波EDA網(wǎng)-出版的圖書專著 微波EDA網(wǎng)培訓(xùn)課程列表 射頻工程師養(yǎng)成培訓(xùn)學(xué)習(xí)教程
  • 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

主站蜘蛛池模板: 久久亚洲色www成人欧美| 免费视频你懂的| **真实毛片免费观看| 夫妇野外交换hd中文小说| 丰满少妇被猛烈高清播放| 日韩高清在线免费看| 亚洲国产精品毛片AV不卡在线| 男女性潮高清免费网站| 四虎影院国产精品| 韩国理论福利片午夜| 国产精品偷伦视频观看免费 | 爱情岛讨论坛线路亚洲高品质| 老师…好紧开裆蕾丝内裤| 80s国产成年女人毛片| 少妇伦子伦精品无码styles| 久久久午夜精品福利内容| 欧洲卡一卡二卡在线| 亚洲欧美不卡视频在线播放| 男人下面进女人下面视频免费| 国产123在线观看| 蹂躏国际女刑警之屈服| 国产成人亚洲精品无码av大片| 你懂的国产高清在线播放视频| 国产高潮国产高潮久久久| bl道具play珠串震珠强迫| 巨大黑人极品videos中国| 中文字幕人成无码免费视频| 日本乱理伦片在线观看网址| 久久精品日韩Av无码| 桃子视频在线官网观看免费| 亚洲成av人片在线观看无| 毛片a级毛片免费观看免下载 | 窈窕淑女在线观看免费韩剧| 日本精品一区二区三本中文| 五月开心播播网| 欧美一卡2卡3卡4卡免费| 亚洲国产精品一区二区三区在线观看| 欧美精品v国产精品v| 亚洲精品tv久久久久久久久久| 狠狠色丁香婷婷久久综合| 免费看欧美一级特黄a大片一|