-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1019 from philip-davis/master
Add LibFabric tests
- Loading branch information
Showing
6 changed files
with
175 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#------------------------------------------------------------------------------# | ||
# Distributed under the OSI-approved Apache License, Version 2.0. See | ||
# accompanying file Copyright.txt for details. | ||
#------------------------------------------------------------------------------# | ||
|
||
add_test(NAME HeatTransfer.SST.BP.RDMA.MxN | ||
COMMAND ${MPIEXEC_EXECUTABLE} | ||
${MPIEXEC_NUMPROC_FLAG} 4 | ||
$<TARGET_FILE:heatTransfer_write_adios2> | ||
${CMAKE_CURRENT_SOURCE_DIR}/heat_sst_bp_rdma.xml | ||
HeatTransfer.SST.BP.RDMA.Write.MxN 2 2 10 10 10 10 | ||
: ${MPIEXEC_NUMPROC_FLAG} 3 | ||
$<TARGET_FILE:heatTransfer_read> | ||
${CMAKE_CURRENT_SOURCE_DIR}/heat_sst_bp_rdma.xml | ||
HeatTransfer.SST.BP.RDMA.Write.MxN.bp HeatTransfer.SST.BP.RDMA.Read.MxN 1 3 | ||
) | ||
|
||
add_test(NAME HeatTransfer.SST.BP.RDMA.Dump.MxN | ||
COMMAND ${CMAKE_COMMAND} | ||
-DARGS=-d | ||
-DINPUT_FILE=HeatTransfer.SST.BP.RDMA.Read.MxN.bp | ||
-DOUTPUT_FILE=HeatTransfer.SST.BP.RDMA.Dump.MxN.txt | ||
-P "${PROJECT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bpls.cmake" | ||
) | ||
set_property(TEST HeatTransfer.SST.BP.RDMA.Dump.MxN | ||
PROPERTY DEPENDS HeatTransfer.SST.BP.RDMA.Read.MxN | ||
) | ||
|
||
add_test(NAME HeatTransfer.SST.BP.RDMA.Validate.MxN | ||
COMMAND ${CMAKE_COMMAND} | ||
-E compare_files | ||
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt | ||
${CMAKE_CURRENT_BINARY_DIR}/HeatTransfer.SST.BP.RDMA.Dump.MxN.txt | ||
) | ||
set_property(TEST HeatTransfer.SST.BP.RDMA.Validate.MxN | ||
PROPERTY DEPENDS HeatTransfer.SST.BP.RDMA.Dump.MxN | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#------------------------------------------------------------------------------# | ||
# Distributed under the OSI-approved Apache License, Version 2.0. See | ||
# accompanying file Copyright.txt for details. | ||
#------------------------------------------------------------------------------# | ||
|
||
add_test(NAME HeatTransfer.SST.FFS.RDMA.MxN | ||
COMMAND ${MPIEXEC_EXECUTABLE} | ||
${MPIEXEC_NUMPROC_FLAG} 4 | ||
$<TARGET_FILE:heatTransfer_write_adios2> | ||
${CMAKE_CURRENT_SOURCE_DIR}/heat_sst_ffs_rdma.xml | ||
HeatTransfer.SST.FFS.RDMA.Write.MxN 2 2 10 10 10 10 | ||
: ${MPIEXEC_NUMPROC_FLAG} 3 | ||
$<TARGET_FILE:heatTransfer_read> | ||
${CMAKE_CURRENT_SOURCE_DIR}/heat_sst_ffs_rdma.xml | ||
HeatTransfer.SST.FFS.RDMA.Write.MxN.bp HeatTransfer.SST.FFS.RDMA.Read.MxN 1 3 | ||
) | ||
|
||
add_test(NAME HeatTransfer.SST.FFS.RDMA.Dump.MxN | ||
COMMAND ${CMAKE_COMMAND} | ||
-DARGS=-d | ||
-DINPUT_FILE=HeatTransfer.SST.FFS.RDMA.Read.MxN.bp | ||
-DOUTPUT_FILE=HeatTransfer.SST.FFS.RDMA.Dump.MxN.txt | ||
-P "${PROJECT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bpls.cmake" | ||
) | ||
set_property(TEST HeatTransfer.SST.FFS.RDMA.Dump.MxN | ||
PROPERTY DEPENDS HeatTransfer.SST.FFS.RDMA.Read.MxN | ||
) | ||
|
||
add_test(NAME HeatTransfer.SST.FFS.RDMA.Validate.MxN | ||
COMMAND ${CMAKE_COMMAND} | ||
-E compare_files | ||
${CMAKE_CURRENT_SOURCE_DIR}/HeatTransfer.Dump.txt | ||
${CMAKE_CURRENT_BINARY_DIR}/HeatTransfer.SST.FFS.RDMA.Dump.MxN.txt | ||
) | ||
set_property(TEST HeatTransfer.SST.FFS.RDMA.Validate.MxN | ||
PROPERTY DEPENDS HeatTransfer.SST.FFS.RDMA.Dump.MxN | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0"?> | ||
<!-- Config XML file fo the | ||
- heatTransfer_write_adios2 | ||
- heatTransfer_read | ||
executables in build/bin --> | ||
|
||
<adios-config> | ||
|
||
<!--==================================== | ||
Configuration for the Writer | ||
====================================--> | ||
|
||
<io name="writer"> | ||
<engine type="SST"> | ||
<parameter key="MarshalMethod" value="BP"/> | ||
<parameter key="DataTransport" value="rdma" /> | ||
</engine> | ||
</io> | ||
|
||
|
||
<!--====================================== | ||
Configuration for the Reader Input | ||
======================================--> | ||
|
||
<io name="readerInput"> | ||
<engine type="SST"> | ||
<parameter key="MarshalMethod" value="BP"/> | ||
<parameter key="DataTransport" value="rdma" /> | ||
</engine> | ||
</io> | ||
|
||
|
||
<!--======================================= | ||
Configuration for the Reader output | ||
=======================================--> | ||
|
||
<io name="readerOutput"> | ||
<engine type="BPFile"> | ||
</engine> | ||
</io> | ||
|
||
</adios-config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0"?> | ||
<!-- Config XML file fo the | ||
- heatTransfer_write_adios2 | ||
- heatTransfer_read | ||
executables in build/bin --> | ||
|
||
<adios-config> | ||
|
||
<!--==================================== | ||
Configuration for the Writer | ||
====================================--> | ||
|
||
<io name="writer"> | ||
<engine type="SST"> | ||
<parameter key="MarshalMethod" value="FFS"/> | ||
<parameter key="DataTransport" value="rdma"/> | ||
</engine> | ||
</io> | ||
|
||
|
||
<!--====================================== | ||
Configuration for the Reader Input | ||
======================================--> | ||
|
||
<io name="readerInput"> | ||
<engine type="SST"> | ||
<parameter key="MarshalMethod" value="FFS"/> | ||
<parameter key="DataTransport" value="rdma"/> | ||
</engine> | ||
</io> | ||
|
||
|
||
<!--======================================= | ||
Configuration for the Reader output | ||
=======================================--> | ||
|
||
<io name="readerOutput"> | ||
<engine type="BPFile"> | ||
</engine> | ||
</io> | ||
|
||
</adios-config> |
Oops, something went wrong.