提交 12f161d6 编写于 作者: T tangwei

add mpi cluster

上级 b0873dd5
...@@ -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
...@@ -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
...@@ -71,7 +64,6 @@ function submit() { ...@@ -71,7 +64,6 @@ function submit() {
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.
先完成此消息的编辑!
想要评论请 注册