This thread is locked.Only browsing is available.
Top Page > Browsing
Problem about compilation error
Date: 2007/02/06 00:45
Name: jacket Su   <ccuphysics@hotmail.com>

Dear Dr Ozaki,

I have tried to compile openmx3.1, but it still doesn't pass.
We use machine and package as follow:

System: AMD Opteron machine with Linux

Program used: OpenMX 3.1, ACML 3.6.0-gnu-32bit and FFTW-3.1.2


The error messages are as follow:
TRAN_Calc_CentGreenLesser.o(.text+0x1e4): In function `TRAN_Calc_CentGreenLesser':
/home/d9023001/openmx3.1/source/TRAN_Calc_CentGreenLesser.c:104: undefined reference to `f2c_zgemm'
TRAN_Calc_CentGreenLesser.o(.text+0x24c):/home/d9023001/openmx3.1/source/TRAN_Calc_CentGreenLesser.c:118: undefined reference to `f2c_zgemm'
TRAN_Calc_GC_LorR.o(.text+0x20e): In function `TRAN_Calc_GC_LorR':
/home/d9023001/openmx3.1/source/TRAN_Calc_GC_LorR.c:137: undefined reference to `f2c_zgemm'
TRAN_Calc_GC_LorR.o(.text+0x27a):/home/d9023001/openmx3.1/source/TRAN_Calc_GC_LorR.c:149: undefined reference to `f2c_zgemm'
TRAN_Calc_SelfEnergy.o(.text+0x293): In function `TRAN_Calc_SelfEnergy':
/home/d9023001/openmx3.1/source/TRAN_Calc_SelfEnergy.c:111: undefined reference to `f2c_zgemm'
TRAN_Calc_SelfEnergy.o(.text+0x2cc):/home/d9023001/openmx3.1/source/TRAN_Calc_SelfEnergy.c:119: more undefined references to `f2c_zgemm' follow
/home/d9023001/lib/libI77.a(fmt.o)(.text+0xc3): In function `op_gen':
: undefined reference to `sig_die'
/home/d9023001/lib/libI77.a(rdfmt.o)(.text+0x9ac): In function `rd_ed':
: undefined reference to `sig_die'
/home/d9023001/lib/libI77.a(rdfmt.o)(.text+0xb2e): In function `rd_ned':
: undefined reference to `sig_die'
/home/d9023001/lib/libI77.a(wrtfmt.o)(.text+0x896): In function `w_ed':
: undefined reference to `sig_die'
/home/d9023001/lib/libI77.a(wrtfmt.o)(.text+0x9b6): In function `w_ned':
: undefined reference to `sig_die'
/home/d9023001/lib/libI77.a(err.o)(.text+0x1b6): more undefined references to `sig_die' follow
make: *** [openmx] Error 1


Please help me!

Sure to thank you

jacket





メンテ
Page: [1]

Re: Problem about compilation error ( No.1 )
Date: 2007/02/07 00:05
Name: Denis Music  <music@mch.rwth-aachen.de>

Dear Jacket,
I had the same problem and it was solved by using the following setting in makefile:
CC = gcc -O3 -Dnompi -I/usr/local/include -I$(HOME)/include
LIB = -L$(HOME)/lib -lfftw3 -lacml -lI77 -lg2c -L/opt/gcc33/lib64
With best regards,
Denis
メンテ
Re: Problem about compilation error ( No.2 )
Date: 2007/02/08 02:10
Name: jacket Su  <ccuphysics@hotmail.com>

Hi, Denis,

Thank you for your suggestion! I will try.

My Best,
jacket
メンテ

Page: [1]