3232
3333
3434#  Two possible locations of TileDB-Vector-Search root -- edit as necessary
35- tdb_vector_search_root_1=" ${HOME} /TileDB-Vector-Search" 
35+ tdb_vector_search_root_1=" ${HOME} /TileDB/TileDB -Vector-Search" 
3636tdb_vector_search_root_2=" ${HOME} /TileDB/TileDB-Vector-Search" 
3737
3838#  AWS information
@@ -44,10 +44,10 @@ elif [ -f ./awsrc.bash ]; then
4444        .  ./awsrc.bash
4545fi 
4646
47- ivf_flat_tail=" src/cmake-build-release/libtiledbvectorsearch/src/ivf_flat " 
47+ ivf_flat_tail=" src/cmake-build-release/libtiledbvectorsearch/src/ivf/ivf_query " 
4848ivf_flat_1=${tdb_vector_search_root_1} /${ivf_flat_tail} 
4949ivf_flat_2=${tdb_vector_search_root_2} /${ivf_flat_tail} 
50- flat_l2_tail=" src/cmake-build-release/libtiledbvectorsearch/src/flat_l2" 
50+ flat_l2_tail=" src/cmake-build-release/libtiledbvectorsearch/src/flat/ flat_l2" 
5151flat_l2_1=${tdb_vector_search_root_1} /${flat_l2_tail} 
5252flat_l2_2=${tdb_vector_search_root_2} /${flat_l2_tail} 
5353
@@ -58,7 +58,7 @@ elif [ -f "${ivf_flat_1}" ]; then
5858elif  [ -f  " ${ivf_flat_2} "   ];  then 
5959    ivf_query=" ${ivf_flat_2} " 
6060else 
61-     echo  " Neither ivf_flat executable file exists" 
61+     echo  " Neither ivf_flat executable file exists  ${ivf_query}   ${ivf_flat_1}   ${ivf_flat_2} " 
6262fi 
6363
6464if  [ -f  flat_query ];  then 
7373
7474nvme_root=/mnt/ssd
7575
76- ec2_root=" /home/lums/TileDB-Vector-Search/external/data/gp3 " 
77- m1_root=" /Users/lums/TileDB/TileDB-Vector-Search/external/data/gp3 " 
76+ ec2_root=" /home/lums/TileDB/TileDB -Vector-Search/external/test_data/arrays " 
77+ m1_root=" /Users/lums/TileDB/TileDB-Vector-Search/external/test_data/arrays " 
7878
7979if  [ -d  " ${gp3_root} "   ];  then 
8080    gp3_root=${gp3_root} 
@@ -83,7 +83,7 @@ elif [ -d "${ec2_root}" ]; then
8383elif  [ -d  " ${m1_root} "   ];  then 
8484    gp3_root=${m1_root} 
8585else 
86-     echo  " gp3 directory does not exist" 
86+     echo  " gp3 directory ${gp3_root}   does not exist --  ${ec2_root}  --  ${m1_root} " 
8787fi 
8888
8989db_uri=" not_set" 
@@ -108,6 +108,7 @@ function init_1M_s3 () {
108108}
109109
110110function  init_1M_gp3  () {
111+     group_uri=" ${gp3_root} /bigann1M/group" " 
111112    db_uri="  ${gp3_root} /1M/bigann1M_base" 
112113    centroids_uri="  ${gp3_root} /1M/centroids.tdb" 
113114    parts_uri="  ${gp3_root} /1M/parts.tdb" 
0 commit comments