#! /bin/bash

# Resource config
# declare -a gpu_list=(0 1 2 3 4 5 6 7)
# declare -a cpu_list=("0-7" "8-15" "16-31" "32-39" "40-47" "48-55" "56-63" "64-72")
declare -a gpu_list=(0 1 2)
declare -a cpu_list=("0-7" "8-15" "16-31")
# declare -a gpu_list=(1)
# declare -a cpu_list=("8-15")
# declare -a gpu_list=(6)
# declare -a cpu_list=("56-63")
pool_size=${#gpu_list[@]}
host_name=`uname -n`


# core config
# data_name=cora
data_name=pubmed
# data_name=citeseer
model_name="SAGE"

# data_name=a-computer
# data_name=a-photo
# model_name=exphormer

GNN_target_path=../result/${data_name}/${model_name}/seed_0
#########################


# ## config tuining
# scenario=cand_select
# ## SDMP config
# SDMP_config_root=../config/ablation/${scenario}
# declare -a SDMP_config_name=("${scenario}_${data_name}_${model_name}_k1.yml" "${scenario}_${data_name}_${model_name}_k2.yml" "${scenario}_${data_name}_${model_name}_k3.yml" "${scenario}_${data_name}_${model_name}_k4.yml")
# SDMP_root_result_path=../result/ablation/${scenario}/${data_name}_${model_name}


## config tuining
scenario=warming
## SDMP config
SDMP_config_root=../config/ablation/${scenario}
# declare -a SDMP_config_name=("${scenario}_${data_name}_0.yml" "${scenario}_${data_name}_50.yml" "${scenario}_${data_name}_150.yml" "${scenario}_${data_name}_300.yml")
declare -a SDMP_config_name=("${scenario}_${data_name}_${model_name}_0.yml" "${scenario}_${data_name}_${model_name}_5.yml" "${scenario}_${data_name}_${model_name}_10.yml" "${scenario}_${data_name}_${model_name}_20.yml" "${scenario}_${data_name}_${model_name}_40.yml")
SDMP_root_result_path=../result/ablation/${scenario}/${data_name}_${model_name}

source ./source_gen_SDMP_conf_loop.sh "--eval_level 1"

#############################
# obs
# ## config tuining
# scenario=subset
# ## SDMP config
# SDMP_config_root=../config/ablation/${scenario}
# declare -a SDMP_config_name=("${scenario}_${data_name}_best.yml" "${scenario}_${data_name}_0.2.yml" "${scenario}_${data_name}_0.4.yml" "${scenario}_${data_name}_0.6.yml" "${scenario}_${data_name}_0.8.yml")
# SDMP_root_result_path=../result/ablation/${scenario}