[Wien] Compile error on mini

WANG YX wang.yuanxu at nims.go.jp
Mon Sep 13 09:01:13 CEST 2004


Dear Dr. Torsten Andersen,

I found enev if i use "cc -q64" as C compiler,It is no use for mdble.c 
I must enter the SRC_mini director and "rm mdble.o" and then use "cc -q64 -O -c mdble.c" and then "make". The error is disappear.

	

Best 
WANG YX
National Institute for Materials Science
Computational Materials Science Center
Namiki 1-1, Tsukuba 305-0044, Japan
Phone +81-29-8513354-8092; Fax +81-29-8531207
wang.yuanxu at nims.go.jp
2004-09-13


======= 2004-09-13 15:35:40 you wrote=======

>Dear Mr. Wang,
>
>so this is a Hitachi system with AIX5L and a Hitachi Fortran compiler. I 
>just assumed it was an IBM compiler - silly me. Unfortunately then, I am 
>not able to help further with the compiler itself.
>
>However, it could be that you are linking to some precompiled 32-bit 
>libraries. Make sure that you select 64-bit libraries, for example by 
>including the -q64 in the LDFLAGS.
>
>I will stand by the statement I made earlier that the problem seems to 
>be that you mix 32-bit and 64-bit objects.
>
>Best regards,
>Torsten Andersen.
>
>
>WANG YX wrote:
>> Dear Torsten Andersen,
>> 
>> The system :
>> 
>> HITACHI SR11000
>> AIX 5L
>> IBM loadLeveler for AIX5L
>> IBM XL Fortran Runtime Environment for AIX V7
>> Fortran compiler: f90
>> 
>> Best 
>> WANG YX
>> National Institute for Materials Science
>> Computational Materials Science Center
>> Namiki 1-1, Tsukuba 305-0044, Japan
>> Phone +81-29-8513354-8092; Fax +81-29-8531207
>> wang.yuanxu at nims.go.jp
>> 2004-09-13
>> 
>> 
>> ======= 2004-09-10 19:34:16 you wrote=======
>> 
>> 
>>>Dear Mr. Wang,
>>>
>>>I just assumed that you had a fairly recent system and compiler. If this 
>>>option does not exist when you use xlf90 as your compiler, we need to 
>>>know in a bit more detail which IBM system you are using, i.e., hardware 
>>>architecture, operating system and version, compiler version, and so 
>>>on... (for example: IBM p630 Power4+, AIX 5.2, xlf 8.1.1.1)
>>>
>>>You are mixing 32-bit and 64-bit objects in the setting you reported, 
>>>and that has to be switched to 64-bit only (or 32-bit only)...
>>>
>>>Best regards,
>>>Torsten Andersen.
>>>
>>>WANG YX wrote:
>>>
>>>>Dear Dr. Torsten Andersen,
>>>>
>>>>when i use "-qarch=pwr4"
>>>>the error "no option -qarch"
>>>>
>>>>
>>>>
>>>>	
>>>>
>>>>Best 
>>>>WANG YX
>>>>National Institute for Materials Science
>>>>Computational Materials Science Center
>>>>Namiki 1-1, Tsukuba 305-0044, Japan
>>>>Phone +81-29-8513354-8092; Fax +81-29-8531207
>>>>wang.yuanxu at nims.go.jp
>>>>2004-09-10
>>>>
>>>>
>>>>======= 2004-09-10 15:41:20 you wrote=======
>>>>
>>>>
>>>>
>>>>>Dear Mr. Wang,
>>>>>
>>>>>I am surprised you don't get this error anywhere else. You need the 
>>>>>following lines in $WIENROOT/OPTIONS:
>>>>>
>>>>>current:FOPT:-q64 -O5 -qarch=pwr4
>>>>>current:LDFLAGS:-q64 -O5 -qarch=pwr4 -qipa=missing=isolated -L../SRC_lib
>>>>>current:R_LIBS:-lessl -llapack_lapw
>>>>>
>>>>>Of course, if you are using a power3, exchange pwr4 with pwr3, and if 
>>>>>you use power5, exchange it with pwr5.
>>>>>
>>>>>Then change directory to $WIENROOT, remove object files (rm SRC_*/*.o), 
>>>>>load and save the compiler options in siteconfig_lapw, then recompile.
>>>>>
>>>>>Maybe you also need to change the compiler to xlf90. This would depend 
>>>>>on your installation.
>>>>>
>>>>>Best regards,
>>>>>Torsten Andersen.
>>>>>
>>>>>WANG Yuan Xu wrote:
>>>>>
>>>>>
>>>>>>Dear all,
>>>>>>
>>>>>>When I compile WIEN2k on IBM sysytem.
>>>>>>The error on mini.  The attached file is compile.msg
>>>>>>My compiler option: Fortran:f90  C compiler: cc -q64
>>>>>>
>>>>>>ld: 0711-738 ERROR: Input file mdble.o:
>>>>>>	XCOFF32 object files are not allowed in 64-bit mode.
>>>>>>make: The error code from the last command is 255.
>>>>>>
>>>>>>
>>>>>>	
>>>>>>
>>>>>>Best
>>>>>>
>>>>>>
>>>>>>WANG Yuan Xu
>>>>>>National Institute for Materials Science
>>>>>>Computational Materials Science Center
>>>>>>Namiki 1-1, Tsukuba 305-0044, Japan
>>>>>>Phone +81-29-8513354-8092; Fax +81-29-8531207
>>>>>>wang.yuanxu at nims.go.jp
>>>>>>2004-09-10
>>>>>
>>>>>-- 
>>>>>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/
>>>>>
>>>>>_______________________________________________
>>>>>Wien mailing list
>>>>>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
>>>>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/
>>>
>>>_______________________________________________
>>>Wien mailing list
>>>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
>> 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/
>
>_______________________________________________
>Wien mailing list
>Wien at zeus.theochem.tuwien.ac.at
>http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>.

= = = = = = = = = = = = = = = = = = = =
			





More information about the Wien mailing list