Repair all MPI-driven parallel executables
This commit is contained in:
parent
4af687fb03
commit
287107f7e1
Makefile
deprec/src/EXECS
src/EXECS
Heis_DSF_par_Prepare.ccHeis_DSF_par_Run.ccHeis_DSF_par_Wrapup.ccLiebLin_DSF_GeneralState_par_Prepare.ccLiebLin_DSF_GeneralState_par_Run.ccLiebLin_DSF_GeneralState_par_Wrapup.ccLiebLin_DSF_MosesState_par_Prepare.ccLiebLin_DSF_MosesState_par_Run.ccLiebLin_DSF_MosesState_par_Wrapup.ccLiebLin_DSF_par_Prepare.ccLiebLin_DSF_par_Run.ccLiebLin_DSF_par_Wrapup.cc
12
Makefile
12
Makefile
|
@ -81,6 +81,17 @@ $(OBJ_DIR)/%.o: %.$(SRC_EXT)
|
|||
$(LIB_DIR)/lib$(VERSION).a : $(OBJECTS)
|
||||
ar -cr $(LIB_DIR)/lib$(VERSION).a $(OBJECTS)
|
||||
|
||||
|
||||
###########################################
|
||||
# Parallel version
|
||||
|
||||
.PHONE: parallel
|
||||
parallel : $(EXECUTABLES_PAR)
|
||||
|
||||
$(EXECUTABLES_PAR): $(BIN_DIR)/%: $(SRC_DIR)/EXECS/%.$(SRC_EXT) $(LIB_DIR)/lib$(VERSION).a
|
||||
$(COMPILE_MPI) $< -o $@ -l$(VERSION)
|
||||
|
||||
|
||||
###########################################
|
||||
# Cleanup
|
||||
|
||||
|
@ -89,6 +100,7 @@ clean :
|
|||
/bin/rm -f $(OBJECTS)
|
||||
/bin/rm -f $(LIB_DIR)/lib$(VERSION).a
|
||||
/bin/rm -f $(EXECUTABLES)
|
||||
/bin/rm -f $(EXECUTABLES_PAR)
|
||||
|
||||
|
||||
###########################################
|
||||
|
|
|
@ -15,6 +15,7 @@ Purpose: Parallel version of ABACUS using MPICH.
|
|||
#include "ABACUS.h"
|
||||
#include "mpi.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace ABACUS;
|
||||
|
||||
int main(int argc, char *argv[])
|
|
@ -15,6 +15,7 @@ Purpose: Parallel version of ABACUS using MPICH.
|
|||
#include "ABACUS.h"
|
||||
//#include "mpi.h" // not needed for Prepare
|
||||
|
||||
using namespace std;
|
||||
using namespace ABACUS;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
|
@ -15,6 +15,7 @@ Purpose: Parallel version of ABACUS using MPICH.
|
|||
#include "ABACUS.h"
|
||||
#include "mpi.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace ABACUS;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
|
@ -14,6 +14,7 @@ Purpose: Parallel version of ABACUS using MPICH.
|
|||
|
||||
#include "ABACUS.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace ABACUS;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
|
@ -15,6 +15,7 @@ Purpose: Parallel version of ABACUS using MPICH.
|
|||
#include "ABACUS.h"
|
||||
//#include "mpi.h" // not needed for Prepare
|
||||
|
||||
using namespace std;
|
||||
using namespace ABACUS;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
|
@ -15,6 +15,7 @@ Purpose: Parallel version of ABACUS using MPICH.
|
|||
#include "ABACUS.h"
|
||||
#include "mpi.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace ABACUS;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
|
@ -15,6 +15,7 @@ Purpose: Parallel version of ABACUS using MPICH.
|
|||
#include "ABACUS.h"
|
||||
//#include "mpi.h" // not needed for Prepare
|
||||
|
||||
using namespace std;
|
||||
using namespace ABACUS;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
|
@ -15,6 +15,7 @@ Purpose: Parallel version of ABACUS using MPICH.
|
|||
#include "ABACUS.h"
|
||||
//#include "mpi.h" // not needed for Prepare
|
||||
|
||||
using namespace std;
|
||||
using namespace ABACUS;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
|
@ -15,6 +15,7 @@ Purpose: Parallel version of ABACUS using MPICH.
|
|||
#include "ABACUS.h"
|
||||
#include "mpi.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace ABACUS;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
|
@ -15,6 +15,7 @@ Purpose: Parallel version of ABACUS using MPICH.
|
|||
#include "ABACUS.h"
|
||||
//#include "mpi.h" // not needed for Prepare
|
||||
|
||||
using namespace std;
|
||||
using namespace ABACUS;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
|
@ -15,6 +15,7 @@ Purpose: Parallel version of ABACUS using MPICH.
|
|||
#include "ABACUS.h"
|
||||
//#include "mpi.h" // not needed for Prepare
|
||||
|
||||
using namespace std;
|
||||
using namespace ABACUS;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
|
@ -15,6 +15,7 @@ Purpose: Parallel version of ABACUS using MPICH.
|
|||
#include "ABACUS.h"
|
||||
#include "mpi.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace ABACUS;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
|
@ -15,6 +15,7 @@ Purpose: Parallel version of ABACUS using MPICH.
|
|||
#include "ABACUS.h"
|
||||
//#include "mpi.h" // not needed for Prepare or Wrapup
|
||||
|
||||
using namespace std;
|
||||
using namespace ABACUS;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
Loading…
Reference in New Issue