[Wien] compilation problem IBM p5 AIX5.3

Torsten Andersen thor at physik.uni-kl.de
Fri Sep 15 13:56:04 CEST 2006


Dear Ricardo,

my advice: REMOVE ALL 32-bit objects and create their 64-bit equivalents 
with -q64. It is not necessary to mix 32-bit and 64-bit.

32-Bit is obsolete, outdated, stonehenge technology and will only slow 
things down.

I hope you will get it to work now.

Best regards,
Torsten Andersen.


Ricardo Faccio wrote:
> Dear Torsten and Roberto 
> Thanks for your answers,  but I tried the compilation and I have 
> obtained errors again . 
> This is what we did in order to obtain the smallest amount of errors: 
> a) make the liblapack and libblas libraries by hand, with the following 
> options: 
> #------------------------------------------------------------------------------  
> 
> FC = xlf90 
> FOPT     = -q64 -O3 -qcache=auto -qhot -qtune=auto -qarch=power5 -qstrict 
> FGEN     = 
> DESTDIR  = ../liblapack_lapw.a (Similar options were used for making 
> libblas) 
> #------------------------------------------------------------------------------  
> 
> b) After this we need to execute by hand: 
> ar -rv -X32_64 ../liblapack_lapw.a lapack_lapw1.o zhpev.o zhpevx.o 
> zladiv.o zlazro.o dlap 
> y2.o dlapy3.o, where it is necessary to include the *-X32_64*  
> The problem seems to be related with 32 bit versus 64 bit *.o files that 
> need to be included in a common library. Am I right ? 
> After this almost all the main programs were successfully compiled.
> The final output-file after the compilation is attached to this email.
> For example, in the case of SRC_aim, the compile.msg is:
> 1586-119 (U) The 32-bit file "d1mach.o" is being linked in 64-bit mode, 
> or vice versa.
> make: 1254-004 The error code from the last command is 1.
> Once again the problem is related with 32bit vs 64bit generated files.
> Any advice?
> Thank you very much (again!)
> Regards
> Ricardo
>  
>  
>  
> -------------------------------------------------------------------------
> -----   Ing. Quím. Ricardo Faccio
>  
> Mail: Cryssmat-Lab., Cátedra de Física, DETEMA
> Facultad de Química, Universidad de la República
>      Av. Gral. Flores 2124, C.C. 1157
>      C.P. 11800, Montevideo, Uruguay.
> E-mail: rfaccio at fq.edu.uy <mailto:rfaccio at fq.edu.uy>
> Phone: 598 2 9241860 Int. 109
>            598 2 9290705
> Fax:    598 2 9241906
> Web:  http://cryssmat.fq.edu.uy/ricardo/ricardo.htm
> ----- Original Message -----
> From: "Roberto Iglesias" <roberto.iglesias at psi.ch 
> <mailto:roberto.iglesias at psi.ch>>
> To: "A Mailing list for WIEN2k users" <wien at zeus.theochem.tuwien.ac.at 
> <mailto:wien at zeus.theochem.tuwien.ac.at>>
> Sent: Thursday, September 14, 2006 3:49 AM
> Subject: Re: [Wien] compilation problem IBM p5 AIX5.3
> 
>  > Hello Ricardo
>  >
>  >  To add on what Torsten wrote, we had some problems with compiling in 
> an IBMSP4 machine and the responsible
>  > finally used these settings:
>  >
>  > current:FOPT:-q64 -O5  -qarch=pwr4 -qtune=pwr4 -qcache=auto -qstrict
>  > current:FPOPT:-q64 -O5 -qarch=pwr4 -qtune=pwr4 -qcache=auto -qstrict
>  > current:LDFLAGS:-q64 -O5 -qipa=missing=isolated -L../SRC_lib
>  > current:DPARALLEL:'-WF,-DParallel'
>  > current:R_LIBS:-lessl -llapack_lapw
>  > current:RP_LIBS:-L/apps/scalapack/lib -lscalapack_pwr4_64
>  > /apps/scalapack/lib/blacs_MPI-pwr4_64-0.a
>  > /apps/scalapack/lib/blacsF77init_MPI-pwr4_64-0.a
>  >
>  > Hope it helps
>  >
>  > Roberto
>  >
>  >
>  > ------------------------------------------
>  > Roberto Iglesias
>  > High Temperature Materials Project
>  > Laboratory for Materials Behaviour
>  > Nuclear Energy and Safety Department
>  > OHLD/013
>  > PAUL SCHERRER INSTITUT
>  > CH-5232 Villigen PSI
>  > phone: +41 (0)56 310 54 81
>  > fax:   +41 (0)56 310 35 65
>  > e-mail: roberto.iglesias at psi.ch <mailto:roberto.iglesias at psi.ch>
>  > Internet: www.psi.ch <http://www.psi.ch>
>  > -----------------------------------------
>  >
>  >
>  >
>  > Torsten Andersen wrote:
>  >> Hello Ricardo,
>  >>
>  >> try this in the lapack_lapw Makefile:
>  >>
>  >> FOPT = -q64 -O3 -qcache=auto -qhot -qtune=auto -qarch=power5 -qstrict
>  >>
>  >> I think that the -qstrict is the most important option here.
>  >>
>  >> You can safely remove the -bmaxdata option, since it is useless anyway
>  >> in 64-bit mode.
>  >>
>  >> Best regards,
>  >> Torsten Andersen.
>  >>
>  >>
>  >> Ricardo Faccio wrote:
>  >>> Dear Wien users:
>  >>> I am trying to install Wien2k04_06 in a IBM power5, AIX 5.3 with the
>  >>> following software:
>  >>> -ESSL4
>  >>> -XLF90
>  >>> -XLC
>  >>> I follow the instructions on the web
>  >>> (http://www.wien2k.at/reg_user/faq/ibm.html) including some 
>  >>> recomendations of siteconfig_lapw.
>  >>> The settings were:
>  >>> # Compiler options are: -q64 -O5 -qarch=power5
>  >>> # Linker options are: -q64 -O5 -qipa=missing=isolated -L../SRC_lib
>  >>> -bmaxdata:0x80000000
>  >>> # Flags: -lessl -llapack
>  >>> After this I had too many errors
>  >>> Then I tried to edit the makefile of the lapack library separatly in
>  >>> order to be compiled with the following settings:
>  >>>
>  >>> 
> ###############################################################################
>  >>>
>  >>> FC= xlf90
>  >>>
>  >>> FOPT = -q64 -O5 -qarch=power5 /  FOPT = -O5 -qarch=power5 / FOPT = -O3
>  >>> -qarch=power5
>  >>>
>  >>> GEN =
>  >>>
>  >>> DESTDIR = ../
>  >>>
>  >>> LIBNAME = liblapack_lapw.a
>  >>>
>  >>> 
> ###############################################################################
>  >>>
>  >>> and I had to many errors again. I guess the problem is related with 
> the
>  >>> lapack library (that can't be compiled in -q64 and can be
>  >>> ¿¿succesfully?? compiled with the -q32 option); beacause after this 
> all
>  >>> the routines such as lapw1, lapw2, etc that uses lapack could not be
>  >>> compiled.
>  >>> Any advice?
>  >>> Thanks in advance
>  >>> Ricardo
>  >>> 
> -------------------------------------------------------------------------
>  >>> -----   Ing. Quím. Ricardo Faccio
>  >>> 
>  >>> Mail: Cryssmat-Lab., Cátedra de Física, DETEMA
>  >>> Facultad de Química, Universidad de la República
>  >>>      Av. Gral. Flores 2124, C.C. 1157
>  >>>      C.P. 11800, Montevideo, Uruguay.
>  >>> E-mail: rfaccio at fq.edu.uy <mailto:rfaccio at fq.edu.uy> 
> <mailto:rfaccio at fq.edu.uy>
>  >>> Phone: 598 2 9241860 Int. 109
>  >>>            598 2 9290705
>  >>> Fax:    598 2 9241906
>  >>> Web:  http://cryssmat.fq.edu.uy/ricardo/ricardo.htm
>  >>>
>  >>>
>  >>> 
> ------------------------------------------------------------------------
>  >>>
>  >>> _______________________________________________
>  >>> Wien mailing list
>  >>> Wien at zeus.theochem.tuwien.ac.at 
> <mailto:Wien at zeus.theochem.tuwien.ac.at>
>  >>> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>  >>
>  > _______________________________________________
>  > Wien mailing list
>  > Wien at zeus.theochem.tuwien.ac.at <mailto:Wien at zeus.theochem.tuwien.ac.at>
>  > http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>  >
> 
> 
> ------------------------------------------------------------------------
> 
> Compile time errors (if any) were:
> SRC_aim/compile.msg:** xerror   === End of Compilation 17 ===
> SRC_aim/compile.msg:make: 1254-004 The error code from the last command is 1.
> SRC_aim/compile.msg:make: 1254-004 The error code from the last command is 2.
> SRC_aim/compile.msg:** xerror   === End of Compilation 17 ===
> SRC_aim/compile.msg:make: 1254-004 The error code from the last command is 1.
> SRC_aim/compile.msg:make: 1254-004 The error code from the last command is 2.
> SRC_balsac-utils/compile.msg:make: 1254-004 The error code from the last command is 2.
> SRC_balsac-utils/compile.msg:make: 1254-005 Ignored error code 2 from last command.
> SRC_broadening/compile.msg:make: 1254-004 The error code from the last command is 1.
> SRC_cif2struct/compile.msg:make: 1254-004 The error code from the last command is 1.
> SRC_clmcopy/compile.msg:1586-494 (U) INTERNAL COMPILER ERROR: Signal 11.
> SRC_clmcopy/compile.msg:make: 1254-004 The error code from the last command is 251.
> SRC_elast/compile.msg:make: 1254-004 The error code from the last command is 2.
> SRC_elast/compile.msg:make: 1254-005 Ignored error code 2 from last command.
> SRC_eosfit/compile.msg:make: 1254-004 The error code from the last command is 2.
> SRC_eosfit/compile.msg:make: 1254-005 Ignored error code 2 from last command.
> SRC_eosfit6/compile.msg:make: 1254-004 The error code from the last command is 2.
> SRC_eosfit6/compile.msg:make: 1254-005 Ignored error code 2 from last command.
> SRC_eosfit6/compile.msg:1586-346 (U) An error occurred during code generation.  The code generation return code was 40.
> SRC_eosfit6/compile.msg:make: 1254-004 The error code from the last command is 1.
> SRC_fsgen/compile.msg:make: 1254-004 The error code from the last command is 2.
> SRC_fsgen/compile.msg:make: 1254-005 Ignored error code 2 from last command.
> SRC_mini/compile.msg:make: 1254-004 The error code from the last command is 1.
> SRC_optimize/compile.msg:make: 1254-004 The error code from the last command is 2.
> SRC_optimize/compile.msg:make: 1254-005 Ignored error code 2 from last command.
> SRC_pairhess/compile.msg:make: 1254-004 The error code from the last command is 1.
> SRC_phonon/compile.msg:make: 1254-004 The error code from the last command is 2.
> SRC_phonon/compile.msg:make: 1254-005 Ignored error code 2 from last command.
> SRC_structeditor/compile.msg:make: 1254-004 The error code from the last command is 2.
> SRC_structeditor/compile.msg:make: 1254-004 The error code from the last command is 2.
> SRC_trig/compile.msg:make: 1254-004 The error code from the last command is 2.
> SRC_trig/compile.msg:make: 1254-005 Ignored error code 2 from last command.
> 
> 
> 
>      Press RETURN to continue
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien

-- 
Dr. Torsten Andersen        TA-web: http://deep.at/myspace/
AG Hübner, Department of Physics, Kaiserslautern University
http://cmt.physik.uni-kl.de    http://www.physik.uni-kl.de/


More information about the Wien mailing list