Commit 23e669e6 authored by Frank Winkler's avatar Frank Winkler
Browse files

Cleaned up some debug infos.

parent f3bc1b14
......@@ -211,7 +211,6 @@ extern int prep_p_prolog_slurmctld(job_record_t *job_ptr, bool *async)
// Some async task
if (rc == SLURM_SUCCESS) {
slurm_info(PLUGIN_NAME "prep_p_prolog_slurmctld User %s\n", job_ptr->user_name);
pika_metadata_log(job_ptr->job_id, json, false);
}
......@@ -246,7 +245,6 @@ extern int prep_p_epilog_slurmctld(job_record_t *job_ptr, bool *async)
// Some async task
if (rc == SLURM_SUCCESS) {
slurm_info(PLUGIN_NAME "prep_p_epilog_slurmctld User %s %d\n", (job_ptr->user_name), job_ptr->user_id);
pika_metadata_log(job_ptr->job_id, json, true);
}
......@@ -706,30 +704,6 @@ static internal_error_t job_ptr_to_json(job_record_t *job_ptr, char **json, bool
else
kvp = epilog_data;
// /*
// * Definition of key value pairs to be added to the json.
// */
// key_value_pair_t data[] = {
// {"ARRAY_ID", U32, .value.uint32=job_ptr->array_job_id},
// {"JOB_NAME", CHARP, .value.charp=job_ptr->name},
// {"USER_ID", U32, .value.uint32=job_ptr->user_id},
// {"ACCOUNT", CHARP, .value.charp=job_ptr->account},
// {"WORK_DIR", CHARP, .value.charp=job_ptr->details->work_dir},
// {"PARTITION", CHARP, .value.charp=job_ptr->partition},
// {"CPU_CNT", U32, .value.uint32=job_ptr->job_resrcs->ncpus},
// {"CPU_IDS", U16PP, .value.uint16pp={ids, id_cnts, job_ptr->job_resrcs->nhosts}},
// {"NODE_CNT", U32, .value.uint32=job_ptr->job_resrcs->nhosts},
// {"NODE_NAMES", CHARPP, .value.charpp={node_names, name_cnt}},
// {"MEM_PER_CPU", U64, .value.uint64=mem_per_cpu},
// {"MEM_PER_NODE", U64, .value.uint64=mem_per_node},
// {"TIME_LIMIT", U32, .value.uint32=job_ptr->time_limit},
// {"COMMENT", CHARP, .value.charp=job_ptr->comment},
// {"WHOLE_NODE", U16, .value.uint16=job_ptr->details->whole_node},
// {NULL, NONE},
// };
// key_value_pair_t *kvp = data;
rc = json_init(json, 0, job_ptr->job_id);
offset += rc;
while (kvp->key && rc >= 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment