[Pw_forum] compilation error in iotk

Bhagawan Sahu brsahu at physics.utexas.edu
Tue May 9 19:14:31 CEST 2006


Alex,

It does give

 Modules/path_base.o: ELF 32-bit LSB relocatable, Intel 80386, version
1 (GNU/Linux), not stripped
 
I used 

setenv ARCH linux64 before invoking the ./configure step. It does pick up
the linux64 architecture.

checking build system type... i686-pc-linux-gnu
checking architecture... linux64
checking for mpif90... mpif90
checking for Fortran 77 compiler default output... a.out
checking whether the Fortran 77 compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU Fortran 77 compiler... no
checking whether mpif90 accepts -g... yes
checking version of mpif90... ifort 8.1
checking for ifort... ifort
checking whether we are using the GNU Fortran 77 compiler... no
checking whether ifort accepts -g... yes
setting F90... ifort
setting MPIF90... mpif90
checking for mpicc... mpicc
checking whether we are using the GNU C compiler... yes
checking whether mpicc accepts -g... yes
checking for mpicc option to accept ANSI C... none needed
checking for mpif77... mpif77

At this I am not sure whetner the f77 f90 compilers it picks up under 
LINUX 64 architechture is 32 bit or 64 bit. but path.o shows it to be 32 
bit.

I am checking with the sysad about this. I guess if I compile with 32 bit
then the problem will not be there

Sahu

On Tue, 9 May 2006, Axel Kohlmeyer wrote:

> On 5/9/06, Bhagawan Sahu <brsahu at physics.utexas.edu> wrote:
> >
> > Hi,
> >
> >  It worked. But it gives error in momery.f90.
> 
> [...]
> 
> > ../Modules/wave_base.o ../Modules/timestep.o ../Modules/xml_io_base.o
> > ../flib/ptools.a ../flib/flib.a ../clib/clib.a ../iotk/src/libiotk.a
> > -L/opt/intel/mkl721/lib/em64t -lmkl_lapack -L/opt/intel/mkl721/lib/em64t
> > -lmkl_em64t -lguide -lpthread -L/opt/apps/fftw/fftw-3.0.1/lib -lfftw3
> > /opt/intel/mkl721/lib/em64t/libmkl_lapack.a: could not read symbols: File
> > format not recognized
> > make[1]: *** [memory.x] Error 1
> > make[1]: Leaving directory `/work/eefz340/sahu/espresso-3.0/PW'
> > make: *** [pw] Error 2
> 
> seems like you have the 32-bit version of the compiler installed
> and thus you need to change your make.sys file and the library
> paths.
> ~
> to confirm the compiler type try, e.g.:
> file Modules/path_base.o
> 
> with 32bit you'd get:
> Modules/path_base.o: ELF 32-bit LSB relocatable, Intel 80386, version
> 1 (GNU/Linux), not stripped
> 
> on opteron you'd get instead:
> Modules/path_base.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1
> (GNU/Linux), not stripped
> 
> regards,
>      axel.
> 
> > _____________________
> >
> >
> > Sahu
> >
> 
> 
> --
> =======================================================================
> Axel Kohlmeyer   akohlmey at cmm.chem.upenn.edu   http://www.cmm.upenn.edu
>   Center for Molecular Modeling   --   University of Pennsylvania
> Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
> tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
> =======================================================================
> If you make something idiot-proof, the universe creates a better idiot.
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
> 




More information about the users mailing list