Page 1 of 1

Midway at UChicago

Posted: Tue Oct 14, 2014 7:53 pm
by mgoldey
Qbox working on Midway at Uchicago

Setup - note XERCES-C 2.8 set up same as under Mint

Code: Select all

module load intel mkl intelmpi fftw3/3.3+intelmpi-4.0+intel-12.1
export XERCESCROOT=/project/gagalli/vanilla_software/xerces-c-src_2_8_0
export FFTWROOT=/software/fftw3-3.3-el6-x86_64+intelmpi-4.0+intel-12.1/
Makefile

Code: Select all

PLTOBJECTS = readTSC.o

 XERCESCDIR = $(XERCESCROOT)
 FFTWDIR =$(FFTWROOT)

 CXX=mpicxx
 LD=$(CXX)

 OPT = -O3  -ipo
 OMP = -openmp

 PLTFLAGS += $(OPT) $(OMP) -DIA32 -DUSE_FFTW3 -D_LARGEFILE_SOURCE \
           -D_FILE_OFFSET_BITS=64 -DUSE_MPI -DSCALAPACK -DADD_ \
           -DAPP_NO_THREADS -DXML_USE_NO_THREADS -DUSE_XERCES \
           -DMPICH_IGNORE_CXX_SEEK

 INCLUDE = -I$(FFTWDIR)/include -I$(XERCESCDIR)/include

 CXXFLAGS= -D$(PLT) $(INCLUDE) $(PLTFLAGS) $(DFLAGS)

 LIBPATH = -L$(XERCESCDIR)/lib -L$(FFTWDIR)/lib  -L$(MKLROOT)/lib/intel64

 LIBS =  $(OMP) -lxerces-c  -lfftw3 \
         -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_core \
         -lmkl_intel_thread -lmkl_blacs_intelmpi_lp64 -lpthread -lm

 LDFLAGS = $(LIBPATH) $(LIBS)