Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleRec
提交
12f161d6
P
PaddleRec
项目概览
PaddlePaddle
/
PaddleRec
通知
68
Star
12
Fork
5
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
27
列表
看板
标记
里程碑
合并请求
10
Wiki
1
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleRec
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
27
Issue
27
列表
看板
标记
里程碑
合并请求
10
合并请求
10
Pages
分析
分析
仓库分析
DevOps
Wiki
1
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
12f161d6
编写于
5月 12, 2020
作者:
T
tangwei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add mpi cluster
上级
b0873dd5
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
15 addition
and
19 deletion
+15
-19
fleet_rec/core/engine/cluster/master.sh
fleet_rec/core/engine/cluster/master.sh
+4
-0
models/rank/dnn/submit.sh
models/rank/dnn/submit.sh
+11
-19
未找到文件。
fleet_rec/core/engine/cluster/
submit
.sh
→
fleet_rec/core/engine/cluster/
master
.sh
浏览文件 @
12f161d6
...
@@ -53,3 +53,7 @@ function check_error()
...
@@ -53,3 +53,7 @@ function check_error()
exit
1
exit
1
fi
fi
}
}
source
${
engine_scrpit
}
main
\ No newline at end of file
models/rank/dnn/submit.sh
浏览文件 @
12f161d6
...
@@ -5,19 +5,15 @@
...
@@ -5,19 +5,15 @@
# Description: run mpi submit clinet implement
# Description: run mpi submit clinet implement
###################################################
###################################################
#-----------------------------------------------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------------
#fun : get argument from env, set it into variables
#fun : get argument from env, set it into variables
#param : N/A
#param : N/A
#return : 0 -- success; not 0 -- failure
#return : 0 -- success; not 0 -- failure
#-----------------------------------------------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------------
function
vars_get_from_env
()
{
function
vars_get_from_env
()
{
g_run_stage
=
"vars_get_from_env"
echo
"xx"
g_hpc_path
=
${
engine
.
}
g_crontabDate
=
$2
}
}
#-----------------------------------------------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------------
#fun : package
#fun : package
#param : N/A
#param : N/A
...
@@ -28,27 +24,24 @@ function package() {
...
@@ -28,27 +24,24 @@ function package() {
}
}
#-----------------------------------------------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------------
#fun : before hook submit to cluster
#fun : before hook submit to cluster
#param : N/A
#param : N/A
#return : 0 -- success; not 0 -- failure
#return : 0 -- success; not 0 -- failure
#-----------------------------------------------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------------
function
before_submit
()
{
function
before_submit
()
{
echo
"before_submit"
}
}
#-----------------------------------------------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------------
#fun : after hook submit to cluster
#fun : after hook submit to cluster
#param : N/A
#param : N/A
#return : 0 -- success; not 0 -- failure
#return : 0 -- success; not 0 -- failure
#-----------------------------------------------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------------
function
after_submit
()
{
function
after_submit
()
{
echo
"after_submit"
}
}
#-----------------------------------------------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------------
#fun : submit to cluster
#fun : submit to cluster
#param : N/A
#param : N/A
...
@@ -60,18 +53,17 @@ function submit() {
...
@@ -60,18 +53,17 @@ function submit() {
before_submit
before_submit
${
g_hpc_path
}
/bin/qsub_f
\
${
g_hpc_path
}
/bin/qsub_f
\
-N
${
g_job_name
}
\
-N
${
g_job_name
}
\
--conf
${
g_qsub_conf
}
\
--conf
${
g_qsub_conf
}
\
--hdfs
${
g_hdfs_path
}
\
--hdfs
${
g_hdfs_path
}
\
--ugi
${
g_hdfs_ugi
}
\
--ugi
${
g_hdfs_ugi
}
\
--hout
${
g_hdfs_output
}
\
--hout
${
g_hdfs_output
}
\
--files
${
g_submit_package
}
\
--files
${
g_submit_package
}
\
-l
nodes
=
${
g_job_nodes
}
,walltime
=
1000:00:00,resource
=
full
${
g_job_entry
}
-l
nodes
=
${
g_job_nodes
}
,walltime
=
1000:00:00,resource
=
full
${
g_job_entry
}
after_submit
after_submit
}
}
function
main
()
{
function
main
()
{
echo
"run submit done"
echo
"run submit done"
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录