File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,6 @@ set(NVSHMEM_PATCH_COMMAND
63
63
set (NVSHMEM_LIB ${NVSHMEM_INSTALL_DIR} /lib/libnvshmem.a )
64
64
set (NVSHMEM_BOOTSTRAP_UID_LIB
65
65
${NVSHMEM_INSTALL_DIR} /lib/nvshmem_bootstrap_uid.so.3 )
66
- set (NVSHMEM_BOOTSTRAP_MPI_LIB
67
- ${NVSHMEM_INSTALL_DIR} /lib/nvshmem_bootstrap_mpi.so.3 )
68
66
set (NVSHMEM_BOOTSTRAP_PMI_LIB
69
67
${NVSHMEM_INSTALL_DIR} /lib/nvshmem_bootstrap_pmi.so.3 )
70
68
set (NVSHMEM_BOOTSTRAP_PMI2_LIB
@@ -100,6 +98,7 @@ ExternalProject_Add(
100
98
-DNVSHMEM_IBRC_SUPPORT=1
101
99
-DNVSHMEM_BUILD_TESTS=0
102
100
-DNVSHMEM_BUILD_EXAMPLES=0
101
+ -DNVSHMEM_MPI_SUPPORT=0
103
102
CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${NVSHMEM_INSTALL_DIR}
104
103
BUILD_BYPRODUCTS ${NVSHMEM_LIB} )
105
104
Original file line number Diff line number Diff line change @@ -1128,14 +1128,12 @@ if '${WITH_GPU}' == 'ON' or '${WITH_ROCM}' == 'ON':
1128
1128
if '${WITH_DISTRIBUTE}' == 'ON' and '${WITH_NVSHMEM}' == 'ON':
1129
1129
package_data['paddle.libs']+=[
1130
1130
os.path.basename('${NVSHMEM_BOOTSTRAP_UID_LIB}'),
1131
- os.path.basename('${NVSHMEM_BOOTSTRAP_MPI_LIB}'),
1132
1131
os.path.basename('${NVSHMEM_BOOTSTRAP_PMI_LIB}'),
1133
1132
os.path.basename('${NVSHMEM_BOOTSTRAP_PMI2_LIB}'),
1134
1133
os.path.basename('${NVSHMEM_TRANSPORT_IBRC_LIB}'),
1135
1134
os.path.basename('${NVSHMEM_TRANSPORT_IBGDA_LIB}'),
1136
1135
]
1137
1136
shutil.copy('${NVSHMEM_BOOTSTRAP_UID_LIB}', libs_path)
1138
- shutil.copy('${NVSHMEM_BOOTSTRAP_MPI_LIB}', libs_path)
1139
1137
shutil.copy('${NVSHMEM_BOOTSTRAP_PMI_LIB}', libs_path)
1140
1138
shutil.copy('${NVSHMEM_BOOTSTRAP_PMI2_LIB}', libs_path)
1141
1139
shutil.copy('${NVSHMEM_TRANSPORT_IBRC_LIB}', libs_path)
Original file line number Diff line number Diff line change @@ -1550,14 +1550,12 @@ def get_package_data_and_package_dir():
1550
1550
if len (env_dict .get ("NVSHMEM_BOOTSTRAP_UID_LIB" , "" )) > 1 :
1551
1551
package_data ['paddle.libs' ] += [
1552
1552
os .path .basename (env_dict .get ("NVSHMEM_BOOTSTRAP_UID_LIB" )),
1553
- os .path .basename (env_dict .get ("NVSHMEM_BOOTSTRAP_MPI_LIB" )),
1554
1553
os .path .basename (env_dict .get ("NVSHMEM_BOOTSTRAP_PMI_LIB" )),
1555
1554
os .path .basename (env_dict .get ("NVSHMEM_BOOTSTRAP_PMI2_LIB" )),
1556
1555
os .path .basename (env_dict .get ("NVSHMEM_TRANSPORT_IBRC_LIB" )),
1557
1556
os .path .basename (env_dict .get ("NVSHMEM_TRANSPORT_IBGDA_LIB" )),
1558
1557
]
1559
1558
shutil .copy (env_dict .get ("NVSHMEM_BOOTSTRAP_UID_LIB" ), libs_path )
1560
- shutil .copy (env_dict .get ("NVSHMEM_BOOTSTRAP_MPI_LIB" ), libs_path )
1561
1559
shutil .copy (env_dict .get ("NVSHMEM_BOOTSTRAP_PMI_LIB" ), libs_path )
1562
1560
shutil .copy (env_dict .get ("NVSHMEM_BOOTSTRAP_PMI2_LIB" ), libs_path )
1563
1561
shutil .copy (env_dict .get ("NVSHMEM_TRANSPORT_IBRC_LIB" ), libs_path )
You can’t perform that action at this time.
0 commit comments