1234567891011121314151617181920 |
- FLAGS = -std=c++0x -O2 -g -Wall -fmessage-length=0 -Wreorder -Wwrite-strings -Wsign-compare
- OBJS = GSAT/GSAT.o GSAT/ArrayFiller.o GSAT/CFormula.o
- TARGET = GSATSolver
- all:
- g++ $(FLAGS) -c -o GSAT/GSAT.o GSAT/GSAT.cpp
- g++ $(FLAGS) -c -o GSAT/ArrayFiller.o GSAT/ArrayFiller.cpp
- g++ $(FLAGS) -c -o GSAT/CFormula.o GSAT/CFormula.cpp
- mpic++ -o $(TARGET) Main.cpp $(FLAGS) $(OBJS)
- clean:
- rm -f $(OBJS) $(TARGET)
- rm -rf *.*~
- rm -rf *~
- run:
- @mpirun -n 4 ./GSATSolver -i ../../benchmarks/uf150/uf150-099.cnf
|