Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ perlmutter-metrics:
PDC_TMPDIR: "${CI_BUILDS_DIR}/${CI_PROJECT_NAME}/${CI_JOB_ID}/pdc-tmp-metrics"
PDC_DATA_LOC: "${CI_BUILDS_DIR}/${CI_PROJECT_NAME}/${CI_JOB_ID}/pdc-data-metrics"
PDC_CLIENT_LOOKUP: "NONE"
PDC_SERVER: "${PDC_BUILD_PATH}/perlmutter/metrics/bin/pdc_server.exe"
PDC_SERVER: "${PDC_BUILD_PATH}/perlmutter/metrics/bin/pdc_server"
PDC_SERVER_CLOSE: "${PDC_BUILD_PATH}/perlmutter/metrics/bin/close_server"
PDC_CLIENT: "${PDC_BUILD_PATH}/perlmutter/metrics/bin/vpicio_mts"
PDC_JOB_OUTPUT: "pdc-metrics.log"
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ install(

#install(
# FILES
# ${PDC_BINARY_DIR}/bin/pdc_server.exe
# ${PDC_BINARY_DIR}/bin/pdc_server
# ${PDC_BINARY_DIR}/bin/close_server
# DESTINATION
# ${CMAKE_INSTALL_PREFIX}/bin
Expand Down
4 changes: 2 additions & 2 deletions docs/source/developer-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ To run a test, let's lunch pdc_server with 4 cores:

cd $PDC_HOME/build
rm -rf ./pdc_tmp # optional if you need to clean up the PDC tmp directory
srun -N 1 -n 4 -c 2 --mem=25600 --cpu_bind=cores ./bin/pdc_server.exe &
srun -N 1 -n 4 -c 2 --mem=25600 --cpu_bind=cores ./bin/pdc_server &

To debug the client, you can run the following command:

Expand All @@ -610,6 +610,6 @@ But if you need to debug the server, you can prepend ``srun`` with ``ddt --conne

cd $PDC_HOME/build
rm -rf ./pdc_tmp # optional if you need to clean up the PDC tmp directory
ddt --connect srun -N 1 -n 4 -c 2 --mem=25600 --cpu_bind=cores ./bin/pdc_server.exe &
ddt --connect srun -N 1 -n 4 -c 2 --mem=25600 --cpu_bind=cores ./bin/pdc_server &

We recommend to use 1 node when debugging PDC, but if memory is not sufficient, you can use more nodes.
4 changes: 2 additions & 2 deletions docs/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ Run 2 server processes in the background

.. code-block:: Bash

mpiexec -np 2 $PDC_DIR/bin/pdc_server.exe &
mpiexec -np 2 $PDC_DIR/bin/pdc_server &

Run 4 client processes that concurrently create 1000 objects and then create and query 1000 tags:

Expand All @@ -291,7 +291,7 @@ Run 4 server processes, each on one compute node in the background:

.. code-block:: Bash

srun -N 4 -n 4 -c 2 --mem=25600 --cpu_bind=cores $PDC_DIR/bin/pdc_server.exe &
srun -N 4 -n 4 -c 2 --mem=25600 --cpu_bind=cores $PDC_DIR/bin/pdc_server &

Run 64 client processes that concurrently create 1000 objects and then create and query 100000 tags:

Expand Down
2 changes: 1 addition & 1 deletion docs/source/hdf5vol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ To compile and run examples:
$ cd vol-pdc/examples
$ cmake .
$ make
$ mpirun -N 1 -n 1 -c 1 <pdc installation directory>/bin/pdc_server.exe &
$ mpirun -N 1 -n 1 -c 1 <pdc installation directory>/bin/pdc_server &
$ mpirun -N 1 -n 1 -c 1 ./h5pdc_vpicio test
$ mpirun -N 1 -n 1 -c 1 <pdc installation directory>/bin/close_server

Expand Down
4 changes: 2 additions & 2 deletions docs/source/tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Examples:

.. code-block:: Bash

$ srun -N 1 -n 1 -c 2 --mem=25600 --cpu_bind=cores --gres=craynetwork:1 --overlap /path/to/pdc_server.exe &
$ srun -N 1 -n 1 -c 2 --mem=25600 --cpu_bind=cores --gres=craynetwork:1 --overlap /path/to/pdc_server &
==PDC_SERVER[0]: using [./pdc_tmp/] as tmp dir, 1 OSTs, 1 OSTs per data file, 0% to BB
==PDC_SERVER[0]: using ofi+tcp
==PDC_SERVER[0]: without multi-thread!
Expand Down Expand Up @@ -201,7 +201,7 @@ Examples:

.. code-block:: Bash

$ srun -N 1 -n 1 -c 2 --mem=25600 --cpu_bind=cores --gres=craynetwork:1 --overlap /path/to/pdc_server.exe &
$ srun -N 1 -n 1 -c 2 --mem=25600 --cpu_bind=cores --gres=craynetwork:1 --overlap /path/to/pdc_server &
==PDC_SERVER[0]: using [./pdc_tmp/] as tmp dir, 1 OSTs, 1 OSTs per data file, 0% to BB
==PDC_SERVER[0]: using ofi+tcp
==PDC_SERVER[0]: without multi-thread!
Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@
+ This multidataset_plugin implementation is designed for wrapping HDF5 operations and call HDF5 multidataset. We demonstrate that PDC can substitute a storage structure comparable to HDF5. Therefore, it is possible to make direct comparison between these two. Currently, only write is implemented in this example.
```
0. cd C_plus_plus_example;make
1. mpiexec -n 1 ./pdc_server.exe &
1. mpiexec -n 1 ./pdc_server &
2. mpiexec -n 1 ./region_transfer_1D_append
```
2 changes: 1 addition & 1 deletion examples/llsm/LLSM_IMPORTER.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ cd $WORK_SPACE/source/pdc/scripts/llsm_importer

Modify the template script `template.sh`.

Change `EXECPATH` to where your `pdc_server.exe` is installed
Change `EXECPATH` to where your `pdc_server` is installed
Change `TOOLPATH` to where your `llsm_importer` artifact is.

Change `LLSM_DATA_PATH` to where your sample dataset is. For exmaple,
Expand Down
4 changes: 2 additions & 2 deletions examples/mpi_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ echo $test_args
if [ -x $test_exe ]; then echo "testing: $test_exe"; else echo "test: $test_exe not found or not and executable" && exit -2; fi
rm -rf pdc_tmp pdc_data
# START the server (in the background)
echo "$mpi_cmd -n $n_servers $extra_cmd ./pdc_server.exe &"
$mpi_cmd -n $n_servers $extra_cmd ./pdc_server.exe &
echo "$mpi_cmd -n $n_servers $extra_cmd ./pdc_server &"
$mpi_cmd -n $n_servers $extra_cmd ./pdc_server &
# WAIT a bit, for 1 second
sleep 1
# RUN the actual test
Expand Down
4 changes: 2 additions & 2 deletions examples/multiple_mpi_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ n_client="$5"
test_args="$6 $7 $8"
# if [ -x $test_exe ]; then echo "testing: $test_exe"; else echo "test: $test_exe not found or not and executable" && exit -2; fi
# START the server (in the background)
echo "$mpi_cmd -n $n_servers $extra_cmd ./pdc_server.exe &"
$mpi_cmd -n $n_servers $extra_cmd $PDC_DIR/bin/./pdc_server.exe &
echo "$mpi_cmd -n $n_servers $extra_cmd ./pdc_server &"
$mpi_cmd -n $n_servers $extra_cmd $PDC_DIR/bin/./pdc_server &
# WAIT a bit...
sleep 1
# RUN the actual test(s)
Expand Down
4 changes: 2 additions & 2 deletions examples/run_checkpoint_restart_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ restart=" "
for test_exe in $test_args
do
# START the server (in the background)
echo "$run_cmd ./pdc_server.exe $restart &"
$run_cmd ./pdc_server.exe $restart &
echo "$run_cmd ./pdc_server $restart &"
$run_cmd ./pdc_server $restart &
# WAIT a bit...
sleep 1
echo "testing: $test_exe"
Expand Down
2 changes: 1 addition & 1 deletion examples/run_multiple_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test_args="$*"
rm -rf pdc_tmp pdc_data
# if [ -x $test_exe ]; then echo "testing: $test_exe"; else echo "test: $test_exe not found or not and executable" && exit -2; fi
# START the server (in the background)
$run_cmd ./pdc_server.exe &
$run_cmd ./pdc_server &
# WAIT a bit...
sleep 1
# RUN the actual test(s)
Expand Down
2 changes: 1 addition & 1 deletion examples/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ shift
if [ -x $test_exe ]; then echo "testing: $test_exe"; else echo "test: $test_exe not found or not and executable" && exit -2; fi
rm -rf pdc_tmp pdc_data
# START the server (in the background)
$run_cmd ./pdc_server.exe &
$run_cmd ./pdc_server &
# WAIT a bit...
sleep 1
# RUN the actual test
Expand Down
6 changes: 3 additions & 3 deletions examples/script_cori_shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ rm -rf $OUTDIR/*

PARTITION_METHOD=1

cp $PDC_DIR/bin/pdc_server.exe $OUTDIR
cp $PDC_DIR/bin/pdc_server $OUTDIR
cp $PDC_DIR/bin/close_server $OUTDIR
cp vpicio_batch $OUTDIR
export SUBMIT_DIR=$(pwd)
cd $OUTDIR
echo $(pwd)
rm -rf $OUTDIR/*.csv $SUBMIT_DIR/vpicio_batch_no_delay/* $SUBMIT_DIR/vpicio_batch_delay/*
export cmd="srun -N $SERVERS -n $SERVERS -c 64 --cpu_bind=cores $SERVER_COMMON_CMD ./pdc_server.exe"
export cmd="srun -N $SERVERS -n $SERVERS -c 64 --cpu_bind=cores $SERVER_COMMON_CMD ./pdc_server"
echo $cmd
$cmd &
sleep 3
Expand All @@ -51,7 +51,7 @@ rm -rf $OUTDIR/pdc_data
rm -rf $OUTDIR/pdc_tmp
rm -rf $OUTDIR/*.csv

export cmd="srun -N $SERVERS -n $SERVERS -c 64 --cpu_bind=cores $SERVER_COMMON_CMD ./pdc_server.exe"
export cmd="srun -N $SERVERS -n $SERVERS -c 64 --cpu_bind=cores $SERVER_COMMON_CMD ./pdc_server"
echo $cmd
$cmd &
sleep 3
Expand Down
4 changes: 2 additions & 2 deletions examples/vpicio_dynamic_partition_4.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/global/cscratch1/sd/qkt561/VPIC
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server.exe
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server
srun -N 4 -n 128 -c 2 --cpu_bind=cores --gres=craynetwork:1 --mem=51200 --overlap ./vpicio_batch 0 10 524288 2 2 0

==PDC_SERVER[0]: using [./pdc_tmp/] as tmp dir, 1 OSTs, 1 OSTs per data file, 0% to BB
Expand Down Expand Up @@ -33,7 +33,7 @@ srun -N 1 -n 1 --gres=craynetwork:1 --mem=51200 --overlap -c 2 --cpu_bind=cores
==PDC_SERVER[0]: Checkpoint file [./pdc_tmp/metadata_checkpoint.0]
==PDC_SERVER: checkpointed 80 objects, with 0 regions
total close time = 1.441717
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server.exe
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server
srun -N 4 -n 128 -c 2 --cpu_bind=cores --gres=craynetwork:1 --mem=51200 --overlap ./vpicio_batch 10 10 524288 2 2 0

==PDC_SERVER[0]: using [./pdc_tmp/] as tmp dir, 1 OSTs, 1 OSTs per data file, 0% to BB
Expand Down
4 changes: 2 additions & 2 deletions examples/vpicio_local_partition_4.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/global/cscratch1/sd/qkt561/VPIC
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server.exe
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server
srun -N 4 -n 128 -c 2 --cpu_bind=cores --gres=craynetwork:1 --mem=51200 --overlap ./vpicio_batch 0 10 1048576 2 3 0

==PDC_SERVER[0]: using [./pdc_tmp/] as tmp dir, 1 OSTs, 1 OSTs per data file, 0% to BB
Expand Down Expand Up @@ -35,7 +35,7 @@ srun: Step created for job 57546288
==PDC_SERVER[0]: Checkpoint file [./pdc_tmp/metadata_checkpoint.0]
==PDC_SERVER: checkpointed 80 objects, with 0 regions
total close time = 0.850722
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server.exe
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server
srun -N 4 -n 128 -c 2 --cpu_bind=cores --gres=craynetwork:1 --mem=51200 --overlap ./vpicio_batch 10 10 1048576 2 3 0

==PDC_SERVER[0]: using [./pdc_tmp/] as tmp dir, 1 OSTs, 1 OSTs per data file, 0% to BB
Expand Down
4 changes: 2 additions & 2 deletions examples/vpicio_object_partition_4.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/global/cscratch1/sd/qkt561/VPIC
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server.exe
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server

==PDC_SERVER[0]: using [./pdc_tmp/] as tmp dir, 1 OSTs, 1 OSTs per data file, 0% to BB
==PDC_SERVER[0]: using ofi+tcp
Expand Down Expand Up @@ -35,7 +35,7 @@ srun: Step created for job 58094687
==PDC_SERVER[0]: Checkpoint file [./pdc_tmp/metadata_checkpoint.0]
==PDC_SERVER: checkpointed 80 objects, with 0 regions
total close time = 1.325264
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server.exe
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server
srun -N 4 -n 128 -c 2 --cpu_bind=cores --gres=craynetwork:1 --mem=51200 --overlap ./vpicio_batch 10 10 524288 2 0 0

==PDC_SERVER[0]: using [./pdc_tmp/] as tmp dir, 1 OSTs, 1 OSTs per data file, 0% to BB
Expand Down
4 changes: 2 additions & 2 deletions examples/vpicio_static_partition_4.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/global/cscratch1/sd/qkt561/VPIC
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server.exe
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server
srun -N 4 -n 128 -c 2 --cpu_bind=cores --gres=craynetwork:1 --mem=51200 --overlap ./vpicio_batch 0 10 524288 2 1 0

==PDC_SERVER[0]: using [./pdc_tmp/] as tmp dir, 1 OSTs, 1 OSTs per data file, 0% to BB
Expand Down Expand Up @@ -35,7 +35,7 @@ srun: Step created for job 58095070
==PDC_SERVER[0]: Checkpoint file [./pdc_tmp/metadata_checkpoint.0]
==PDC_SERVER: checkpointed 80 objects, with 0 regions
total close time = 2.276688
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server.exe
srun -N 4 -n 4 -c 64 --cpu_bind=cores --gres=craynetwork:1 --mem=21600 --overlap ./pdc_server
srun -N 4 -n 128 -c 2 --cpu_bind=cores --gres=craynetwork:1 --mem=51200 --overlap ./vpicio_batch 10 10 524288 2 1 0

==PDC_SERVER[0]: using [./pdc_tmp/] as tmp dir, 1 OSTs, 1 OSTs per data file, 0% to BB
Expand Down
2 changes: 1 addition & 1 deletion scripts/dart_attr_dist_test/template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ mkdir -p $PDC_TMPDIR

EXECPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/install/pdc/share/test/bin
TOOLPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/install/pdc/share/test/bin
SERVER=$EXECPATH/pdc_server.exe
SERVER=$EXECPATH/pdc_server
CLIENT=$TOOLPATH/dart_attr_dist_test
CLOSE=$EXECPATH/close_server

Expand Down
2 changes: 1 addition & 1 deletion scripts/kvtag_add_get_benchmark/perlmutter/template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mkdir -p $PDC_TMPDIR
let TOTALPROC=$NCLIENT*$N_NODE

EXECPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/install/pdc/share/test/bin
SERVER=$EXECPATH/pdc_server.exe
SERVER=$EXECPATH/pdc_server
CLIENT=$EXECPATH/kvtag_add_get_benchmark
CLOSE=$EXECPATH/close_server

Expand Down
2 changes: 1 addition & 1 deletion scripts/kvtag_add_get_scale/perlmutter/template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mkdir -p $PDC_TMPDIR
let TOTALPROC=$NCLIENT*$N_NODE

EXECPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/install/pdc/share/test/bin
SERVER=$EXECPATH/pdc_server.exe
SERVER=$EXECPATH/pdc_server
CLIENT=$EXECPATH/kvtag_add_get_scale
CLOSE=$EXECPATH/close_server

Expand Down
2 changes: 1 addition & 1 deletion scripts/kvtag_affix_query_scale/template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ mkdir -p $PDC_TMPDIR

EXECPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/install/pdc/share/test/bin
TOOLPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/install/pdc/share/test/bin
SERVER=$EXECPATH/pdc_server.exe
SERVER=$EXECPATH/pdc_server
CLIENT=$TOOLPATH/kvtag_affix_query_scale
CLOSE=$EXECPATH/close_server

Expand Down
2 changes: 1 addition & 1 deletion scripts/kvtag_query_scale/template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ mkdir -p $PDC_TMPDIR

EXECPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/install/pdc/share/test/bin
TOOLPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/install/pdc/share/test/bin
SERVER=$EXECPATH/pdc_server.exe
SERVER=$EXECPATH/pdc_server
CLIENT=$TOOLPATH/kvtag_query_scale
CLOSE=$EXECPATH/close_server

Expand Down
2 changes: 1 addition & 1 deletion scripts/kvtag_range_query_scale/template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ mkdir -p $PDC_TMPDIR

EXECPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/install/pdc/share/test/bin
TOOLPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/install/pdc/share/test/bin
SERVER=$EXECPATH/pdc_server.exe
SERVER=$EXECPATH/pdc_server
CLIENT=$TOOLPATH/kvtag_range_query_scale
CLOSE=$EXECPATH/close_server

Expand Down
2 changes: 1 addition & 1 deletion scripts/llsm_idioms_bench/template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ mkdir -p $PDC_TMPDIR

EXECPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/install/pdc/share/test/bin
TOOLPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/install/pdc/share/test/bin
SERVER=$EXECPATH/pdc_server.exe
SERVER=$EXECPATH/pdc_server
CLIENT=$TOOLPATH/kvtag_query_scale_col
CLOSE=$EXECPATH/close_server

Expand Down
2 changes: 1 addition & 1 deletion scripts/llsm_importer/template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ mkdir -p $PDC_TMPDIR

EXECPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/install/pdc/share/test/bin
TOOLPATH=/global/cfs/cdirs/m2621/wzhang5/perlmutter/source/pdc/tools/build
SERVER=$EXECPATH/pdc_server.exe
SERVER=$EXECPATH/pdc_server
CLIENT=$TOOLPATH/llsm_importer
CLOSE=$EXECPATH/close_server

Expand Down
6 changes: 3 additions & 3 deletions src/server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ else()
target_link_libraries(pdc_server_lib ${MERCURY_LIBRARY} ${PDC_COMMONS_LIBRARIES} -lm -ldl ${PDC_EXT_LIB_DEPENDENCIES})
endif()

add_executable(pdc_server.exe
add_executable(pdc_server
pdc_server_main.c
)
target_link_libraries(pdc_server.exe pdc_server_lib)
target_link_libraries(pdc_server pdc_server_lib)


add_executable(pdc_server_metadata_index_test
Expand All @@ -107,7 +107,7 @@ target_link_libraries(pdc_server_metadata_index_test pdc_server_lib)
if(NOT ${PDC_INSTALL_BIN_DIR} MATCHES ${PROJECT_BINARY_DIR}/bin)
install(
TARGETS
pdc_server.exe
pdc_server
pdc_server_lib
LIBRARY DESTINATION ${PDC_INSTALL_LIB_DIR}
ARCHIVE DESTINATION ${PDC_INSTALL_LIB_DIR}
Expand Down
4 changes: 2 additions & 2 deletions src/tests/mpi_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ echo $test_args
if [ -x $test_exe ]; then echo "testing: $test_exe"; else echo "test: $test_exe not found or not and executable" && exit -2; fi
rm -rf pdc_tmp pdc_data
# START the server (in the background)
echo "$mpi_cmd -n $n_servers $extra_cmd ./pdc_server.exe &"
$mpi_cmd -n $n_servers $extra_cmd ./pdc_server.exe &
echo "$mpi_cmd -n $n_servers $extra_cmd ./pdc_server &"
$mpi_cmd -n $n_servers $extra_cmd ./pdc_server &
# WAIT a bit, for 1 second
# RUN the actual test
echo "$mpi_cmd -n $n_client $extra_cmd $test_exe $test_args"
Expand Down
4 changes: 2 additions & 2 deletions src/tests/run_checkpoint_restart_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ restart=" "
for test_exe in $test_args
do
# START the server (in the background)
echo "$run_cmd ./pdc_server.exe $restart &"
$run_cmd ./pdc_server.exe $restart &
echo "$run_cmd ./pdc_server $restart &"
$run_cmd ./pdc_server $restart &
# WAIT a bit...
sleep 1
echo "testing: $test_exe"
Expand Down
4 changes: 2 additions & 2 deletions src/tests/run_multiple_mpi_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ echo $all_test
rm -rf pdc_tmp pdc_data

# START the server (in the background)
echo "$mpi_cmd -n $n_servers $extra_cmd ./pdc_server.exe &"
$mpi_cmd -n $n_servers $extra_cmd ./pdc_server.exe &
echo "$mpi_cmd -n $n_servers $extra_cmd ./pdc_server &"
$mpi_cmd -n $n_servers $extra_cmd ./pdc_server &

# WAIT a bit, for 1 second
sleep 1
Expand Down
2 changes: 1 addition & 1 deletion src/tests/run_multiple_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test_args="$*"
rm -rf pdc_tmp pdc_data
# if [ -x $test_exe ]; then echo "testing: $test_exe"; else echo "test: $test_exe not found or not and executable" && exit -2; fi
# START the server (in the background)
$run_cmd ./pdc_server.exe &
$run_cmd ./pdc_server &
# WAIT a bit...
sleep 1
# RUN the actual test(s)
Expand Down
2 changes: 1 addition & 1 deletion src/tests/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ shift
if [ -x $test_exe ]; then echo "testing: $test_exe"; else echo "test: $test_exe not found or not and executable" && exit -2; fi
rm -rf pdc_tmp pdc_data
# START the server (in the background)
$run_cmd ./pdc_server.exe &
$run_cmd ./pdc_server &
# WAIT a bit...
# RUN the actual test
echo "$run_cmd $test_exe $test_args"
Expand Down
Loading