Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
942b7be
3.0.0: Implement fabric connector
dariomnz Sep 6, 2024
35483c4
Merge pull request #158 from dariomnz/beta-cmake
acaldero Sep 21, 2024
a561ad3
Merge pull request #159 from dariomnz/beta-cmake
acaldero Sep 26, 2024
9fe087d
Merge pull request #160 from dariomnz/beta-cmake
acaldero Sep 30, 2024
cfae4e1
Merge pull request #161 from dariomnz/beta-cmake
acaldero Oct 6, 2024
089dba7
Merge beta-cmake
dariomnz Oct 25, 2024
40a7b09
Implement fabric_server in cpp
dariomnz Oct 28, 2024
734cd91
Add test fot libfabric
dariomnz Oct 30, 2024
3547c18
Fix cmake base_cpp
dariomnz Oct 30, 2024
94665c4
Fix fabric problem with hints
dariomnz Oct 30, 2024
90f5af7
Fix Timer float time
dariomnz Nov 4, 2024
ce3f42b
Test new libfabric implementation
dariomnz Nov 5, 2024
a5a2434
Improvements in the libfabric implementation
dariomnz Nov 7, 2024
3863695
Implement a threadless mode for fabric implementation
dariomnz Nov 7, 2024
67f1d7c
Implement scalable endpoints
dariomnz Nov 8, 2024
b8236d0
New feature: without limits in threads on_demand
dariomnz Nov 8, 2024
944bb36
Implement various thread to read cq in fabric
dariomnz Nov 8, 2024
4f00813
Set fabric threads with a env variable
dariomnz Nov 8, 2024
61a5b4d
Integrate LFI library
dariomnz Nov 26, 2024
9f3bf0b
Update LFI
dariomnz Nov 26, 2024
ec3a666
Merge pull request #164 from dariomnz/beta-cmake
acaldero Dec 14, 2024
1c34923
Fix some debug information
dariomnz Dec 18, 2024
20c378f
Change the fabric_server thread mode for better scaling
dariomnz Dec 20, 2024
e398843
Dev files change in paths
dariomnz Jan 10, 2025
cb6541e
Use two buffers in read_operation
dariomnz Jan 10, 2025
e14d10d
Fix return fut in launch
dariomnz Jan 10, 2025
9149136
Update fabric_server_comm with ldi async API
dariomnz Jan 13, 2025
0d25a36
Fix some imports in fabric_server_comm
dariomnz Jan 15, 2025
cb43ea2
Change storage of xpn_file to shared_ptr
dariomnz Jan 16, 2025
cbd9339
Fix some scripts
dariomnz Jan 23, 2025
677a2fa
Introduce the xpn_controller
dariomnz Jan 23, 2025
67d173a
Add connection with timeout
dariomnz Jan 24, 2025
373a9db
Update xpn_controller
dariomnz Jan 24, 2025
b4ed26b
xpn_controller add support for expand and shrink
dariomnz Jan 28, 2025
a259050
Add statfs in bypass
dariomnz Jan 28, 2025
558165d
Start implementing malleability in xpn_client
dariomnz Jan 28, 2025
0441a3d
Change proxy and update bypass
dariomnz Jan 29, 2025
87442fe
Merge pull request #170 from dariomnz/beta-fabric
acaldero Feb 14, 2025
967b3cf
Merge pull request #171 from dariomnz/beta-metadata
acaldero Feb 14, 2025
7c54c2c
Update env to correctly check string to int parsing
dariomnz Feb 21, 2025
658489a
Merge pull request #19 from acaldero/master
dariomnz Mar 10, 2025
63e0626
Add documentation for the xpn_server_monitor tool
dariomnz Mar 10, 2025
a86caab
Fix read/write on a socket returning 0
dariomnz Mar 10, 2025
98f043d
Add debug option to xpn_controler for server run with gdb
dariomnz Mar 10, 2025
9a57757
Change msg ops to send only the necesary data
dariomnz Mar 10, 2025
743d987
Add profiler
dariomnz Mar 26, 2025
ab5642b
Optimize write mdata file size
dariomnz Mar 26, 2025
e30395f
Optimize the write mdata file size operation without waiting for a re…
dariomnz Mar 27, 2025
1afa4c3
Add watch compilation, and change compile files
dariomnz Apr 3, 2025
df45cd5
Add fuse and pread pwrite API
dariomnz Apr 30, 2025
c4eb6e5
Some fixes in dir operations
dariomnz Jun 10, 2025
6667aff
Add support for dmtcp and rewrite bypass
dariomnz Jun 10, 2025
2c8d42e
Add support for comunication with servers with 32 and 64 bits
dariomnz Sep 2, 2025
f4d1831
Add support to ipv6
dariomnz Sep 2, 2025
7edad6f
Merge branch 'master' of https://github.com/xpn-arcos/xpn
dariomnz Sep 3, 2025
c31f9e4
Merge branch 'xpn-arcos-master' into beta-merge
dariomnz Sep 3, 2025
027737d
Add support for mosquitto
dariomnz Sep 5, 2025
00b73e0
Implement multiplexing for sck
dariomnz Sep 5, 2025
06271c9
Implement connectionless mode with sck
dariomnz Sep 9, 2025
ac88ae3
Add support for proxy server with filesystem interface
dariomnz Sep 10, 2025
58f549e
Update fuze version to 3
dariomnz Sep 10, 2025
ead454d
Make xpn reentrant
dariomnz Sep 11, 2025
5583a85
Fix bypass stat or __xstat
dariomnz Sep 11, 2025
7d98c28
Fix warnings in fuse-xpn
dariomnz Sep 12, 2025
7b1d0db
Add regresion test
dariomnz Sep 15, 2025
b8f4dcd
Add support to define a port on the server
dariomnz Sep 15, 2025
afbc4ae
Rewrite server params and add port specifications
dariomnz Sep 15, 2025
d273ab8
Remove ENABLE_SCK_SERVER from the configuration, it is always enabled
dariomnz Sep 15, 2025
0084b55
Fix xpn reentrant in nfi sck
dariomnz Sep 16, 2025
89bd112
Fix mqtt protocol and make default library shared
dariomnz Sep 17, 2025
663d22d
Name change from mq_server to mqtt_server
dariomnz Sep 17, 2025
c3386de
Merge branch 'beta-merge'
dariomnz Sep 17, 2025
bf2646b
Merge branch 'master' of https://github.com/dariomnz/xpn into dariomn…
acaldero Sep 18, 2025
7c8385f
Merge branch 'dariomnz-master' into dario-beta
acaldero Sep 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 8 additions & 8 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ AlignConsecutiveMacros:
AlignTrailingComments:
Kind: Always
OverEmptyLines: 2
BreakBeforeBraces: Custom
BraceWrapping:
SplitEmptyFunction: false
AfterControlStatement: Never
AfterFunction: true
AfterStruct: true
AfterUnion: true
BeforeElse: true
# BreakBeforeBraces: Custom
# BraceWrapping:
# SplitEmptyFunction: false
# AfterControlStatement: Never
# AfterFunction: true
# AfterStruct: true
# AfterUnion: true
# BeforeElse: true
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ src/xpn_server/Makefile
src/.vscode
.vscode/settings.json
test/integrity/xpn/circs
.vscode
build
install
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
path = docker
url = https://github.com/xpn-arcos/xpn-docker.git
branch = master
[submodule "libs/lfi"]
path = libs/lfi
url = https://github.com/dariomnz/lfi.git
branch = master
98 changes: 98 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
cmake_minimum_required(VERSION 3.16)

project(XPN VERSION 3.0.0 LANGUAGES C CXX)

set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)

# add_compile_options("-DDEBUG")
add_compile_options("-D_GNU_SOURCE" "-DMPICH_SKIP_MPICXX")
# add_compile_options("-D_GNU_SOURCE" "-DMPICH_SKIP_MPICXX" "-D_REENTRANT")
add_compile_options("-fPIC" "-O2" "-g" "-g3" "-ggdb" "-Wall" "-Wextra")

option(ENABLE_MPI_SERVER "Enable the mpi_server module" OFF)
if(ENABLE_MPI_SERVER)
message(STATUS "ENABLE_MPI_SERVER : ${ENABLE_MPI_SERVER}")
add_compile_options("-DENABLE_MPI_SERVER")
set(MPI_PATH ${ENABLE_MPI_SERVER})
find_library(MPI_LIBRARY NAMES mpi PATHS ${MPI_PATH}/lib /usr/lib /usr/local/lib)
find_path(MPI_INCLUDE_DIR mpi.h PATHS ${MPI_PATH}/include /usr/include /usr/local/include)
message(STATUS "MPI_LIBRARY : ${MPI_LIBRARY}")
message(STATUS "MPI_INCLUDE_DIR : ${MPI_INCLUDE_DIR}")
else()
message(STATUS "ENABLE_MPI_SERVER : false")
endif(ENABLE_MPI_SERVER)

option(ENABLE_FABRIC_SERVER "Enable the fabric_server module" OFF)
if(ENABLE_FABRIC_SERVER)
message(STATUS "ENABLE_FABRIC_SERVER : ${ENABLE_FABRIC_SERVER}")
add_compile_options("-DENABLE_FABRIC_SERVER")
set(LIBFABRIC_PATH ${ENABLE_FABRIC_SERVER})
add_subdirectory(libs/lfi)
else()
message(STATUS "ENABLE_FABRIC_SERVER : false")
endif(ENABLE_FABRIC_SERVER)

option(ENABLE_MQTT_SERVER "Enable the mq_server module" OFF)
if(ENABLE_MQTT_SERVER)
message(STATUS "ENABLE_MQTT_SERVER : ${ENABLE_MQTT_SERVER}")
add_compile_options("-DENABLE_MQTT_SERVER")
set(MOSQUITTO_PATH ${ENABLE_MQTT_SERVER})
find_library(MOSQUITTO_LIBRARY NAMES mosquitto PATHS ${MOSQUITTO_PATH}/lib /usr/lib /usr/local/lib)
find_path(MOSQUITTO_INCLUDE_DIR mosquitto.h PATHS ${MOSQUITTO_PATH}/include /usr/include /usr/local/include)
message(STATUS "MOSQUITTO_LIBRARY : ${MOSQUITTO_LIBRARY}")
message(STATUS "MOSQUITTO_INCLUDE_DIR : ${MOSQUITTO_INCLUDE_DIR}")
else()
message(STATUS "ENABLE_MQTT_SERVER : false")
endif(ENABLE_MQTT_SERVER)

link_libraries("pthread" "dl")

add_subdirectory(src/bypass)
# add_compile_options("-DDEBUG")
add_subdirectory(src/base_cpp)
add_subdirectory(src/xpn_client)
add_subdirectory(src/xpn_server)
add_subdirectory(src/xpn_controller)
add_subdirectory(src/utils)


option(ENABLE_FUSE "Enable the fuse module" OFF)
if(ENABLE_FUSE)
message(STATUS "ENABLE_FUSE : ${ENABLE_FUSE}")
add_compile_options("-DENABLE_FUSE")
set(FUSE_PATH ${ENABLE_FUSE})
find_library(FUSE_LIBRARY NAMES fuse3 PATHS ${FUSE_PATH}/lib /usr/lib /usr/local/lib /usr/lib/x86_64-linux-gnu "${FUSE_LIBRARY}")
find_path(FUSE_INCLUDE_DIR fuse.h PATHS ${FUSE_PATH}/include /usr/include /usr/local/include PATH_SUFFIXES fuse3)
message(STATUS "FUSE_LIBRARY : ${FUSE_LIBRARY}")
message(STATUS "FUSE_INCLUDE_DIR : ${FUSE_INCLUDE_DIR}")
add_subdirectory(src/connector_fuse)
else()
message(STATUS "ENABLE_FUSE : false")
endif(ENABLE_FUSE)


option(BUILD_TESTS "Build the test" OFF)
if(BUILD_TESTS)
message(STATUS "BUILD_TESTS : true")
enable_testing()
add_subdirectory(test)
else()
message(STATUS "BUILD_TESTS : false")
endif(BUILD_TESTS)


install(CODE "
message(STATUS \"Create_symlink: from \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib to \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib64\")
execute_process(COMMAND ln -s -f -T \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib64)
")

unset(ENABLE_MPI_SERVER CACHE)
unset(ENABLE_FABRIC_SERVER CACHE)
unset(ENABLE_MQTT_SERVER CACHE)
unset(ENABLE_FUSE CACHE)
unset(BUILD_TESTS CACHE)
2 changes: 0 additions & 2 deletions Makefile.am

This file was deleted.

Loading