Jason Swails wrote:
>
> On Tue, Sep 29, 2009 at 1:39 PM, Ben Roberts <roberts.qtp.ufl.edu> wrote:
>
>> Hi all,
>>
>> Has something changed in the code governing this test? It used to work OK
>> for me, but now I suddenly get the following error when testing (though
>> compilation works OK):
>>
>> =====================================================
>> Running test to compute GB Newton-Raphson and normal modes:
>>
>> /opt/intel/mkl/
>> 10.0.2.018/lib/em64t/libmkl_intel_lp64.a(_second.o)(.text+0x0)<http://10.0.2.018/lib/em64t/libmkl_intel_lp64.a%28_second.o%29%28.text+0x0%29>:
>> In function `second_':
>> : multiple definition of `second'
>> /scr/wukong_2/roberts/apps/amber11/lib/libnab.a(time.o)(.text+0x0): first
>> defined here
>> ld: Warning: size of symbol `second' changed from 22 in
>> /scr/wukong_2/roberts/apps/amber11/lib/libnab.a(time.o) to 8 in
>> /opt/intel/mkl/10.0.2.018/lib/em64t/libmkl_intel_lp64.a(_second.o)<http://10.0.2.018/lib/em64t/libmkl_intel_lp64.a%28_second.o%29>
>> cc failed!
>> make[1]: *** [asp_test] Error 1
>> make[1]: Leaving directory `/scr/wukong_2/roberts/apps/amber11/test/nab'
>> make: *** [test.nab] Error 2
>>
>> At this point, the test exits.
>>
>>
>> I suppose I could work around this problem by just not using the Intel MKL
>> libraries; ideally, though, I would be able to use them. But I'm reluctant
>> to start changing the names of functions and methods myself. Any ideas on
>> the best way forward?
>>
>> Thanks,
>> Ben
>>
>> --
>> Benjamin P. Roberts
>> Postdoctoral Research Associate
>> Quantum Theory Project
>> University of Florida
>>
>> 2301 New Physics Building #92
>> PO Box 118435
>> Gainesville FL 32611-8435
>> USA
>>
>> Phone: +1 352 392 6712
>> Cell: +1 352 222 3677
>>
>> Member of the Royal Australian Chemical Institute
>> and of the American Chemical Society
>>
>> _______________________________________________
>> AMBER-Developers mailing list
>> AMBER-Developers.ambermd.org
>> http://lists.ambermd.org/mailman/listinfo/amber-developers
>>
>
> I had this exact same problem...
>
It gets worse: It stops me from building sander as well...
<snip>
ifort -o sander <many_arguments>
../lib/sys.a(sys.o): In function `second_':
_sys.f:(.text+0x1c): multiple definition of `second_'
/opt/intel/mkl/10.0.2.018/lib/em64t/libmkl_intel_lp64.a(_second.o):_second_iface.c:(.text+0x0):
first defined here
ld: Warning: size of symbol `second_' changed from 8 in
/opt/intel/mkl/10.0.2.018/lib/em64t/libmkl_intel_lp64.a(_second.o) to 28
in ../lib/sys.a(sys.o)
make[1]: *** [sander] Error 1
make[1]: Leaving directory `/home/roberts/apps/amber11/src/sander'
make: *** [serial] Error 2
I'll try without MKL for the time being.
Ben
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu Oct 01 2009 - 15:00:02 PDT