forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Resul Eryigit <resul@ibu.edu.tr>
- To: forum@abinit.org
- Subject: Re: [abinit-forum] abinit on AMD 64 opteron
- Date: Wed, 11 May 2005 07:52:38 +0300
Yash Yourd wrote:
Dear Abinit users,probably you are trying to link 64 bit libs with 32 bit compiled routines..(you need ifort for emt64 for 64 bit compilation) check one of the object files in Src_main like:
I am havingh hard time compiling abinit on my AMD
opteron.
I use Intel compilers version 8.1 and mkl_lib version
7.2
This is unsual and I have not seen this before.
I use following makefile_macros:
=====================================
# Machine type
MACHINE=P6
# Fortran optimized compilation
FC=LANG= /opt/intel_fc_80/bin/ifort
FFLAGS=-FR -O2 -xW -tpp7 -ip FFLAGS_LIBS=-O3 -xW -tpp7 -ip FLINK= -static
LIBS=-L/opt/intel/mkl721/lib/em64t -lmkl_lapack
-lmkl_em64t -lguide -lpthread -static
# C preprocessor, used to preprocess the fortran
source.
CPP=/lib/cpp
CPP_FLAGS=-P -traditional -D__IFC
# The cpp directive CHGSTDIO changes the standard I/O
definition
# Uncomment the next line for this to happen.
#CPP_FLAGS=-P -DCHGSTDIO
# C optimized compilation.
CC=cc
CFLAGS=-O
# Location of perl . Used to generate the script
fldiff, in ~ABINIT/Utilities .
PERL=/usr/bin/perl
# List of machine-dependent routines
MACHINE_DEP_C_SEQ_SUBS_LIST=etime.o
=======================================
It seems that everything go well until it is time to
generate binary abinis and I get
chmod ugo+rx abinis
ld: skipping incompatible
/opt/intel/mkl721/lib/em64t/libmkl_lapack.a when
searching for -lmkl_lapack
ld: cannot find -lmkl_lapack
chmod: cannot access `abinis': No such file or
directory
But this directory have all Lapack libs.
I tried to make static link to the one provided by
abinit and than I get a lot of warning messages like
ld: warning: i386:x86-64 architecture of input file
`Src_0basis/ar_0basis.a(etime.o)' is incompatible with
i386 output
which ends with
ifort: error: Fatal error in ld, terminated by
segmentation violation
echo " abinis has been made " ; echo " "
abinis has been made
"file newsp.o"
should give something like
"newsp.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped"
if not, you should download and install 64 bit ifort.. of course linking to 32 bit mkls is another option.
resul
but it is
-rwxr-xr-x 1 yashar users 0 2005-05-10 16:22 abinis
empty
I also tried to use other lapack versions but I
recieve the same error
I appreciate all help
Thanks yashar
__________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail
- abinit on AMD 64 opteron, yourdsah, 05/09/2005
- Re: [abinit-forum] abinit on AMD 64 opteron, Resul Eryigit, 05/10/2005
- Re: [abinit-forum] abinit on AMD 64 opteron, Yash Yourd, 05/10/2005
- Re: [abinit-forum] abinit on AMD 64 opteron, Yash Yourd, 05/10/2005
- Re: [abinit-forum] abinit on AMD 64 opteron, Resul Eryigit, 05/11/2005
- Re: [abinit-forum] abinit on AMD 64 opteron, Resul Eryigit, 05/10/2005
Archive powered by MHonArc 2.6.16.