Skip to content

Commit

Permalink
Synchronize stable with develop branch (#172)
Browse files Browse the repository at this point in the history
* fix data type

* fix data type

* add client side statistics

* add client side statistics

* fix format

* clang formatter

* update CMake

* update CMake

* update CMake

* free allocated memory properly

* clang format

* clang format

* clang-format-10

* change file name

* address review comments

* update llsm importer

* update llsm importer

* update server checkpoint intervals

* update gitignore

* adding job scripts

* adding one debugging msg

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update output for uint64_t

* add scripts

* update output for uint64_t

* update output for uint64_t

* update output for uint64_t

* update scripts

* update scripts

* delete debugging message

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* update tag names

* update tag names

* update query startingpos

* update query startingpos

* update job scripts

* add progressive timing for kvtag_add_get_scale

* fix iteration count in final report

* update job scripts and benckmark program

* update message format

* update message format

* update message format

* update message format

* clang format

* update job scripts

* comment off object/container close procedure in  benchmark to save node hours

* change the max number of object to 1M

* change the max length of attribute value

* change the max length of attribute value

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update cmake and llsm_importer

* update cmake and llsm_importer

* close if in cmake

* cmake fix tiff

* cmake policy to suppress warning

* add pdc include dir

* update code

* update code

* update code

* update code

* update code

* update code

* update array generating method

* update array generating method

* update array generating method

* update array generating method

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* fix return type

* fix return type

* add timing

* add timing

* fix output

* llsm tiff importer 1st version: read csv and import tiff files to PDC, adding metadata available in CSV files and TIFF loader

* fix vairable name

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* add scripts

* add scripts

* add scripts

* debugging for nonMPI program

* debugging for nonMPI program

* debugging for nonMPI program

* clang format, without PDC, everything works perfectly. program fails at PDC init stage where PDCprop_create(PDC_CONT_CREATE, pdc) is being created

* enable MPI

* enable MPI

* enlarge BCase size

* enlarge BCase size

* enlarge BCase size

* resolve bcast count

* llsm data path in script

* llsm data path in script

* update csv reader

* update csv reader

* update csv reader

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* enlarge max write

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc_import.c

* update pdc_import.c

* update pdc_export.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update tools/cmake

* clang format

* clang format

* Merge tools/llsm_importer (#81)

* remove unnecessary install block from CMakeLists.txt

* update output

* Revert "update output"

This reverts commit fe1f8b44995bc0dabd3b957e1032c2da26f56fdd.

* build kvtag_add_get_scale

* comment off free

* update code

* 1. kvtag_scale_add_get added \n 2. uint64_t support for obj/tag/query count \n 3. moving work assigning block downwards right before creating objects \n 4. everything is tested working

* do while loop added, tested with 1m object and works

* 1m objects test works, 10m object test fail as the original also fails

* add new executable to test set

* enlarge PDC_SERVER_ID_INTERVAL

* update code

* update console args

* add p search test

* add console arg for changing number of attributes per object

* free allocated memory

* fix query count issue

* fix attr length definition

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* fix data type

* fix data type

* fix data type

* add client side statistics

* add client side statistics

* fix format

* clang formatter

* update CMake

* update CMake

* update CMake

* free allocated memory properly

* clang format

* clang format

* clang-format-10

* change file name

* address review comments

* update llsm importer

* update llsm importer

* update server checkpoint intervals

* update gitignore

* adding job scripts

* adding one debugging msg

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update output for uint64_t

* add scripts

* update output for uint64_t

* update output for uint64_t

* update output for uint64_t

* update scripts

* update scripts

* delete debugging message

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* update tag names

* update tag names

* update query startingpos

* update query startingpos

* update job scripts

* add progressive timing for kvtag_add_get_scale

* fix iteration count in final report

* update job scripts and benckmark program

* update message format

* update message format

* update message format

* update message format

* clang format

* update job scripts

* comment off object/container close procedure in  benchmark to save node hours

* change the max number of object to 1M

* change the max length of attribute value

* change the max length of attribute value

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update cmake and llsm_importer

* update cmake and llsm_importer

* close if in cmake

* cmake fix tiff

* cmake policy to suppress warning

* add pdc include dir

* update code

* update code

* update code

* update code

* update code

* update code

* update array generating method

* update array generating method

* update array generating method

* update array generating method

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* fix return type

* fix return type

* add timing

* add timing

* fix output

* llsm tiff importer 1st version: read csv and import tiff files to PDC, adding metadata available in CSV files and TIFF loader

* fix vairable name

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* add scripts

* add scripts

* add scripts

* debugging for nonMPI program

* debugging for nonMPI program

* debugging for nonMPI program

* clang format, without PDC, everything works perfectly. program fails at PDC init stage where PDCprop_create(PDC_CONT_CREATE, pdc) is being created

* enable MPI

* enable MPI

* enlarge BCase size

* enlarge BCase size

* enlarge BCase size

* resolve bcast count

* llsm data path in script

* llsm data path in script

* update csv reader

* update csv reader

* update csv reader

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* enlarge max write

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc_import.c

* update pdc_import.c

* update pdc_export.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update tools/cmake

* clang format

* clang format

---------

Co-authored-by: Houjun Tang <[email protected]>

* added a tutorial for llsm_importer

* added a tutorial for llsm_importer

* Adding tutorial for llsm_importer tool. (#84)

* remove unnecessary install block from CMakeLists.txt

* update output

* Revert "update output"

This reverts commit fe1f8b44995bc0dabd3b957e1032c2da26f56fdd.

* build kvtag_add_get_scale

* comment off free

* update code

* 1. kvtag_scale_add_get added \n 2. uint64_t support for obj/tag/query count \n 3. moving work assigning block downwards right before creating objects \n 4. everything is tested working

* do while loop added, tested with 1m object and works

* 1m objects test works, 10m object test fail as the original also fails

* add new executable to test set

* enlarge PDC_SERVER_ID_INTERVAL

* update code

* update console args

* add p search test

* add console arg for changing number of attributes per object

* free allocated memory

* fix query count issue

* fix attr length definition

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* fix data type

* fix data type

* fix data type

* add client side statistics

* add client side statistics

* fix format

* clang formatter

* update CMake

* update CMake

* update CMake

* free allocated memory properly

* clang format

* clang format

* clang-format-10

* change file name

* address review comments

* update llsm importer

* update llsm importer

* update server checkpoint intervals

* update gitignore

* adding job scripts

* adding one debugging msg

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update output for uint64_t

* add scripts

* update output for uint64_t

* update output for uint64_t

* update output for uint64_t

* update scripts

* update scripts

* delete debugging message

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* update tag names

* update tag names

* update query startingpos

* update query startingpos

* update job scripts

* add progressive timing for kvtag_add_get_scale

* fix iteration count in final report

* update job scripts and benckmark program

* update message format

* update message format

* update message format

* update message format

* clang format

* update job scripts

* comment off object/container close procedure in  benchmark to save node hours

* change the max number of object to 1M

* change the max length of attribute value

* change the max length of attribute value

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update cmake and llsm_importer

* update cmake and llsm_importer

* close if in cmake

* cmake fix tiff

* cmake policy to suppress warning

* add pdc include dir

* update code

* update code

* update code

* update code

* update code

* update code

* update array generating method

* update array generating method

* update array generating method

* update array generating method

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* fix return type

* fix return type

* add timing

* add timing

* fix output

* llsm tiff importer 1st version: read csv and import tiff files to PDC, adding metadata available in CSV files and TIFF loader

* fix vairable name

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* add scripts

* add scripts

* add scripts

* debugging for nonMPI program

* debugging for nonMPI program

* debugging for nonMPI program

* clang format, without PDC, everything works perfectly. program fails at PDC init stage where PDCprop_create(PDC_CONT_CREATE, pdc) is being created

* enable MPI

* enable MPI

* enlarge BCase size

* enlarge BCase size

* enlarge BCase size

* resolve bcast count

* llsm data path in script

* llsm data path in script

* update csv reader

* update csv reader

* update csv reader

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* enlarge max write

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc_import.c

* update pdc_import.c

* update pdc_export.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update tools/cmake

* clang format

* clang format

* added a tutorial for llsm_importer

* added a tutorial for llsm_importer

---------

Co-authored-by: Houjun Tang <[email protected]>

* make sure the line feed is included for string attribute

* update timing for overall completion time

* Update .gitlab-ci.yml removing Cori

Remove Cori CI in advance of Cori's decommission by the end of the month.

* Remove unnecessary fflush call

Signed-off-by: Chen Wang <[email protected]>

* update formatting

* LLSM_importer Tutorial and Timing for job completion time. (#86)

* remove unnecessary install block from CMakeLists.txt

* update output

* Revert "update output"

This reverts commit fe1f8b44995bc0dabd3b957e1032c2da26f56fdd.

* build kvtag_add_get_scale

* comment off free

* update code

* 1. kvtag_scale_add_get added \n 2. uint64_t support for obj/tag/query count \n 3. moving work assigning block downwards right before creating objects \n 4. everything is tested working

* do while loop added, tested with 1m object and works

* 1m objects test works, 10m object test fail as the original also fails

* add new executable to test set

* enlarge PDC_SERVER_ID_INTERVAL

* update code

* update console args

* add p search test

* add console arg for changing number of attributes per object

* free allocated memory

* fix query count issue

* fix attr length definition

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* fix data type

* fix data type

* fix data type

* add client side statistics

* add client side statistics

* fix format

* clang formatter

* update CMake

* update CMake

* update CMake

* free allocated memory properly

* clang format

* clang format

* clang-format-10

* change file name

* address review comments

* update llsm importer

* update llsm importer

* update server checkpoint intervals

* update gitignore

* adding job scripts

* adding one debugging msg

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update output for uint64_t

* add scripts

* update output for uint64_t

* update output for uint64_t

* update output for uint64_t

* update scripts

* update scripts

* delete debugging message

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* update tag names

* update tag names

* update query startingpos

* update query startingpos

* update job scripts

* add progressive timing for kvtag_add_get_scale

* fix iteration count in final report

* update job scripts and benckmark program

* update message format

* update message format

* update message format

* update message format

* clang format

* update job scripts

* comment off object/container close procedure in  benchmark to save node hours

* change the max number of object to 1M

* change the max length of attribute value

* change the max length of attribute value

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update cmake and llsm_importer

* update cmake and llsm_importer

* close if in cmake

* cmake fix tiff

* cmake policy to suppress warning

* add pdc include dir

* update code

* update code

* update code

* update code

* update code

* update code

* update array generating method

* update array generating method

* update array generating method

* update array generating method

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* fix return type

* fix return type

* add timing

* add timing

* fix output

* llsm tiff importer 1st version: read csv and import tiff files to PDC, adding metadata available in CSV files and TIFF loader

* fix vairable name

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* add scripts

* add scripts

* add scripts

* debugging for nonMPI program

* debugging for nonMPI program

* debugging for nonMPI program

* clang format, without PDC, everything works perfectly. program fails at PDC init stage where PDCprop_create(PDC_CONT_CREATE, pdc) is being created

* enable MPI

* enable MPI

* enlarge BCase size

* enlarge BCase size

* enlarge BCase size

* resolve bcast count

* llsm data path in script

* llsm data path in script

* update csv reader

* update csv reader

* update csv reader

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* enlarge max write

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc_import.c

* update pdc_import.c

* update pdc_export.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update tools/cmake

* clang format

* clang format

* added a tutorial for llsm_importer

* added a tutorial for llsm_importer

* make sure the line feed is included for string attribute

* update timing for overall completion time

* update formatting

---------

Co-authored-by: Houjun Tang <[email protected]>

* Fix Issue #85, server segfault when another client application with different number of ranks connects to it

* Committing clang-format changes

* update metrics

* Update .gitlab-ci.yml

* update VPIC output timing precision (#88)

* update VPIC output timing precision

* update timing to make consistent

* llsm_importer (#1)

formatter on llsm_importer

* Tiff Parallel Reader sync to latest version (#89)

* remove unnecessary install block from CMakeLists.txt

* update output

* Revert "update output"

This reverts commit fe1f8b44995bc0dabd3b957e1032c2da26f56fdd.

* build kvtag_add_get_scale

* comment off free

* update code

* 1. kvtag_scale_add_get added \n 2. uint64_t support for obj/tag/query count \n 3. moving work assigning block downwards right before creating objects \n 4. everything is tested working

* do while loop added, tested with 1m object and works

* 1m objects test works, 10m object test fail as the original also fails

* add new executable to test set

* enlarge PDC_SERVER_ID_INTERVAL

* update code

* update console args

* add p search test

* add console arg for changing number of attributes per object

* free allocated memory

* fix query count issue

* fix attr length definition

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* fix data type

* fix data type

* fix data type

* add client side statistics

* add client side statistics

* fix format

* clang formatter

* update CMake

* update CMake

* update CMake

* free allocated memory properly

* clang format

* clang format

* clang-format-10

* change file name

* address review comments

* update llsm importer

* update llsm importer

* update server checkpoint intervals

* update gitignore

* adding job scripts

* adding one debugging msg

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update output for uint64_t

* add scripts

* update output for uint64_t

* update output for uint64_t

* update output for uint64_t

* update scripts

* update scripts

* delete debugging message

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* update tag names

* update tag names

* update query startingpos

* update query startingpos

* update job scripts

* add progressive timing for kvtag_add_get_scale

* fix iteration count in final report

* update job scripts and benckmark program

* update message format

* update message format

* update message format

* update message format

* clang format

* update job scripts

* comment off object/container close procedure in  benchmark to save node hours

* change the max number of object to 1M

* change the max length of attribute value

* change the max length of attribute value

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update cmake and llsm_importer

* update cmake and llsm_importer

* close if in cmake

* cmake fix tiff

* cmake policy to suppress warning

* add pdc include dir

* update code

* update code

* update code

* update code

* update code

* update code

* update array generating method

* update array generating method

* update array generating method

* update array generating method

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* fix return type

* fix return type

* add timing

* add timing

* fix output

* llsm tiff importer 1st version: read csv and import tiff files to PDC, adding metadata available in CSV files and TIFF loader

* fix vairable name

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* add scripts

* add scripts

* add scripts

* debugging for nonMPI program

* debugging for nonMPI program

* debugging for nonMPI program

* clang format, without PDC, everything works perfectly. program fails at PDC init stage where PDCprop_create(PDC_CONT_CREATE, pdc) is being created

* enable MPI

* enable MPI

* enlarge BCase size

* enlarge BCase size

* enlarge BCase size

* resolve bcast count

* llsm data path in script

* llsm data path in script

* update csv reader

* update csv reader

* update csv reader

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* enlarge max write

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc_import.c

* update pdc_import.c

* update pdc_export.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update tools/cmake

* clang format

* clang format

* added a tutorial for llsm_importer

* added a tutorial for llsm_importer

* make sure the line feed is included for string attribute

* update timing for overall completion time

* update formatting

* llsm_importer (#1)

formatter on llsm_importer

---------

Co-authored-by: Houjun Tang <[email protected]>

* Update .gitlab-ci.yml

* add type for kvtag structure (#2)

* upate metadata type system

* update serde framework to coupe with the new data type system

* replace unnecessary data types

* adding type for pdc_kvtag_t, all occurances are fixed

* update new commons CMake for publishing commons

* commons compilation passed

* compiled

* Feature/metadata type (#3)

* upate metadata type system

* update serde framework to coupe with the new data type system

* replace unnecessary data types

* adding type for pdc_kvtag_t, all occurances are fixed

* update new commons CMake for publishing commons

* commons compilation passed

* compiled

* remove unnecessary header files from installation

* resolve conflict

* add important files

* clang formatting

* update cmake

* Data type for new kvtag (including refactoring and serde framework) (#90)

* remove unnecessary install block from CMakeLists.txt

* update output

* Revert "update output"

This reverts commit fe1f8b44995bc0dabd3b957e1032c2da26f56fdd.

* build kvtag_add_get_scale

* comment off free

* update code

* 1. kvtag_scale_add_get added \n 2. uint64_t support for obj/tag/query count \n 3. moving work assigning block downwards right before creating objects \n 4. everything is tested working

* do while loop added, tested with 1m object and works

* 1m objects test works, 10m object test fail as the original also fails

* add new executable to test set

* enlarge PDC_SERVER_ID_INTERVAL

* update code

* update console args

* add p search test

* add console arg for changing number of attributes per object

* free allocated memory

* fix query count issue

* fix attr length definition

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* fix data type

* fix data type

* fix data type

* add client side statistics

* add client side statistics

* fix format

* clang formatter

* update CMake

* update CMake

* update CMake

* free allocated memory properly

* clang format

* clang format

* clang-format-10

* change file name

* address review comments

* update llsm importer

* update llsm importer

* update server checkpoint intervals

* update gitignore

* adding job scripts

* adding one debugging msg

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update output for uint64_t

* add scripts

* update output for uint64_t

* update output for uint64_t

* update output for uint64_t

* update scripts

* update scripts

* delete debugging message

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* update tag names

* update tag names

* update query startingpos

* update query startingpos

* update job scripts

* add progressive timing for kvtag_add_get_scale

* fix iteration count in final report

* update job scripts and benckmark program

* update message format

* update message format

* update message format

* update message format

* clang format

* update job scripts

* comment off object/container close procedure in  benchmark to save node hours

* change the max number of object to 1M

* change the max length of attribute value

* change the max length of attribute value

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update cmake and llsm_importer

* update cmake and llsm_importer

* close if in cmake

* cmake fix tiff

* cmake policy to suppress warning

* add pdc include dir

* update code

* update code

* update code

* update code

* update code

* update code

* update array generating method

* update array generating method

* update array generating method

* update array generating method

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* fix return type

* fix return type

* add timing

* add timing

* fix output

* llsm tiff importer 1st version: read csv and import tiff files to PDC, adding metadata available in CSV files and TIFF loader

* fix vairable name

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* add scripts

* add scripts

* add scripts

* debugging for nonMPI program

* debugging for nonMPI program

* debugging for nonMPI program

* clang format, without PDC, everything works perfectly. program fails at PDC init stage where PDCprop_create(PDC_CONT_CREATE, pdc) is being created

* enable MPI

* enable MPI

* enlarge BCase size

* enlarge BCase size

* enlarge BCase size

* resolve bcast count

* llsm data path in script

* llsm data path in script

* update csv reader

* update csv reader

* update csv reader

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* enlarge max write

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc_import.c

* update pdc_import.c

* update pdc_export.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update tools/cmake

* clang format

* clang format

* added a tutorial for llsm_importer

* added a tutorial for llsm_importer

* make sure the line feed is included for string attribute

* update timing for overall completion time

* update formatting

* llsm_importer (#1)

formatter on llsm_importer

* add type for kvtag structure (#2)

* upate metadata type system

* update serde framework to coupe with the new data type system

* replace unnecessary data types

* adding type for pdc_kvtag_t, all occurances are fixed

* update new commons CMake for publishing commons

* commons compilation passed

* compiled

* Feature/metadata type (#3)

* upate metadata type system

* update serde framework to coupe with the new data type system

* replace unnecessary data types

* adding type for pdc_kvtag_t, all occurances are fixed

* update new commons CMake for publishing commons

* commons compilation passed

* compiled

* remove unnecessary header files from installation

* resolve conflict

* add important files

* clang formatting

* update cmake

---------

Co-authored-by: Houjun Tang <[email protected]>

* LLSM Importer update: new job script + new data type update on kvtags (#92)

* remove unnecessary install block from CMakeLists.txt

* update output

* Revert "update output"

This reverts commit fe1f8b44995bc0dabd3b957e1032c2da26f56fdd.

* build kvtag_add_get_scale

* comment off free

* update code

* 1. kvtag_scale_add_get added \n 2. uint64_t support for obj/tag/query count \n 3. moving work assigning block downwards right before creating objects \n 4. everything is tested working

* do while loop added, tested with 1m object and works

* 1m objects test works, 10m object test fail as the original also fails

* add new executable to test set

* enlarge PDC_SERVER_ID_INTERVAL

* update code

* update console args

* add p search test

* add console arg for changing number of attributes per object

* free allocated memory

* fix query count issue

* fix attr length definition

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* fix data type

* fix data type

* fix data type

* add client side statistics

* add client side statistics

* fix format

* clang formatter

* update CMake

* update CMake

* update CMake

* free allocated memory properly

* clang format

* clang format

* clang-format-10

* change file name

* address review comments

* update llsm importer

* update llsm importer

* update server checkpoint intervals

* update gitignore

* adding job scripts

* adding one debugging msg

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update output for uint64_t

* add scripts

* update output for uint64_t

* update output for uint64_t

* update output for uint64_t

* update scripts

* update scripts

* delete debugging message

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* update tag names

* update tag names

* update query startingpos

* update query startingpos

* update job scripts

* add progressive timing for kvtag_add_get_scale

* fix iteration count in final report

* update job scripts and benckmark program

* update message format

* update message format

* update message format

* update message format

* clang format

* update job scripts

* comment off object/container close procedure in  benchmark to save node hours

* change the max number of object to 1M

* change the max length of attribute value

* change the max length of attribute value

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update cmake and llsm_importer

* update cmake and llsm_importer

* close if in cmake

* cmake fix tiff

* cmake policy to suppress warning

* add pdc include dir

* update code

* update code

* update code

* update code

* update code

* update code

* update array generating method

* update array generating method

* update array generating method

* update array generating method

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* fix return type

* fix return type

* add timing

* add timing

* fix output

* llsm tiff importer 1st version: read csv and import tiff files to PDC, adding metadata available in CSV files and TIFF loader

* fix vairable name

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* add scripts

* add scripts

* add scripts

* debugging for nonMPI program

* debugging for nonMPI program

* debugging for nonMPI program

* clang format, without PDC, everything works perfectly. program fails at PDC init stage where PDCprop_create(PDC_CONT_CREATE, pdc) is being created

* enable MPI

* enable MPI

* enlarge BCase size

* enlarge BCase size

* enlarge BCase size

* resolve bcast count

* llsm data path in script

* llsm data path in script

* update csv reader

* update csv reader

* update csv reader

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* enlarge max write

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc_import.c

* update pdc_import.c

* update pdc_export.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update tools/cmake

* clang format

* clang format

* added a tutorial for llsm_importer

* added a tutorial for llsm_importer

* make sure the line feed is included for string attribute

* update timing for overall completion time

* update formatting

* update metrics

* forcibly enable openmp

* adding C flags from the mex compiler

* Update .gitlab-ci.yml

* updated code

* clang format

* llsm_importer (#1)

formatter on llsm_importer

* add type for kvtag structure (#2)

* upate metadata type system

* update serde framework to coupe with the new data type system

* replace unnecessary data types

* adding type for pdc_kvtag_t, all occurances are fixed

* update new commons CMake for publishing commons

* commons compilation passed

* compiled

* Feature/metadata type (#3)

* upate metadata type system

* update serde framework to coupe with the new data type system

* replace unnecessary data types

* adding type for pdc_kvtag_t, all occurances are fixed

* update new commons CMake for publishing commons

* commons compilation passed

* compiled

* remove unnecessary header files from installation

* resolve conflict

* add important files

* clang formatting

* update cmake

* update

* print numWorkers

* update scripts

* update script

* update script

* formatting

* update llsm_tools.c

* remove unnecessary hash table init

---------

Co-authored-by: Houjun Tang <[email protected]>
Co-authored-by: Jean Luca Bez <[email protected]>

* Update .gitlab-ci.yml

* fix warnings, commenting off 'find_path' and 'find_library' for Mercury in src/commons/CMakeLists.txt  (#93)

* Revert "update output"

This reverts commit fe1f8b44995bc0dabd3b957e1032c2da26f56fdd.

* build kvtag_add_get_scale

* comment off free

* update code

* 1. kvtag_scale_add_get added \n 2. uint64_t support for obj/tag/query count \n 3. moving work assigning block downwards right before creating objects \n 4. everything is tested working

* do while loop added, tested with 1m object and works

* 1m objects test works, 10m object test fail as the original also fails

* add new executable to test set

* enlarge PDC_SERVER_ID_INTERVAL

* update code

* update console args

* add p search test

* add console arg for changing number of attributes per object

* free allocated memory

* fix query count issue

* fix attr length definition

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* fix data type

* fix data type

* fix data type

* add client side statistics

* add client side statistics

* fix format

* clang formatter

* update CMake

* update CMake

* update CMake

* free allocated memory properly

* clang format

* clang format

* clang-format-10

* change file name

* address review comments

* update llsm importer

* update llsm importer

* update server checkpoint intervals

* update gitignore

* adding job scripts

* adding one debugging msg

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update output for uint64_t

* add scripts

* update output for uint64_t

* update output for uint64_t

* update output for uint64_t

* update scripts

* update scripts

* delete debugging message

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* update tag names

* update tag names

* update query startingpos

* update query startingpos

* update job scripts

* add progressive timing for kvtag_add_get_scale

* fix iteration count in final report

* update job scripts and benckmark program

* update message format

* update message format

* update message format

* update message format

* clang format

* update job scripts

* comment off object/container close procedure in  benchmark to save node hours

* change the max number of object to 1M

* change the max length of attribute value

* change the max length of attribute value

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update cmake and llsm_importer

* update cmake and llsm_importer

* close if in cmake

* cmake fix tiff

* cmake policy to suppress warning

* add pdc include dir

* update code

* update code

* update code

* update code

* update code

* update code

* update array generating method

* update array generating method

* update array generating method

* update array generating method

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* fix return type

* fix return type

* add timing

* add timing

* fix output

* llsm tiff importer 1st version: read csv and import tiff files to PDC, adding metadata available in CSV files and TIFF loader

* fix vairable name

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* add scripts

* add scripts

* add scripts

* debugging for nonMPI program

* debugging for nonMPI program

* debugging for nonMPI program

* clang format, without PDC, everything works perfectly. program fails at PDC init stage where PDCprop_create(PDC_CONT_CREATE, pdc) is being created

* enable MPI

* enable MPI

* enlarge BCase size

* enlarge BCase size

* enlarge BCase size

* resolve bcast count

* llsm data path in script

* llsm data path in script

* update csv reader

* update csv reader

* update csv reader

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* enlarge max write

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc_import.c

* update pdc_import.c

* update pdc_export.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update tools/cmake

* clang format

* clang format

* added a tutorial for llsm_importer

* added a tutorial for llsm_importer

* make sure the line feed is included for string attribute

* update timing for overall completion time

* update formatting

* update metrics

* forcibly enable openmp

* adding C flags from the mex compiler

* Update .gitlab-ci.yml

* updated code

* clang format

* llsm_importer (#1)

formatter on llsm_importer

* add type for kvtag structure (#2)

* upate metadata type system

* update serde framework to coupe with the new data type system

* replace unnecessary data types

* adding type for pdc_kvtag_t, all occurances are fixed

* update new commons CMake for publishing commons

* commons compilation passed

* compiled

* Feature/metadata type (#3)

* upate metadata type system

* update serde framework to coupe with the new data type system

* replace unnecessary data types

* adding type for pdc_kvtag_t, all occurances are fixed

* update new commons CMake for publishing commons

* commons compilation passed

* compiled

* remove unnecessary header files from installation

* resolve conflict

* add important files

* clang formatting

* update cmake

* update

* print numWorkers

* update scripts

* update script

* update script

* formatting

* update llsm_tools.c

* remove unnecessary hash table init

* update script

* fix some warnings

* fix some warnings

* update

* update

* fix warning

* update

* update

* update

* update

* update

* update

* update

* update

* update

* fix warnings

* fix warnings

* fix warnings

* fix warnings

* fix warnings

* fix warnings

* fix warnings

* update

* update

* update

* server address and file paths using 1024, TMP_DIR path using 1024/2, NAME_MAX for appname and objname takes 1024/2, HOSTNAME takes 1024/8, NA_INFO_STRING takes 1024/4

* update

* update

* update

* update

---------

Co-authored-by: Houjun Tang <[email protected]>
Co-authored-by: Jean Luca Bez <[email protected]>

* Update clang-format-fix.yml

* Update clang-format-fix.yml

* Increase the default server cache size to 32GB and flush frequency to 30s

* Committing clang-format changes

* add FindMERCURY.cmake

* update commons/CMakeLists.txt

* Fix unnecessary memory allocation (#103)

* Fix an issue with opening a deleted container, added test (#101)

* Fix an issue with opening a deleted container, added test

* Refactor the query aggregation process

* Fix container tag delete error (#102)

* Fix container tag delete error

* Committing clang-format changes

* Update tag delete function

* Refactor metdata lookup process for tag deletion

* Committing clang-format changes

* Formatting and comment

* Committing clang-format changes

---------

Co-authored-by: github-actions <github-actions[bot]@users.noreply.github.com>

* Fix the server cache issue when cache becomes full and needs flush (#113)

* Fix the server cache issue when cache becomes full and need flush

* Committing clang-format changes

---------

Co-authored-by: github-actions <github-actions[bot]@users.noreply.github.com>

* Fix a wrong option description. (#115)

* upate metadata type system

* update serde framework to coupe with the new data type system

* replace unnecessary data types

* adding type for pdc_kvtag_t, all occurances are fixed

* update new commons CMake for publishing commons

* commons compilation passed

* compiled

* remove unnecessary header files from installation

* resolve conflict

* add important files

* clang formatting

* update cmake

* update option message

---------

Co-authored-by: Houjun Tang <[email protected]>

* Install header files needed by PDCpy (#114)

* Support unlimited object dimension size (#117)

* Support unlimited object dimension szie

* Add function description for PDC_SIZE_UNLIMITED

* Fix obj_round_robin_io_all test code

* Committing clang-format changes

* More header files fix for PDCpy

* Fix cmake path (#121)

* Fix cmake path

* Fix cmake path

* Kvtag query (#122)

* Add a new collective kvtag query api to return full/aggregated results to all clients

* Committing clang-format changes

* Add test code

* Committing clang-format changes

* Add an optimization when multiple clients issue different queries

* Add test program

* Fix free issue

* Committing clang-format changes

---------

Co-authored-by: github-actions <github-actions[bot]@users.noreply.github.com>

* Rebase develop to stable (#125)

* updates in documentation

* update docs

* trigger update

* trigger update

* remove extension

* include docs build dependencies

* update file

* update metrics

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* update logo

* Update .gitlab-ci.yml

* adding recovered documentation

* update text

* fix typo

* update CSS

* increase content width

* remove build docs

* Refer documentation to readthedocs website (#95)

* Update README.md

* Update getting_started.rst

* Update getting_started.rst

* include updated text

* fix links

* fix typo

* Update README.md

* update output

* Revert "update output"

This reverts commit fe1f8b44995bc0dabd3b957e1032c2da26f56fdd.

* 1. kvtag_scale_add_get added \n 2. uint64_t support for obj/tag/query count \n 3. moving work assigning block downwards right before creating objects \n 4. everything is tested working

* do while loop added, tested with 1m object and works

* 1m objects test works, 10m object test fail as the original also fails

* update code

* add console arg for changing number of attributes per object

* free allocated memory

* fix query count issue

* fix attr length definition

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* fix data type

* fix data type

* fix data type

* add client side statistics

* add client side statistics

* fix format

* clang formatter

* update CMake

* clang format

* clang format

* clang-format-10

* change file name

* update llsm importer

* update llsm importer

* adding job scripts

* adding one debugging msg

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update output for uint64_t

* add scripts

* update tag names

* update tag names

* update query startingpos

* update job scripts

* fix iteration count in final report

* update job scripts and benckmark program

* clang format

* update job scripts

* comment off object/container close procedure in  benchmark to save node hours

* change the max number of object to 1M

* change the max length of attribute value

* change the max length of attribute value

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update cmake and llsm_importer

* update cmake and llsm_importer

* close if in cmake

* cmake fix tiff

* cmake policy to suppress warning

* add pdc include dir

* update code

* update code

* update code

* update code

* update code

* update code

* update array generating method

* update array generating method

* update array generating method

* update array generating method

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* fix return type

* fix return type

* add timing

* add timing

* fix output

* llsm tiff importer 1st version: read csv and import tiff files to PDC, adding metadata available in CSV files and TIFF loader

* fix vairable name

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* add scripts

* add scripts

* add scripts

* debugging for nonMPI program

* debugging for nonMPI program

* debugging for nonMPI program

* clang format, without PDC, everything works perfectly. program fails at PDC init stage where PDCprop_create(PDC_CONT_CREATE, pdc) is being created

* enable MPI

* enable MPI

* enlarge BCase size

* enlarge BCase size

* enlarge BCase size

* resolve bcast count

* llsm data path in script

* llsm data path in script

* update csv reader

* update csv reader

* update csv reader

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* enlarge max write

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc_import.c

* update pdc_import.c

* update pdc_export.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update tools/cmake

* clang format

* clang format

* added a tutorial for llsm_importer

* added a tutorial for llsm_importer

* make sure the line feed is included for string attribute

* update timing for overall completion time

* update formatting

* Remove unnecessary fflush call

Signed-off-by: Chen Wang <[email protected]>

* Fix Issue #85, server segfault when another client application with different number of ranks connects to it

* Committing clang-format changes

* update VPIC output timing precision (#88)

* update VPIC output timing precision

* update timing to make consistent

* llsm_importer (#1)

formatter on llsm_importer

* add type for kvtag structure (#2)

* upate metadata type system

* update serde framework to coupe with the new data type system

* replace unnecessary data types

* adding type for pdc_kvtag_t, all occurances are fixed

* update new commons CMake for publishing commons

* commons compilation passed

* compiled

* Feature/metadata type (#3)

* upate metadata type system

* update serde framework to coupe with the new data type system

* replace unnecessary data types

* adding type for pdc_kvtag_t, all occurances are fixed

* update new commons CMake for publishing commons

* commons compilation passed

* compiled

* remove unnecessary header files from installation

* resolve conflict

* add important files

* clang formatting

* update cmake

* add FindMERCURY.cmake

* LLSM Importer update: new job script + new data type update on kvtags (#92)

* remove unnecessary install block from CMakeLists.txt

* update output

* Revert "update output"

This reverts commit fe1f8b44995bc0dabd3b957e1032c2da26f56fdd.

* build kvtag_add_get_scale

* comment off free

* update code

* 1. kvtag_scale_add_get added \n 2. uint64_t support for obj/tag/query count \n 3. moving work assigning block downwards right before creating objects \n 4. everything is tested working

* do while loop added, tested with 1m object and works

* 1m objects test works, 10m object test fail as the original also fails

* add new executable to test set

* enlarge PDC_SERVER_ID_INTERVAL

* update code

* update console args

* add p search test

* add console arg for changing number of attributes per object

* free allocated memory

* fix query count issue

* fix attr length definition

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* fix data type

* fix data type

* fix data type

* add client side statistics

* add client side statistics

* fix format

* clang formatter

* update CMake

* update CMake

* update CMake

* free allocated memory properly

* clang format

* clang format

* clang-format-10

* change file name

* address review comments

* update llsm importer

* update llsm importer

* update server checkpoint intervals

* update gitignore

* adding job scripts

* adding one debugging msg

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update output for uint64_t

* add scripts

* update output for uint64_t

* update output for uint64_t

* update output for uint64_t

* update scripts

* update scripts

* delete debugging message

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* update tag names

* update tag names

* update query startingpos

* update query startingpos

* update job scripts

* add progressive timing for kvtag_add_get_scale

* fix iteration count in final report

* update job scripts and benckmark program

* update message format

* update message format

* update message format

* update message format

* clang format

* update job scripts

* comment off object/container close procedure in  benchmark to save node hours

* change the max number of object to 1M

* change the max length of attribute value

* change the max length of attribute value

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* llsm tiff import test

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update code

* update cmake and llsm_importer

* update cmake and llsm_importer

* close if in cmake

* cmake fix tiff

* cmake policy to suppress warning

* add pdc include dir

* update code

* update code

* update code

* update code

* update code

* update code

* update array generating method

* update array generating method

* update array generating method

* update array generating method

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* update CMakeLists

* fix return type

* fix return type

* add timing

* add timing

* fix output

* llsm tiff importer 1st version: read csv and import tiff files to PDC, adding metadata available in CSV files and TIFF loader

* fix vairable name

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* fix cmake

* add scripts

* add scripts

* add scripts

* debugging for nonMPI program

* debugging for nonMPI program

* debugging for nonMPI program

* clang format, without PDC, everything works perfectly. program fails at PDC init stage where PDCprop_create(PDC_CONT_CREATE, pdc) is being created

* enable MPI

* enable MPI

* enlarge BCase size

* enlarge BCase size

* enlarge BCase size

* resolve bcast count

* llsm data path in script

* llsm data path in script

* update csv reader

* update csv reader

* update csv reader

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc

* enlarge max write

* update pdc

* update pdc

* update pdc

* update pdc

* update pdc_import.c

* update pdc_import.c

* update pdc_export.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update pdc_import.c

* update tools/cmake

* clang format

* clang format

* added a tutorial for llsm_importer

* added a tutorial for llsm_importer

* make sure the line feed is included for string attribute

* update timing for overall completion time

* update formatting

* update metrics

* forcibly enable openmp

* adding C flags from the mex compiler

* Update .gitlab-ci.yml

* updated code

* clang format

* llsm_importer (#1)

formatter on llsm_importer

* add type for kvtag structure (#2)

* upate metadata type system

* update serde framework to coupe with the new data type system

* replace unnecessary data types

* adding type for pdc_kvtag_t, all occurances are fixed

* update new commons CMake for publishing commons

* commons compilation passed

* compiled

* Feature/metadata type (#3)

* upate metadata type system

* update serde framework to coupe with the new data type system

* replace unnecessary data types

* adding type for pdc_kvtag_t, all occurances are fixed

* update new commons CMake for publishing commons

* commons compilation passed

* compiled

* remove unnecessary header files from installation

* resolve conflict

* add important files

* clang formatting

* update cmake

* update

* print numWorkers

* update scripts

* update script

* update script

* formatting

* update llsm_tools.c

* remove unnecessary hash table init

---------

Co-authored-by: Houjun Tang <[email protected]>
Co-authored-by: Jean Luca Bez <[email protected]>

* fix warnings, commenting off 'find_path' and 'find_library' for Mercury in src/commons/CMakeLists.txt  (#93)

* Revert "update output"

This reverts commit fe1f8b44995bc0dabd3b957e1032c2da26f56fdd.

* build kvtag_add_get_scale

* comment off free

* update code

* 1. kvtag_scale_add_get added \n 2. uint64_t support for obj/tag/query count \n 3. moving work assigning block downwards right before creating objects \n 4. everything is tested working

* do while loop added, tested with 1m object and works

* 1m objects test works, 10m object test fail as the original also fails

* add new executable to test set

* enlarge PDC_SERVER_ID_INTERVAL

* update code

* update console args

* add p search test

* add console arg for changing number of attributes per object

* free allocated memory

* fix query count issue

* fix attr length definition

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* code refactored

* fix data type

* fix data type

* fix data type

* add client side statistics

* add client side statistics

* fix format

* clang formatter

* update CMake

* update CMake

* update CMake

* free allocated memory properly

* clang format

* clang format

* clang-format-10

* change file name

* address review comments

* update llsm importer

* update llsm importer

* update server checkpoint intervals

* update gitignore

* adding job scripts

* adding one debugging msg

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update container creation to collective mode for debugging purpose

* update output for uint64_t

* add scripts

* update output for uint64_t

* update output for uint64_t

* update output for uint64_t

* update scripts

* update scripts

* delete debugging message

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* make Cmake to publish scripts directory

* update tag names

* update tag names

* update query startingpos

* update query startingpos

* update job scripts

* add progressive timing for kvtag_add_get_scale

* fix iteration count in final report

* update job scripts and benckmark program

* update message format

* update message format

* update message format

* update message format

* clang format

* update job scripts

* comment off object/container close procedure in  benchmark to save node hours

* change the max number of object to 1M

* change the max length of attribut…
  • Loading branch information
8 people authored Jan 23, 2024
1 parent f2011d5 commit 73d9d83
Show file tree
Hide file tree
Showing 52 changed files with 2,344 additions and 728 deletions.
95 changes: 4 additions & 91 deletions .devcontainer/devcontainer.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,95 +1,8 @@
# Note: Run `docker build -f .devcontainer/Dockerfile -t pdc:latest .` from the root directory of the repository to build the docker image.

# Use Ubuntu Jammy (latest LTS) as the base image
FROM ubuntu:jammy



# Install necessary tools, MPICH, UUID library and developer files
RUN apt-get update && apt-get install -y \
build-essential \
git \
mpich \
libmpich-dev \
uuid \
uuid-dev \
autoconf \
libtool \
cmake \
cmake-curses-gui \
wget \
axel \
curl \
vim \
nano \
gdb \
cgdb \
curl \
valgrind

# Set WORK_SPACE environment variable and create necessary directories
RUN mkdir -p /workspaces
ENV WORK_SPACE=/workspaces


# Clone the repositories
WORKDIR $WORK_SPACE/source
RUN git clone https://github.com/ofiwg/libfabric.git && \
git clone https://github.com/mercury-hpc/mercury.git --recursive

COPY ./ ${WORK_SPACE}/source/pdc

ENV LIBFABRIC_SRC_DIR=$WORK_SPACE/source/libfabric
ENV MERCURY_SRC_DIR=$WORK_SPACE/source/mercury
ENV PDC_SRC_DIR=$WORK_SPACE/source/pdc
ENV LIBFABRIC_DIR=$WORK_SPACE/install/libfabric
ENV MERCURY_DIR=$WORK_SPACE/install/mercury
ENV PDC_DIR=$WORK_SPACE/install/pdc

RUN mkdir -p $LIBFABRIC_SRC_DIR && \
mkdir -p $MERCURY_SRC_DIR && \
mkdir -p $LIBFABRIC_DIR && \
mkdir -p $MERCURY_DIR && \
mkdir -p $PDC_DIR


# Save the environment variables to a file
RUN echo "export LIBFABRIC_SRC_DIR=$WORK_SPACE/source/libfabric" > $WORK_SPACE/pdc_env.sh && \
echo "export MERCURY_SRC_DIR=$WORK_SPACE/source/mercury" >> $WORK_SPACE/pdc_env.sh && \
echo "export PDC_SRC_DIR=$WORK_SPACE/source/pdc" >> $WORK_SPACE/pdc_env.sh && \
echo "export LIBFABRIC_DIR=$WORK_SPACE/install/libfabric" >> $WORK_SPACE/pdc_env.sh && \
echo "export MERCURY_DIR=$WORK_SPACE/install/mercury" >> $WORK_SPACE/pdc_env.sh && \
echo "export PDC_DIR=$WORK_SPACE/install/pdc" >> $WORK_SPACE/pdc_env.sh


# Build and install libfabric
WORKDIR $LIBFABRIC_SRC_DIR
RUN git checkout v1.18.0 && \
./autogen.sh && \
./configure --prefix=$LIBFABRIC_DIR CC=mpicc CFLAG="-O2" && \
make clean && \
make -j && make install && \
make check

ENV LD_LIBRARY_PATH="$LIBFABRIC_DIR/lib:$LD_LIBRARY_PATH"
ENV PATH="$LIBFABRIC_DIR/include:$LIBFABRIC_DIR/lib:$PATH"
RUN echo 'export LD_LIBRARY_PATH=$LIBFABRIC_DIR/lib:$LD_LIBRARY_PATH' >> $WORK_SPACE/pdc_env.sh && \
echo 'export PATH=$LIBFABRIC_DIR/include:$LIBFABRIC_DIR/lib:$PATH' >> $WORK_SPACE/pdc_env.sh


# Build and install Mercury
WORKDIR $MERCURY_SRC_DIR
ENV MERCURY_CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=$MERCURY_DIR -DCMAKE_C_COMPILER=mpicc -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DNA_USE_OFI=ON -DNA_USE_SM=OFF -DNA_OFI_TESTING_PROTOCOL=tcp "
RUN git checkout v2.2.0 \
mkdir -p build
WORKDIR ${MERCURY_SRC_DIR}/build
RUN cmake $MERCURY_CMAKE_FLAGS ../ && \
make -j && make install && \
ctest

# Set the environment variables
ENV LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH"
ENV PATH="$MERCURY_DIR/include:$MERCURY_DIR/lib:$PATH"
RUN echo 'export LD_LIBRARY_PATH=$MERCURY_DIR/lib:$LD_LIBRARY_PATH' >> $WORK_SPACE/pdc_env.sh \
echo 'export PATH=$MERCURY_DIR/include:$MERCURY_DIR/lib:$PATH' >> $WORK_SPACE/pdc_env.sh
# FROM ubuntu:jammy
FROM hpcio/pdc-dev-base:latest

RUN rm -rf $PDC_SRC_DIR && \
rm -rf $PDC_DIR
60 changes: 59 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,63 @@
3000
],
"postCreateCommand": ".devcontainer/post-create.sh",
"postStartCommand": ".devcontainer/post-start.sh"
"postStartCommand": ".devcontainer/post-start.sh",
"postAttachCommand": ".devcontainer/post-attach.sh",
"customizations": {
"vscode": {
"extensions": [
"1YiB.rust-bundle",
"batisteo.vscode-django",
"ChrisChinchilla.vscode-pandoc",
"DamianKoper.gdb-debug",
"donjayamanne.python-environment-manager",
"donjayamanne.python-extension-pack",
"dustypomerleau.rust-syntax",
"eamodio.gitlens",
"formulahendry.code-runner",
"GitHub.copilot",
"GitHub.copilot-chat",
"JScearcy.rust-doc-viewer",
"julialang.language-julia",
"KevinRose.vsc-python-indent",
"lextudio.iis",
"lextudio.restructuredtext",
"lextudio.restructuredtext-pack",
"ms-azuretools.vscode-docker",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter",
"ms-toolsai.jupyter-keymap",
"ms-toolsai.jupyter-renderers",
"ms-toolsai.vscode-jupyter-cell-tags",
"ms-toolsai.vscode-jupyter-slideshow",
"ms-vscode.cmake-tools",
"ms-vscode.cpptools",
"ms-vscode.cpptools-extension-pack",
"ms-vscode.cpptools-themes",
"njpwerner.autodocstring",
"PolyMeilex.rust-targets",
"rogalmic.bash-debug",
"rust-lang.rust-analyzer",
"serayuzgur.crates",
"shakram02.bash-beautify",
"shd101wyy.markdown-preview-enhanced",
"Swellaby.rust-pack",
"tamasfe.even-better-toml",
"trond-snekvik.simple-rst",
"twxs.cmake",
"VisualStudioExptTeam.intellicode-api-usage-examples",
"VisualStudioExptTeam.vscodeintellicode",
"wholroyd.jinja",
"xaver.clang-format",
"yzane.markdown-pdf",
"yzhang.markdown-all-in-one",
"ZhangYue.rust-mod-generator"
],
"settings": {
"C_Cpp.clang_format_path": "/home/project/software/clang-format-lint-action/clang-format/clang-format10",
"terminal.integrated.scrollback": 10000
}
}
}
}
13 changes: 13 additions & 0 deletions .devcontainer/post-attach.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash


WORK_SPACE_INITIALIZED_FILE=/workspaces/.workspace_initialized

if ! [ -f $WORK_SPACE_INITIALIZED_FILE ]; then
/bin/bash /workspaces/pdc/.devcontainer/post-start.sh
watch -t -n 5 'echo "Press Ctrl+C when there is no building processes."; echo "Number of initial PDC building processes:"; ps -ef | grep make | grep -v -c grep'
else
echo "Welcome Back!"
fi

/bin/bash
40 changes: 40 additions & 0 deletions .devcontainer/post-create.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,41 @@
#!/bin/bash


WORK_SPACE_INITIALIZED_FILE=/workspaces/.workspace_initialized

if ! [ -f $WORK_SPACE_INITIALIZED_FILE ]; then
touch $WORK_SPACE_INITIALIZED_FILE
echo "First time to create workspace, start to install PDC"
else
echo "Workspace already initialized, skip the installation"
exit 0
fi

rm -rf $PDC_SRC_DIR
rm -rf $PDC_DIR


ln -s /workspaces/pdc $(dirname $PDC_SRC_DIR)

mkdir -p /workspaces/source
ln -s $PDC_SRC_DIR /workspaces/source/pdc

mkdir -p /workspaces/install/pdc
ln -s /workspaces/install/pdc $(dirname $PDC_SRC_DIR)

# Build and install PDC
export PDC_CMAKE_FLAGS="-DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TOOLS=OFF -DBUILD_TESTING=ON -DCMAKE_INSTALL_PREFIX=$PDC_DIR -DPDC_ENABLE_MPI=ON -DMERCURY_DIR=$MERCURY_DIR -DCMAKE_C_COMPILER=mpicc -DMPI_RUN_CMD=mpiexec "

cd $PDC_SRC_DIR
rm -rf build && mkdir -p build


cd ${PDC_SRC_DIR}/build
cmake $PDC_CMAKE_FLAGS ../ 2>&1 > ./cmake_config.log || echo "ignoring cmake config error and proceed"
make -j && make install

# Set the environment variables
export LD_LIBRARY_PATH="$PDC_DIR/lib:$LD_LIBRARY_PATH"
export PATH="$PDC_DIR/include:$PDC_DIR/lib:$PATH"
echo 'export LD_LIBRARY_PATH=$PDC_DIR/lib:$LD_LIBRARY_PATH' >> $WORK_SPACE/pdc_env.sh
echo 'export PATH=$PDC_DIR/include:$PDC_DIR/lib:$PATH' >> $WORK_SPACE/pdc_env.sh
31 changes: 3 additions & 28 deletions .devcontainer/post-start.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,31 +1,6 @@
#!/bin/bash

nohup /bin/bash /workspaces/pdc/.devcontainer/post-create.sh 2>&1 > /workspaces/pdc_install.out &

ln -s /workspaces/pdc /home/codespace/source/pdc
mkdir -p /workspaces/install
mkdir -p /workspaces/source
ln -s $PDC_SRC_DIR /workspaces/source/pdc
ln -s $PDC_DIR /workspaces/install/pdc

export PDC_SRC_DIR=/workspaces/source/pdc

# Build and install PDC
export PDC_CMAKE_FLAGS="-DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DCMAKE_INSTALL_PREFIX=$PDC_DIR -DPDC_ENABLE_MPI=ON -DMERCURY_DIR=$MERCURY_DIR -DCMAKE_C_COMPILER=mpicc -DMPI_RUN_CMD=mpiexec "

cd $PDC_SRC_DIR
rm -rf build && mkdir -p build


cd ${PDC_SRC_DIR}/build
cmake $PDC_CMAKE_FLAGS ../ 2>&1 > ./cmake_config.log || echo "ignoring cmake config error and proceed"
make -j && make install

# Set the environment variables
export LD_LIBRARY_PATH="$PDC_DIR/lib:$LD_LIBRARY_PATH"
export PATH="$PDC_DIR/include:$PDC_DIR/lib:$PATH"
echo 'export LD_LIBRARY_PATH=$PDC_DIR/lib:$LD_LIBRARY_PATH' >> $WORK_SPACE/pdc_env.sh
echo 'export PATH=$PDC_DIR/include:$PDC_DIR/lib:$PATH' >> $WORK_SPACE/pdc_env.sh


cd $PDC_SRC_DIR/build
# ctest
echo "Wait for 10 seconds for the building processes to start."
sleep 10s
29 changes: 29 additions & 0 deletions .docker/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Note: Run `docker build -f .docker/Dockerfile -t pdc:latest .` from the root directory of the repository to build the docker image.

# Use Ubuntu Jammy (latest LTS) as the base image
FROM zhangwei217245/pdc_dev_base:latest

# Build and install PDC
ENV PDC_CMAKE_FLAGS="-DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DCMAKE_INSTALL_PREFIX=$PDC_DIR -DPDC_ENABLE_MPI=ON -DMERCURY_DIR=$MERCURY_DIR -DCMAKE_C_COMPILER=mpicc -DMPI_RUN_CMD=mpiexec "


WORKDIR $PDC_SRC_DIR
RUN rm -rf build && \
mkdir -p build

# COPY ../ ${PDC_SRC_DIR}
# RUN ls -l $PDC_SRC_DIR

WORKDIR ${PDC_SRC_DIR}/build
RUN cmake $PDC_CMAKE_FLAGS ../ 2>&1 > ./cmake_config.log || echo "ignoring cmake config error and proceed" && \
make -j && make install

# Set the environment variables
ENV LD_LIBRARY_PATH="$PDC_DIR/lib:$LD_LIBRARY_PATH"
ENV PATH="$PDC_DIR/include:$PDC_DIR/lib:$PATH"
RUN echo 'export LD_LIBRARY_PATH=$PDC_DIR/lib:$LD_LIBRARY_PATH' >> $WORK_SPACE/pdc_env.sh && \
echo 'export PATH=$PDC_DIR/include:$PDC_DIR/lib:$PATH' >> $WORK_SPACE/pdc_env.sh


# WORKDIR $PDC_SRC_DIR/build
# RUN ctest
2 changes: 2 additions & 0 deletions .docker/dev.Dockerfile.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Exclude files and directories from the Docker build context
!/.git/
Loading

0 comments on commit 73d9d83

Please sign in to comment.