<div dir="ltr"><div><div><div><div><div><div><span class=""><span name="Gavin Abo" class=""><br>Dear Gavin<br><br></span></span></div><span class=""><span name="Gavin Abo" class=""> Thanks for your reply. I am giving the details of the Makefile of the SRC_lapw file.<br>
<br>SUFFIXES: .F<br>.SUFFIXES: .F90<br>SHELL = /bin/sh<br>FC = ifort<br>MPF = mpif90<br>CC = cc<br>FOPT = -FR -mp1 -w -prec_div -pc80 -pad -align -DINTEL_VML -traceback<br>FPOPT = $(FOPT) -DFFTW2<br>DParallel = '-DParallel'<br>
FGEN = $(PARALLEL)<br>LDFLAGS = $(FOPT) -L/opt/intel/11.0/074/mkl/lib/em64t -pthread -i-static<br>R_LIBS = -lmkl_lapack -lmkl -lguide<br>RP_LIBS = -lmkl_scalapack -lmkl_blacs_lp64 -L/opt/fftw-2.1.5/fftw-install/lib -lfftw2.1.5_mpi -lftw2.1.5 $(R_LIBS)<br>
<br>S_EXECNAME = lapw0<br>P_EXECNAME = lapw0_mpi<br> <br><br><br></span></span></div><span class=""><span name="Gavin Abo" class="">WIth this when I am compiling SRC_lapw i am facing the same error. But with no gfortran error<br>
<br><br>W2kinit.o: In function `w2kinit_':<br>W2kinit.F:(.text+0x133): undefined reference to `vmlsetmode_'<br>make[1]: *** [lapw0] Error 1<br>make[1]: Leaving directory `/home/naushad/attem_install/SRC_lapw0'<br>
make: *** [seq] Error 2<br><br><br></span></span></div><span class=""><span name="Gavin Abo" class="">As it was suggested in the previous mail, my mkl_vml.f file is given below<br><br>/opt/intel/Compiler/11.0/074/mkl/include/<a href="http://mkl_vml.fi">mkl_vml.fi</a><br>
<br><br><br></span></span></div><span class=""><span name="Gavin Abo" class="">Please give me some suggestion.<br><br><br></span></span></div><span class=""><span name="Gavin Abo" class="">Regards<br></span></span></div><span class=""><span name="Gavin Abo" class="">wasim<br>
</span></span><div><div><div><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 8:39 PM, Gavin Abo <span dir="ltr"><<a href="mailto:gsabo@crimson.ua.edu" target="_blank">gsabo@crimson.ua.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Looks like you are using Wien2k 12.1.<br>
<br>
Sequential Build<br>
<br>
a) I see no "-DFFTW2" in your compiler options and "-lfftw" in
your R_LIB for fftw 2.1.5. So I assume you have used <span>the patches to vresp.F </span>
<div>
and <span>fft_modules.F for the fftpack </span>
[<a href="http://zeus.theochem.tuwien.ac.at/pipermail/wien/2012-November/017911.html" target="_blank">http://zeus.theochem.tuwien.ac.at/pipermail/wien/2012-November/017911.html</a>].<br>
<br>
b) Your sequential settings seem to be okay assuming you are
using ifort and mkl 11.0.074 [<a href="http://zeus.theochem.tuwien.ac.at/pipermail/wien/2009-February/012160.html" target="_blank">http://zeus.theochem.tuwien.ac.at/pipermail/wien/2009-February/012160.html</a>].
Regarding "undefined reference to `vmlsetmode_'", I don't know
why you are getting this error. My guess is it might be an
environmental setting problem with a missing path for the mkl
include directory containing "<a href="http://mkl_vml.fi" target="_blank">mkl_vml.fi</a>" [<a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg05385.html" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg05385.html</a>].<br>
<br>
MPI Parallel Build<br>
<br>
c) As Prof. Blaha has said previously on the mailing list:<br>
<br>
Once you installed and can run the sequential version, you can
go on with the mpi-version. But note: it makes sense only if you
have a larger cluster with infiniband network, or a
"super-server" with shared memory and at least 8 cores). We have
a k-point parallel version, which does not need mpi, but is
perfect for a small cluster with a common NFS filesystem. <br>
<br>
If you have the necessary hardware described in c):<br>
<br>
d) You should be using -DFFTW2, not -DFFTW3, in FPOPT and the
path and library in RP_LIBS for fftw 2.1.5.<br>
<br>
e) For fftw 2.1.5, I assume you have applied the additional fix
to fft_modules.F [<a href="http://zeus.theochem.tuwien.ac.at/pipermail/wien/2012-December/018007.html" target="_blank">http://zeus.theochem.tuwien.ac.at/pipermail/wien/2012-December/018007.html</a>].<br>
<br>
f) Regarding "gfortran: error: unrecognized option", you need to
recompile mpich-3.0.3 with ifort instead of gfortran. </div><div class="im">
<br>
On 4/17/2013 12:19 AM, wasim raja Mondal wrote:<br>
</div></div>
<blockquote type="cite">
<div dir="ltr"><div class="im">
<div>Dear wien2k developer<br>
<br>
</div>
I am installing wien2k in ubuntu 11.0 operating system. I chose
ifort and cc compiler. I have given also installed mpich-3.0.3
and fftw 2.1.5 in the system. I have compiled all the program
and check the error message in compile.msg for each program. I
have found error in 12 SRC_* programe and other programe are
successfully installed. For example I giving one error file
given below in the SRC_lapwo programme... please help me.<br>
<br>
ifort -FR -mp1 -w -prec_div -pc80 -pad -align -DINTEL_VML
-traceback -c ykav.f<br></div>
...<div class="im"><br>
ifort -o lapw0 cputim.o modules.o fftpack_helpers.o
fft_modules.o reallocate.o ainv.o am05_xscss.o b88.o blyp.o
brj.o charg2.o charg3.o charge.o chfac.o chslv.o corgga.o
corpbe_revtpss.o corpbe_tpss.o cub_xc_back.o corlsd.o dfxhpbe.o
dfxrevtpss.o dfxtpss.o drho.o dylm.o efg.o energy.o epot1.o
eramps.o errclr.o errflg.o ev92.o ev92ex.o exch.o exch17.o
fithi.o fxhpbe.o fx_revtpss.o fx_tpss.o gbass.o gcor.o gea.o
geaex.o getff1.o getfft.o gpoint.o gpointm.o grans.o gtfnam.o
hcth.o htbs.o ifflim.o kcis.o lapw0.o latgen.o multfc.o multsu.o
outerr.o pbea.o pbem.o pbe1.o pbe2.o pbesol.o poissn.o potfac.o
pwxad4.o pwxad5.o qranf.o readstruct.o rean0.o rean1.o rean3.o
rean4.o rhopw.o rotate.o rotdef.o rpbe.o setff0.o setff1.o
setfft.o setff2.o seval.o sevald.o sevaldd.o sevali.o sevalin.o
sicpbe.o sicpbe_revtpss.o sicpbe_tpss.o sogga.o sphbes.o
spline.o srolyl.o stern.o sumfac.o suml.o SymmRot.o th1.o th2.o
vpw91.o vresp.o vs98.o vxc15.o vxc16.o vxc17.o vxc24.o vxc26.o
vxclm2.o vxcpw2.o vxi35.o vxi35a.o wc05.o workf1.o xcener.o
xcpot.o xcpot1.o xcpot3.o ykav.o ylm.o W2kutils.o W2kinit.o
vx_screened.o lyp.o vwn5.o -FR -mp1 -w -prec_div -pc80 -pad
-align -DINTEL_VML -traceback
-L/opt/intel/11.0/074/mkl/lib/em64t -pthread -i-static
-lmkl_lapack -lmkl -lguide<br>
W2kinit.o: In function `w2kinit_':<br>
W2kinit.F:(.text+0x133): undefined reference to `vmlsetmode_'<br>
make[1]: *** [lapw0] Error 1<br>
make[1]: Leaving directory
`/home/naushad/attem_install/SRC_lapw0'<br>
make: *** [seq] Error 2<br>
make: *** No rule to make target `complex'. Stop.<br>
if [ -f .sequential ]; then \<br>
rm -f .sequential modules.o fft_modules.o
reallocate.o energy.o getff1.o getfft.o gtfnam.o lapw0.o rean0.o
rean3.o rean4.o setff1.o setff2.o setfft.o xcpot1.o xcpot3.o
eramps.o W2kinit.o *.mod; \<br>
fi<br>
touch .parallel<br>
make PARALLEL='-DParallel' lapw0_mpi \<br>
FORT=mpif90 FFLAGS=' -FR -mp1 -w -prec_div -pc80 -pad
-align -DINTEL_VML -traceback -DFFTW3 '-DParallel''<br>
make[1]: Entering directory
`/home/naushad/attem_install/SRC_lapw0'<br>
mpif90 -FR -mp1 -w -prec_div -pc80 -pad -align -DINTEL_VML
-traceback -DFFTW3 -DParallel -c modules.F<br>
gfortran: error: unrecognized option ‘-prec_div’<br>
gfortran: error: unrecognized option ‘-pc80’<br>
gfortran: error: unrecognized option ‘-pad’<br>
gfortran: error: unrecognized option ‘-align’<br>
gfortran: error: unrecognized option ‘-traceback’<br>
make[1]: *** [modules.o] Error 1<br>
make[1]: Leaving directory
`/home/naushad/attem_install/SRC_lapw0'<br>
make: *** [para] Error 2<br>
<br>
</div></div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Wien mailing list
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a>
SEARCH the MAILING-LIST at: <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
SEARCH the MAILING-LIST at: <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
<br></blockquote></div><br></div></div></div></div></div></div></div></div>