###################################################################
-INSTALL_DIR = /users/software/mpich-1.2.7p1_intel-10.1_em64_ssh
-
+#INSTALL_DIR = /users/software/mpich-1.2.7p1_intel-10.1_em64_ssh
+INSTALL_DIR = /users/software/mpich2-1.4.1p1_intel
FC= ifort
FFLAGS2 = -c -g -O0 -I$(INSTALL_DIR)/include
FFLAGSE = -c -O3 -ipo -opt_report -I$(INSTALL_DIR)/include
-
-LIBS = -L$(INSTALL_DIR)/lib -lmpich
+# -lmpl only necessary for mpich2-1.4.1p1_intel
+LIBS = -L$(INSTALL_DIR)/lib -lmpich -lmpl
ARCH = LINUX
PP = /lib/cpp -P
GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
-DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
GAB: BIN = ../../../bin/unres/CSA/unres_csa_ifort_MPICH_GAB.exe
-LIBS = -lpthread -L$(INSTALL_DIR)/lib -lmpich
GAB: ${object}
cc -o compinfo compinfo.c
./compinfo | true