restored printing # of cores only for nodes with id >= 1 if world_size > 1
git-svn-id: svn://anubis/gvsu@341 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
1 parent
4caa885007
commit
e314db9dcc
2 files changed
+11
-7
No files matched your search
@@ -2,18 +2,21 @@
|
||||
CXX := mpiCC
|
||||
CXXFLAGS := `sdl-config --cflags` -fopenmp
|
||||
LDFLAGS := `sdl-config --libs` -fopenmp
|
||||
TARGET := mpi-fractals
|
||||
OBJS := mpi-fractals.o
|
||||
OBJS += NewtonComputation.o
|
||||
TARGET1 := mpi-fractals
|
||||
TARGET2 := mpi-fractals-static
|
||||
OBJS := NewtonComputation.o
|
||||
OBJS += FatouComputation.o
|
||||
|
||||
all: $(TARGET)
|
||||
all: $(TARGET1) $(TARGET2)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(TARGET1): $(OBJS) $(TARGET1).o
|
||||
$(CXX) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
$(TARGET2): $(OBJS) $(TARGET2).o
|
||||
$(CXX) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
%.o: %.cc
|
||||
$(CXX) -o $@ -c $< $(CXXFLAGS)
|
||||
|
||||
clean:
|
||||
-rm -f *.o *~ $(TARGET)
|
||||
-rm -f *.o *~ $(TARGET1) $(TARGET2)
|
||||
Reference in new issue
Block a user