[Pw_forum] compilation error in iotk

Bhagawan Sahu brsahu at physics.utexas.edu
Tue May 9 20:21:02 CEST 2006


Dear Alex and Paolo,

 with 32-bit ARCH, the compilation and linking is done. thanx paolo for 
providing the iotk_config.h file and alex for hinting at 32 bit/64 bit 
conflict.

with Andrea/Paolo's comment I removed -D_USE_INTERNAL_FFTW and forced the 
code to use the machine compiled FFTW/2.1.5.

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