Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
277 commits
Select commit Hold shift + click to select a range
2f962ee
Change test for coordinated resuming after failure
Vinpasso May 28, 2019
8a643d4
Working checkpoint and restore demo
Vinpasso May 28, 2019
a9f4fb3
Merge pull request #2 from envelope-project/master
Vinpasso May 28, 2019
731dd24
Laik attempt to detect global status
Vinpasso Jun 2, 2019
e9f8c6b
Revert checkpoint hashing
Vinpasso Jun 2, 2019
4803303
Add a test for group_get_location
Vinpasso Jun 2, 2019
395f449
Update build systems
Vinpasso Jun 2, 2019
c4ac53a
Merge branch 'master' of github.com:envelope-project/laik
Vinpasso Jun 2, 2019
adbc31b
Restore possibility of max reduction in tcp backend
Vinpasso Jun 2, 2019
d4301ff
Change fault tolerance to reflect changes in backend
Vinpasso Jun 2, 2019
d67e6c8
Improve failure detection
Vinpasso Jun 2, 2019
8a77aac
Working failure detection and finalize
Vinpasso Jun 13, 2019
3c15daf
Detect and account for failed nodes
Vinpasso Jun 14, 2019
7ef4bd8
Minor improvements
Vinpasso Jun 14, 2019
8b9f462
Buffer sizes differ
Vinpasso Jun 15, 2019
9e77008
Fixed differing buffer sizes
Vinpasso Jun 15, 2019
e5cfd55
Periodically check for failed nodes regardless of error
Vinpasso Jun 15, 2019
757f621
Error message facelift
Vinpasso Jun 15, 2019
176b520
Debug pgm file output
Vinpasso Jun 15, 2019
072f6c9
Improvements to pgm output
Vinpasso Jun 15, 2019
7f1ea10
Further improvements to pgm output
Vinpasso Jun 15, 2019
dcb815c
Remove some legacy code
Vinpasso Jun 16, 2019
235c5c5
Add some more naming to example
Vinpasso Jun 16, 2019
71b670c
Backup rewrite
Vinpasso Jun 16, 2019
0cb7d05
Don't switch partitionings if already active
Vinpasso Jun 16, 2019
aa66db1
Additional debug log output
Vinpasso Jun 16, 2019
f088601
Fix width/height in pgm output
Vinpasso Jun 16, 2019
0091ece
More informative status output
Vinpasso Jun 17, 2019
203882b
Changes to debug output
Vinpasso Jun 17, 2019
cbc26ec
Merge changes from master
Vinpasso Jun 23, 2019
cd1a3a5
Restore location get world offset for checkpointing
Vinpasso Jun 23, 2019
e454a16
Remove hashing and test master checkpointing
Vinpasso Jun 23, 2019
a8954fc
Laik failure detector also show global id
Vinpasso Jun 23, 2019
5d321d0
Remove unused code
Vinpasso Jun 23, 2019
7583b71
Fix bug where 1d/2d data was not copied in bufcopy
Vinpasso Jun 24, 2019
59d31ce
Update fault tolerance checkpoint mechanic
Vinpasso Jun 24, 2019
0cc761d
Implement local2global2d laik
Vinpasso Jun 24, 2019
810e6cc
Implement a mandelbrot example
Vinpasso Jun 24, 2019
ebb28a7
Add Mandelbrot to build system
Vinpasso Jun 24, 2019
7c04a96
Update data output
Vinpasso Jun 24, 2019
920f6da
Implement colorful output according to partitioner
Vinpasso Jul 2, 2019
4524e67
Pre-Presentation improvements
Vinpasso Jul 3, 2019
934d6d3
Make simulation more interesting
Vinpasso Jul 3, 2019
b5cff7d
Remove create checkpoint group functionality
Vinpasso Jul 14, 2019
34664a2
Update redundancy api
Vinpasso Jul 14, 2019
09c5508
Fix problem with unequal amounts of sends/receives
Vinpasso Jul 14, 2019
6d47dbe
Do some cleanups
Vinpasso Jul 14, 2019
a96b869
Begin implementation of ULFM-FT
Vinpasso Jul 19, 2019
8a45a9f
Add custom MPI status check
Vinpasso Jul 20, 2019
5391129
Add some additional checks to ensure consistency
Vinpasso Jul 20, 2019
ba4e3ad
Remove dependency on glib in failure_detector
Vinpasso Aug 4, 2019
29a2f8c
Replace hash with mock (remove dependency on OpenSSL)
Vinpasso Aug 4, 2019
e29415c
Add performance trace events
Vinpasso Aug 4, 2019
a34457b
Remove ssl and crypto from cmake dependencies
Vinpasso Aug 4, 2019
5485e60
Update makefile to build fault-tolerance
Vinpasso Aug 4, 2019
585cd7c
Update function signatures to ensure c++ can compile
Vinpasso Aug 4, 2019
fc65cb4
Fixed changed signature access in eliminate nodes
Vinpasso Aug 4, 2019
e776b84
Update makefiles to build fault tolerance
Vinpasso Aug 5, 2019
8acbc3e
Further changes to eliminate crypto
Vinpasso Aug 5, 2019
d029c8d
Make checkpoint redundancy and rotation distance configurable
Vinpasso Aug 5, 2019
08851c7
Reintroduce abspath into makefiles for build on linux
Vinpasso Aug 5, 2019
4bc0be0
Fix more makefiles
Vinpasso Aug 5, 2019
0b3b5fb
Update to outdated test case
Vinpasso Aug 5, 2019
e78c75e
Update cmake list
Vinpasso Aug 5, 2019
86e2ab5
Fix some bugs in configurable checkpoint redundancy
Vinpasso Aug 5, 2019
ba58c10
Update gitignore to ignore lib folder
Vinpasso Aug 6, 2019
95c8d28
Change event names for performance tests
Vinpasso Aug 6, 2019
530513a
Add event tracing to core
Vinpasso Aug 6, 2019
390acd5
Add osu benchmark initial
Vinpasso Aug 6, 2019
c73092a
Port OSU benchmark to LAIK
Vinpasso Aug 6, 2019
e6394a6
OSU port in progress
Vinpasso Aug 6, 2019
4e603ca
Add unported lulesh
Vinpasso Aug 6, 2019
804b9e1
Update gitignore ignore cmake build output
Vinpasso Aug 7, 2019
b866b15
Add laik LULESH port
Vinpasso Aug 7, 2019
c0ce136
Add matlab render code and change tracing format
Vinpasso Aug 7, 2019
81de2ce
Remove global variables in headers that caused duplications
Vinpasso Aug 7, 2019
a2d6639
Get LULESH code to compile
Vinpasso Aug 7, 2019
aad7e4c
Work on LULESH
Vinpasso Aug 7, 2019
499ad59
Add a single partitioner (like master, but on specified task).
Vinpasso Aug 13, 2019
ea0b2e1
Implement osu latency benchmark in a ring
Vinpasso Aug 13, 2019
20a698c
Matlab script to render performance data
Vinpasso Aug 13, 2019
5ba88fc
Some refactoring for lulesh checkpoint restore
Vinpasso Aug 13, 2019
d36659e
Implement creation of checkpoints for lulesh
Vinpasso Aug 13, 2019
68e360b
Remove references to laik_internal so that code compiles
Vinpasso Aug 13, 2019
2055e1b
Fix some refactoring mistakes
Vinpasso Aug 13, 2019
c696a1d
Implement laik_checkpoint_free
Vinpasso Aug 13, 2019
65880f5
Get lulesh checkpointing to work
Vinpasso Aug 13, 2019
133b2bb
More work on lulesh
Vinpasso Aug 14, 2019
ba50a26
LULESH eliminate output of uninitialized value and set log level
Vinpasso Aug 22, 2019
9d405da
Fix resizing when restoring
Vinpasso Aug 22, 2019
17319a0
MPI backend add some error checks
Vinpasso Aug 22, 2019
3d6beb6
LULESH Use temporary group to restore
Vinpasso Aug 22, 2019
64cdfd3
Switch output with laik_log statements
Vinpasso Aug 23, 2019
8278e8e
Replace some asserts with more helpful error messages
Vinpasso Aug 23, 2019
9e9ea40
Switch dt container to temporary group
Vinpasso Aug 23, 2019
e9b638a
Working LULESH on MPI
Vinpasso Aug 23, 2019
473304e
Disable redundancy for now
Vinpasso Aug 23, 2019
a1cde89
Improve an error message.
Vinpasso Aug 24, 2019
632fe82
Change MPI backend to avoid using revoked communicator
Vinpasso Aug 24, 2019
a979026
More instrumentation
Vinpasso Aug 25, 2019
7572cfb
Centralize error handling from backends into laik
Vinpasso Aug 25, 2019
62293b8
Add small cmake status message
Vinpasso Aug 25, 2019
7907ef7
Ignore MATLAB autosaves
Vinpasso Aug 25, 2019
c2e94bc
Visualization and experiments
Vinpasso Aug 25, 2019
c6f0997
Ignore some more output directories
Vinpasso Aug 25, 2019
2ea1717
Utility scripts for experiments
Vinpasso Aug 25, 2019
9d07e31
More utility scripts
Vinpasso Aug 25, 2019
9eaf020
Fix some legacy code and make sure error handler not uninitialized
Vinpasso Aug 25, 2019
262a1d3
Remove another dependence on backend
Vinpasso Aug 25, 2019
277f626
Revert visualizer to working version
Vinpasso Aug 25, 2019
e748bef
Improvements to experiment script for pi cluster
Vinpasso Aug 26, 2019
90af09f
Configurable options for fault tolerance jac2d
Vinpasso Sep 23, 2019
0f2a6c4
Add option for delayed checkpoint release
Vinpasso Sep 23, 2019
5ed3fd9
Remove stray whitespace in help options
Vinpasso Sep 23, 2019
c1677e0
Bugfix: Ensure that statistics don't try to access data that may have…
Vinpasso Sep 23, 2019
119f6b6
Convert redundancy count and rotation distance to options
Vinpasso Sep 23, 2019
7a19553
Fixed a bug where mpi failure check occurred on world instead of chec…
Vinpasso Sep 24, 2019
da3e2ee
Improved argument parsing and no-checkpoint runthrough
Vinpasso Sep 24, 2019
28504e1
clang-tidy fix
Vinpasso Sep 24, 2019
bdee5b9
Change shrink mechanism to not use global offsets
Vinpasso Sep 24, 2019
706a53f
Bring fault tolerance options from Jac2d to Lulesh
Vinpasso Sep 24, 2019
a706cb4
Change lulesh for redundancy count and rotation distance
Vinpasso Sep 24, 2019
354782e
Move data out of core header and minor lulesh fix
Vinpasso Sep 25, 2019
a5271f5
Fix lulesh options
Vinpasso Sep 25, 2019
5925bde
Reduce message verbosity
Vinpasso Sep 25, 2019
ed26efe
Repartitioning finalization fix and typo
Vinpasso Sep 25, 2019
9994c65
SuperMUC tools for experiments
Vinpasso Oct 6, 2019
aff2289
More instrumentation for benchmarks
Vinpasso Oct 6, 2019
d79c2f3
More visualizations for thesis
Vinpasso Oct 6, 2019
2555d56
Only set error handler if failure check is activated
Vinpasso Oct 6, 2019
fead5b5
Externalize fault tolerance options
Vinpasso Oct 6, 2019
e46ae36
Ignore data in main repo
Vinpasso Oct 6, 2019
3843c09
Data and output
Vinpasso Oct 6, 2019
d453354
Improvements to supermuc tests
Vinpasso Oct 6, 2019
0020092
Remove fortran mpi header accidentally included
Vinpasso Oct 6, 2019
de78303
Fix lulesh and osu utils to make option parsing work
Vinpasso Oct 6, 2019
b441a82
Add live visualizer using pyplot
Vinpasso Oct 7, 2019
29ef9b0
Update SuperMUC setup
Vinpasso Oct 7, 2019
326f13e
Implement binary PPM export
Vinpasso Oct 7, 2019
a5b2cf6
Updated thesis graphics output
Vinpasso Oct 7, 2019
49025fd
Fix printf format specifier not compiling on 32 bit
Vinpasso Oct 8, 2019
5957667
Change asserts to use correct size literals
Vinpasso Oct 8, 2019
8a6285b
Use correct string format specifier for uint64_t
Vinpasso Oct 8, 2019
60e6b50
Remove dependency on openssh
Vinpasso Oct 8, 2019
ff69a98
Fix more format specifiers
Vinpasso Oct 8, 2019
93ff26e
Fix more format specifiers in LULESH
Vinpasso Oct 8, 2019
8e006b4
Changes from demo + revert (comment out) of changes from demo
Vinpasso Oct 14, 2019
217241f
MaiMUC launch visualizer
Vinpasso Oct 14, 2019
940de35
Update supermuc tools for maimuc
Vinpasso Oct 14, 2019
3c30832
Changes from MaiMUC Export
Vinpasso Oct 14, 2019
06bcfef
Remove visualization again
Vinpasso Oct 14, 2019
5d0f535
Ensure number of arguments option parsing
Vinpasso Oct 15, 2019
675da21
Adapt benchmarks for improved option parsing
Vinpasso Oct 15, 2019
60e8da0
Restart time experiment setup and graphics
Vinpasso Oct 15, 2019
3c446a4
Include ability to export statistics
Vinpasso Oct 16, 2019
0885d1d
Include ability to export statistics, include csv results
Vinpasso Oct 16, 2019
560ea89
Jac2D example etc
Vinpasso Oct 16, 2019
439c82f
Changes for experimentation
Vinpasso Oct 18, 2019
2f41c49
Experiment updates
Vinpasso Oct 18, 2019
c9bbbbd
Add checkpointing to OSU
Vinpasso Oct 18, 2019
c61e27a
Error handling logging improvements
Vinpasso Oct 18, 2019
71cbaa0
Fix OSU checkpointing
Vinpasso Oct 18, 2019
458d939
Work on experiments
Vinpasso Oct 18, 2019
7b05b66
Bring back unit tests
Vinpasso Oct 19, 2019
ace2f80
Add test for faulty isOk test
Vinpasso Oct 19, 2019
1d954b9
Fix bug in checkpoint bufCopy
Vinpasso Oct 19, 2019
3555613
More unit testing
Vinpasso Oct 19, 2019
b501bfa
Fix silly refactoring notation
Vinpasso Oct 19, 2019
3e8b292
More unit testing
Vinpasso Oct 19, 2019
3d326e7
Avoid messing up sorted slice array
Vinpasso Oct 19, 2019
6e71310
Add a simulated failure test
Vinpasso Oct 19, 2019
aa1eee6
Fix bug where 1D partitioning switch could not handle empty slices
Vinpasso Oct 19, 2019
a43dd75
Improvements to test output
Vinpasso Oct 19, 2019
260fa39
Tests new JAC2D setup
Vinpasso Oct 20, 2019
9fb5de4
Experiment changes new restart time
Vinpasso Oct 20, 2019
06813db
Fixed massive Jac2D test output
Vinpasso Oct 20, 2019
7ba3f27
Fixed header elimination command
Vinpasso Oct 20, 2019
f736cd3
Add restore traces to LULESH
Vinpasso Oct 20, 2019
0ca8bc1
Test scripts and output updates
Vinpasso Oct 20, 2019
cab0a80
Restart time to solution osu and lulesh
Vinpasso Oct 20, 2019
dbe71a9
Laik improved default error handler
Vinpasso Oct 20, 2019
2974509
Remove double implementation of default error handler
Vinpasso Oct 20, 2019
33d4537
Fix Empty slice disaster
Vinpasso Oct 20, 2019
d873427
LULESH test problems
Vinpasso Oct 20, 2019
f25b9b7
Recovery time experiments jac2d and osu
Vinpasso Oct 21, 2019
4fdf627
MA Plots auto-adjust axis for lambda and t
Vinpasso Oct 21, 2019
82cf42e
Changes for recovery experiment
Vinpasso Oct 21, 2019
c0a750b
Introduced fault tolerance active check and fixed lulesh (working)
Vinpasso Oct 25, 2019
f23c5d0
More experiment adjustments
Vinpasso Oct 25, 2019
8926f2f
Unit test for jac2d recovery
Vinpasso Oct 25, 2019
35b4063
Add error check for misconfigured redundancy
Vinpasso Oct 25, 2019
f4cd9a1
Improvements to lulesh and lulesh test case
Vinpasso Oct 25, 2019
48ca118
Add ctest output directory to gitignore
Vinpasso Oct 25, 2019
a416860
Remove explicit loglevel settings
Vinpasso Oct 25, 2019
a1de4d7
Fixed bug lulesh restore missing some data
Vinpasso Oct 25, 2019
85a26c1
Add support for no timers to allow for unit test
Vinpasso Oct 27, 2019
d202fee
Experiment results lulesh tts
Vinpasso Oct 27, 2019
0712903
More experiment output
Vinpasso Oct 27, 2019
cc6118d
Jac2D scaling tests
Vinpasso Oct 27, 2019
a7fca99
Demo and mem output
Vinpasso Oct 30, 2019
f199eca
Fix a bug in laik_free where active mappings were not freed
Vinpasso Oct 30, 2019
d4a82e3
Change debug output to avoid confusion negative slice tag
Vinpasso Oct 30, 2019
f986f4b
Add option to suppress backup slice tag
Vinpasso Oct 30, 2019
a2b5f07
Minor improvements to Jacobi benchmark
Vinpasso Oct 30, 2019
653eb75
Demo memory 2
Vinpasso Oct 30, 2019
39925d0
Update plots to set y-axis to zero where applicable
Vinpasso Oct 31, 2019
349b0e5
Update restart time to solution plot
Vinpasso Nov 3, 2019
431401a
Added MaiMUC demo pictures and exp-window figure
Vinpasso Nov 3, 2019
85b512f
Updated memory plot rendering
Vinpasso Nov 3, 2019
64e1f2b
Scaling so far
Vinpasso Nov 3, 2019
aa9189d
Updated test running tools
Vinpasso Nov 3, 2019
bf101e7
More data and plots
Vinpasso Nov 3, 2019
4b7dc6e
Plot updates
Vinpasso Nov 4, 2019
8d4f192
Version submitted to proof-readers
Vinpasso Nov 5, 2019
c04b8e1
GraphicX update
Vinpasso Nov 12, 2019
9a39dd9
Scaling add missing larger samples
Vinpasso Nov 12, 2019
5df84f0
Graphing tools updates
Vinpasso Nov 12, 2019
034563d
Timeshift adjustments
Vinpasso Nov 12, 2019
83628f8
More updates for data and graphs
Vinpasso Nov 12, 2019
b3365a4
timeshift corrections
Vinpasso Nov 12, 2019
391a736
More timeshift corrections
Vinpasso Nov 12, 2019
310c3e6
MA-Plots update
Vinpasso Nov 14, 2019
9c745e9
Add safeguard against null instances error handler
Vinpasso Dec 4, 2019
ca6c38c
Improvements from Kolloquium
Vinpasso Dec 6, 2019
b90d5df
Tools and graphs update
Vinpasso Dec 6, 2019
348d19e
Move experiment tools to data repository
Vinpasso Dec 6, 2019
e4ef284
Cleanup root directory, move tools to experiments
Vinpasso Dec 6, 2019
054cddd
Remove deprecated example
Vinpasso Dec 6, 2019
f47273b
Merge branch 'master' of github.com:envelope-project/laik
Vinpasso Dec 6, 2019
7740f60
Remove deleted test case from build files
Vinpasso Dec 6, 2019
d97aa1b
Update cmake list to reflect changes to source
Vinpasso Dec 6, 2019
3b0f682
Fix compiler errors from API changes
Vinpasso Dec 6, 2019
0dfe35b
Ensure using ULFM backend is optional
Vinpasso Dec 7, 2019
bf6f4b2
Remove outdated code and ensure using ULFM backend is optional
Vinpasso Dec 7, 2019
948646b
Remove some outdated code
Vinpasso Dec 7, 2019
6649006
Add some todos
Vinpasso Dec 7, 2019
6d938fe
Refactor unnecessary arguments out of checkpoint_create
Vinpasso Dec 7, 2019
1a66a3b
Fixed malloc incorrect size in checkpoint.c
Vinpasso Dec 7, 2019
f85e298
Refactoring and documentation of checkpointing facilities
Vinpasso Dec 7, 2019
5884cb9
More documentation for checkpointing facilities
Vinpasso Dec 7, 2019
a599527
Fix missing newline in argument not understood message jac2d
Vinpasso Dec 7, 2019
9a50604
Fix test case jac2d-ft
Vinpasso Dec 7, 2019
32999b6
Update testcase compatibility with make
Vinpasso Dec 7, 2019
f88bb31
Removed/moved test scripts
Vinpasso Dec 7, 2019
5209ae3
Improve folder structure compliance
Vinpasso Dec 7, 2019
8d07b98
Update build systems for modified folder structure
Vinpasso Dec 7, 2019
969b4ec
Updates to test cases and build systems
Vinpasso Dec 7, 2019
d2748b6
Externalize ULFM into its own backend
Vinpasso Dec 13, 2019
9f1fd68
Remove laik lulesh from main repository
Vinpasso Dec 13, 2019
4fffbd2
Guard ULFM backend by using ifdef to avoid error when missing
Vinpasso Dec 13, 2019
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
9 changes: 9 additions & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@ compile_commands.json
/build*/
*.so.dSYM/
/messungen/
*.exe
.idea
/lib/
/cmake-build-*
*.asv
out/
output/
Testing/
laik_experiments/
10 changes: 7 additions & 3 deletions CMakeLists.txt
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Set the project name
project ("laik")

# Set the minimal CMake version required
cmake_minimum_required (VERSION 3.5)

# Set the project name
project ("laik")

# Enable testing with CMake's CTest
enable_testing ()

#set(CMAKE_VERBOSE_MAKEFILE ON)

# Set some global defaults
add_compile_options (
"-pedantic"
Expand Down Expand Up @@ -87,3 +89,5 @@ add_subdirectory ("tests")
add_subdirectory ("tests/mpi")
add_subdirectory ("tests/tcp")
add_subdirectory ("tests/src")
add_subdirectory ("tests/fault-tolerance")
add_subdirectory ("tests/unit_tests/")
7 changes: 7 additions & 0 deletions Makefile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ SRCS += $(wildcard $(SDIR)src/backends/tcp/*.c)
IFLAGS += $(TCP_INC)
LDLIBS += $(TCP_LIBS)
endif

# Build fault tolerance
SRCS += $(wildcard $(SDIR)src/fault-tolerance/*.c)

HEADERS = $(wildcard $(SDIR)include/*.h $(SDIR)include/laik/*.h)
OBJS = $(SRCS:$(SDIR)%.c=%.o)

Expand Down Expand Up @@ -63,6 +67,9 @@ examples: $(LAIKLIB)
examples/c++: $(LAIKLIB)
cd examples/c++ && $(MAKE)

tests/fault-tolerance: $(LAIKLIB)
cd tests/fault-tolerance && $(MAKE)


# tests
test: examples testbins
Expand Down
2 changes: 2 additions & 0 deletions examples/CMakeLists.txt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ if (openmp-examples)
message (FATAL_ERROR "Dependency check for option 'openmp-examples' failed, stopping!")
endif ()
endif ()

add_subdirectory("fault-tolerance")
Empty file modified examples/Makefile
100644 → 100755
Empty file.
Empty file modified examples/c++/Makefile
100644 → 100755
Empty file.
20 changes: 20 additions & 0 deletions examples/fault-tolerance/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Build the C examples
foreach (test
"checkpoint-jac2d-recovery"
"checkpoint-partitioner"
"checkpoint-mandelbrot-recovery"
)

add_executable ("${test}"
"${test}.c"
"util/fault-tolerance-options.h"
"util/fault-tolerance-options.c"
)

target_link_libraries ("${test}"
PRIVATE "laik"
PRIVATE "m"
)
endforeach ()

add_subdirectory("osu")
24 changes: 24 additions & 0 deletions examples/fault-tolerance/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# default settings
OPT=-g

# settings from 'configure', may overwrite defaults
-include ../Makefile.config

TESTS = checkpoint checkpoint-jac2d checkpoint-jac2d-recovery checkpoint-mandelbrot-recovery checkpoint-partitioner

CFLAGS = $(OPT) $(WARN) $(DEFS) -std=gnu99 -I$(SDIR)../../include
LAIKLIB = $(abspath ../../liblaik.so)

all: $(TESTS)

%.o: $(SDIR)%.c
$(CC) -c $(CFLAGS) -c $< -o $@

checkpoint: checkpoint.o $(LAIKLIB)
checkpoint-jac2d: checkpoint-jac2d.o $(LAIKLIB)
checkpoint-jac2d-recovery: checkpoint-jac2d-recovery.o $(LAIKLIB)
checkpoint-mandelbrot-recovery: checkpoint-mandelbrot-recovery.o $(LAIKLIB)
checkpoint-partitioner: checkpoint-partitioner.o $(LAIKLIB)

clean:
rm -f *.o *~ *.ppm $(TESTS)
Loading