Dear Akbar!

Jason gave a good solution.

More extended instructions would be like this

> make zgesv_lapack.a
change your arch.make to add zgesv_lapack.a to the LAPACK_LIBS
LAPACK_LIBS=dc_lapack.a liblapack.a zgesv_lapack.a

and then
> make

It compiles at my side.

Best of luck!

Peter

On Wed, Feb 24, 2010 at 12:32 PM, akbar jahangiri <[email protected]>wrote:

> Dear Peter
>
> Here is the file.
>
> in additioin i should mention that just while compiling Transiesta there is
> problem and i get the same massage that i sent you.
>
> Thank you very much.
>
>
>
>
> On Wed, Feb 24, 2010 at 4:51 PM, Peter Koval 
> <[email protected]>wrote:
>
>> Dear Akbar!
>>
>> Please, send the file. I will try to find the problem.
>>
>> Best regards,
>>
>> Peter
>>
>> On Wed, Feb 24, 2010 at 4:13 AM, akbar jahangiri <[email protected]>wrote:
>>
>>> Dear jason and peter
>>>
>>> i have still problem the solution which jason suggested to me,it did not
>>> work.
>>>
>>> i was thinking that may be that is because of compiler but after changing
>>> compiler from "f95" to "ifort" in
>>>
>>> "arch.make" still  there is problem and it became worse. (just for
>>> transiesta)
>>>
>>> now it is giving me this error :
>>>
>>>   \
>>>                dc_lapack.a liblapack.a libblas.a  `FoX/FoX-config --libs
>>> --wcml`   dc_lapack.a liblapack.a libblas.a
>>>  m_ts_aux_rout.o: In function `csolveg':
>>> /home/alibaba/packages/siesta-3.0-b/Obj/m_ts_aux_rout.F:344: undefined
>>> reference to `zgesv_'
>>> m_ts_aux_rout.o: In function `csolve':
>>> /home/alibaba/packages/siesta-3.0-b/Obj/m_ts_aux_rout.F:300: undefined
>>> reference to `zgesv_'
>>> m_ts_aux_rout.o: In function `invmat':
>>> /home/alibaba/packages/siesta-3.0-b/Obj/m_ts_aux_rout.F:254: undefined
>>> reference to `zgesv_'
>>> make: *** [transiesta] Error 1
>>>
>>>
>>> could you please help me if there is an other way, or should i send my
>>> "arch.make" file?
>>>
>>> Best regards
>>> Akbar
>>>
>>>
>>> On Wed, Feb 24, 2010 at 12:47 AM, Jason McAfee 
>>> <[email protected]>wrote:
>>>
>>>> I ran into the same problem last week.
>>>>
>>>> Compile with the following:
>>>>
>>>> > make zgesv_lapack.a
>>>> and then
>>>> > make
>>>>
>>>> For some reason the zgesv package is NOT compiled by default.
>>>> Hence the first required make statement.
>>>>
>>>> Good luck,
>>>>
>>>> Jason McAfee
>>>>
>>>> On Feb 23, 2010, at 2:46 PM, Peter Koval wrote:
>>>>
>>>> It does not find a solver routine from Lapack.
>>>>
>>>> Peter
>>>>
>>>> On Tue, Feb 23, 2010 at 8:46 PM, akbar jahangiri 
>>>> <[email protected]>wrote:
>>>>
>>>>> Dear users
>>>>>
>>>>> while compiling transiesta i will get this error
>>>>>
>>>>> m_ts_aux_rout.o: In function `csolveg':
>>>>> /home/alibaba/packages/siesta-3.0-b/Src/m_ts_aux_rout.F:344: undefined
>>>>> reference to `zgesv_'
>>>>> collect2: ld returned 1 exit status
>>>>> make: *** [transiesta] Error 1
>>>>>
>>>>>
>>>>> can anyone help me please ?
>>>>>
>>>>> Best regards
>>>>> Akbar
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Dr. Peter Koval
>>>> email: [email protected]
>>>> inet: http://sites.google.com/site/kovalpeter/
>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> Dr. Peter Koval
>> email: [email protected]
>> inet: http://sites.google.com/site/kovalpeter/
>>
>
>


-- 
Dr. Peter Koval
email: [email protected]
inet: http://sites.google.com/site/kovalpeter/

Responder a