<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Wien2k Compilation on AMD Dual Operton under Suse 9.2-64 bit </TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hello<BR>
<BR>
I am new to Wien2k and I have problems on compiling the source code for a dual AMD Opteron system under Suse 9.2<BR>
<BR>
Compiler is intel ifort9, mkl is installed under /opt/intel<BR>
<BR>
Compiler options: -FR -mp -w<BR>
Linker Flags: $(FOPT) -L/opt/intel/mkl80/lib/32 -static<BR>
Preprocessor flags '-DParallel'<BR>
R_LIB (LAPACK+BLAS): -lmkl_lapack -lmkl_ia32 -lguide -lpthread<BR>
<BR>
I used this info from a previous message on AMD Athlon Wien2k installation.<BR>
<BR>
I get:<BR>
<BR>
ld: warning: i386:x86-64 architecture of input file `cputim.o' is incompatible with i386 output<BR>
<BR>
and I get an error as<BR>
<BR>
ifort -o lapw0 cputim.o modules.o reallocate.o ainv.o blyp.o charg2.o charg3.o charge.o chfac.o chslv.o corgga.ocub_xc_back.o corlsd.o dlu.o drho.o dfxhpbe.o dylm.o efg.o energy.o errclr.o errflg.o ev92.o ev92ex.o exch.o exch17.o exrevpbe.o fithi.o fxhpbe.o gbass.o gcor.o gea.o geaex.o getfft.o getff1.o gpoint.o grans.o gtfnam.o hcth.o ifflim.o kcis.o lapw0.o latgen.o multfc.o multsu.o outerr.o pbe1.o poissn.o potfac.o pwxad4.o pwxad5.o qranf.o readstruct.o rean0.o rean1.o rean3.o rean4.o rotate.o rotdef.o setff0.o setff1.o setfft.o setff2.o seval.osevald.o sevaldd.o sevali.o sevalin.o sicpbe.o sphbes.o spline.o srolyl.o stern.o sumfac.o suml.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 workf1.o xcener.o xcpot.o xcpot1.o xcpot3.o ykav.o ylm.o zfft3d.o sicpbe_tpss.o corpbe_tpss.o fx_tpss.o dfxtpss.o rhopw.o b88.o wc05.o -FR -mp -w -L/opt/intel/mkl80/lib/32 -static<BR>
ld: warning: i386:x86-64 architecture of input file `cputim.o' is incompatible with i386 output<BR>
make[1]: Leaving directory `/home/user1/Wien2k/SRC_lapw0'<BR>
make: *** No rule to make target `complex'. Stop.<BR>
if [ -f .sequential ]; then \<BR>
rm -f .sequential modules.o reallocate.o energy.o gtfnam.o lapw0.o *.mod; \<BR>
fi<BR>
touch .parallel<BR>
make PARALLEL='-DParallel' lapw0_mpi \<BR>
FORT=ifort FFLAGS=' -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML '-DParallel''<BR>
make[1]: Entering directory `/home/user1/Wien2k/SRC_lapw0'<BR>
ifort -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -DParallel -c modules.F<BR>
fortcom: Error: modules.F, line 19: Cannot open include file 'mpif.h'<BR>
INCLUDE 'mpif.h'<BR>
------------^<BR>
fortcom: Error: modules.F, line 42: Cannot open include file 'mpif.h'<BR>
INCLUDE 'mpif.h'<BR>
------------^<BR>
fortcom: Error: modules.F, line 20: This name does not have a type, and must have an explicit type. [MPI_STATUS_SIZE]<BR>
ALLOCATE(statusmpi(MPI_STATUS_SIZE))<BR>
-----------------------^<BR>
fortcom: Error: modules.F, line 20: The highest data type rank permitted is INTEGER(KIND=8). [MPI_STATUS_SIZE]<BR>
ALLOCATE(statusmpi(MPI_STATUS_SIZE))<BR>
-----------------------^<BR>
fortcom: Error: modules.F, line 22: This name does not have a type, and must have an explicit type. [MPI_SUCCESS]<BR>
IF(ierr.NE.MPI_SUCCESS) THEN<BR>
---------------^<BR>
fortcom: Error: modules.F, line 26: This name does not have a type, and must have an explicit type. [MPI_COMM_WORLD]<BR>
CALL MPI_COMM_SIZE( MPI_COMM_WORLD, npe, ierr)<BR>
------------------------^<BR>
fortcom: Error: modules.F, line 44: This name does not have a type, and must have an explicit type. [MPI_UNDEFINED]<BR>
icolor1=MPI_UNDEFINED<BR>
------------^<BR>
compilation aborted for modules.F (code 1)<BR>
<BR>
<BR>
Thank you for your help<BR>
<BR>
<BR>
<BR>
Nikolaos Dimakis<BR>
Assistant Professor<BR>
Physics and Geology<BR>
University of Texas-Pan American<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>