From 1a59690f2e83fe2aca70db6eaa123e150f537abc Mon Sep 17 00:00:00 2001 From: zhangwei <894646498@qq.com> Date: Mon, 25 Nov 2024 10:54:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E7=AE=97=E4=BB=BB=E5=8A=A1=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E5=8F=82=E6=95=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/logic/cloud/getclusterlistlogic.go | 1 - internal/logic/hpc/commithpctasklogic.go | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/logic/cloud/getclusterlistlogic.go b/internal/logic/cloud/getclusterlistlogic.go index e1a5c2da1..fb8270a68 100644 --- a/internal/logic/cloud/getclusterlistlogic.go +++ b/internal/logic/cloud/getclusterlistlogic.go @@ -24,7 +24,6 @@ func NewGetClusterListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Ge func (l *GetClusterListLogic) GetClusterList(req *types.GetClusterListReq) (resp *types.GetClusterListResp, err error) { resp = &types.GetClusterListResp{} - //clusters := []models.ScParticipantPhyInfo{} l.svcCtx.DbEngin.Raw("select * from t_cluster where adapter_id = ?", req.AdapterId).Scan(&resp.Clusters) return resp, nil } diff --git a/internal/logic/hpc/commithpctasklogic.go b/internal/logic/hpc/commithpctasklogic.go index 31003d907..790ba6bda 100644 --- a/internal/logic/hpc/commithpctasklogic.go +++ b/internal/logic/hpc/commithpctasklogic.go @@ -136,8 +136,8 @@ func submitJob(hpcInfo *models.TaskHpc, clusterInfo *types.ClusterInfo, adapterA Partition: hpcInfo.Partition, Environment: map[string]string{"PATH": clusterInfo.EnvPath, "LD_LIBRARY_PATH": clusterInfo.EnvLdPath}, - StandardOutput: hpcInfo.WorkDir + "/%j.out", - StandardError: hpcInfo.WorkDir + "/%j.err", + StandardOutput: hpcInfo.WorkDir + "/job.out", + StandardError: hpcInfo.WorkDir + "/job.err", }, }, }