LPORDDIR   = $(topdir)/PORD/lib/
IPORD      = -I$(topdir)/PORD/include/
LPORD      = -L$(LPORDDIR) -lpord
IMETIS = -I$(ISSM_DIR)/externalpackages/petsc/install/include/
LMETIS = -L$(ISSM_DIR)/externalpackages/petsc/src/macosx-gnu/lib -L$(ISSM_DIR)/externalpackages/petsc/src/macosx-gnu/lib -lparmetis
ORDERINGSC = -Dpord -Dmetis -Dparmetis
ORDERINGSF = -Dprod -Dmetis -Dparmetis
LORDERINGS  = $(LMETIS) $(LPORD) $(LSCOTCH)
IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOTCH)
IORDERINGSF = $(ISCOTCH)
RM = /bin/rm -f
CC = $(ISSM_DIR)/externalpackages/mpich2/install/bin/mpicc
OPTC    =  -PIC  -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O 
OUTC = -o 
FC = $(ISSM_DIR)/externalpackages/mpich2/install/bin/mpif90
FL = $(ISSM_DIR)/externalpackages/mpich2/install/bin/mpif90
OPTF    =  -fPIC  -Wno-unused-variable -Wno-unused-dummy-argument -O  
OUTF = -o 
CDEFS   = -DAdd_
AR      = /usr/bin/ar cr 
LIBEXT  = .a
RANLIB  = /usr/bin/ranlib -c
SCALAP  = -L$(ISSM_DIR)/externalpackages/petsc/src/macosx-gnu/lib -L$(ISSM_DIR)/externalpackages/petsc/src/macosx-gnu/lib -lscalapack -L$(ISSM_DIR)/externalpackages/petsc/src/macosx-gnu/lib -L$(ISSM_DIR)/externalpackages/petsc/src/macosx-gnu/lib -lblacs
INCPAR  = -I$(ISSM_DIR)/externalpackages/mpich2/install/include -I$(ISSM_DIR)/externalpackages/mpich2/install/include
LIBPAR  = $(SCALAP) 
INCSEQ  = -I$(topdir)/libseq
LIBSEQ  =  $(LAPACK) -L$(topdir)/libseq -lmpiseq
LIBBLAS = -L$(ISSM_DIR)/externalpackages/petsc/src/macosx-gnu/lib -L$(ISSM_DIR)/externalpackages/petsc/src/macosx-gnu/lib -lflapack -L$(ISSM_DIR)/externalpackages/petsc/src/macosx-gnu/lib -L$(ISSM_DIR)/externalpackages/petsc/src/macosx-gnu/lib -lfblas -L$(ISSM_DIR)/externalpackages/mpich2/install/lib -L/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 -L/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 -L/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1 -L/usr/llvm-gcc-4.2/lib/gcc -L$(ISSM_DIR)/externalpackages/petsc/src -L$(ISSM_DIR)/externalpackages/hdf5/install/lib -L$(ISSM_DIR)/externalpackages/netcdf/install/lib -L/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1 -L/usr/llvm-gcc-4.2/lib -L/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib -lmpichf90 -lgfortran -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin11/4.6.2 -L/usr/local/gfortran/lib -lgfortran -lgcc_ext.10.5 -lquadmath -lm -lm
OPTL    = -O -I.
INCS = $(INCPAR)
LIBS = $(LIBPAR)
LIBSEQNEEDED =
