[Wien] Compile error on mini

Torsten Andersen thor at physik.uni-kl.de
Fri Sep 10 12:34:16 CEST 2004


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/




More information about the Wien mailing list