Hi every body !
Recently I am trying to compile the smp version of exciting executable.
I use Intel Ifort 2011 with MKL on Suse Linux Enterprise Desktop 11 SP2 .
I have also seen the previous posts about the problems of parallel compilation but I couldn't figure out why mine isn't working properly !!!
herec is my make.inc file :
F90_OPTS = -O3 -ip -unroll -scalar_rep
CPP_ON_OPT = -cpp -DXS -DISO -DTETRA -DLIBXC
F77_OPTS = -O3
LIB_LPK = -mkl=sequential
LIB_FFT = fftlib.a
LIBS= $(LIB_ARP) $(LIB_LPK) $(LIB_FFT) $(LIB_BZINT)
F90_DEBUGOPTS=-g -debug all -implicitnone -warn unused -fp-stack-check -heap-arrays -ftrapuv -check pointers -check bounds
F77_DEBUGOPTS=-g -debug all -implicitnone -warn unused -fp-stack-check -heap-arrays -ftrapuv -check pointers -check bounds
#Ignore if you don't have MPI or smplibs
MPIF90_OPTS=$(F90_OPTS) $(CPP_ON_OPT) -DMPI -DMPIRHO -DMPISEC
SMP_LIBS=$(LIB_ARP) -mkl=parallel $(LIB_FFT) $(LIB_BZINT)
MPISMPF90_OPTS=$(SMPF90_OPTS) -DMPI -DMPIRHO -DMPISECBUILDMPI=false
The compilation is completed without errors and the executables "excitingser" and "excitingsmp" are created.
"excitingser" works correctly but "excitingspm" can not see the cores (I'm using intel core i7 ivy bridge-Quad core) and run on 1 core.
I don't know is there any other configuration that I have forgotten or missed or what something else should I do ? I also export OMP_NUM_THREADS= 4 or 8 before running excitingsmp but the problem is still exist and the executable run only on a single core.
I mean there must has been something that I ignored in make.inc or intel MKL configuration or somewhere else ! !