gauss seidel descending

This commit is contained in:
2025-05-14 16:16:29 +02:00
parent a0f7bb8e15
commit 9e130fa992
8 changed files with 90 additions and 19 deletions

View File

@@ -3,6 +3,7 @@
# --------------------------------------------------
CC := gcc
CFLAGS := -Wall -fopenmp -O3
LDFLAGS := -lm
SRCDIR := src
OBJDIR := out
DATAPATH := data/web-Google/web-Google.mtx
@@ -27,9 +28,9 @@ sparse: $(OBJDIR)/sparse | $(OBJDIR)
# --------------------------------------------------
$(OBJDIR)/sparse: $(OBJS) $(DATAPATH) | $(OBJDIR)
@echo "→ Copying input data"
cp $(DATAPATH) $(OBJDIR)/input.rb
cp $(DATAPATH) $(OBJDIR)/input.mtx
@echo "→ Linking $@"
$(CC) $(CFLAGS) -o $@ $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
# --------------------------------------------------
# Compile