Re: [AMBER-Developers] Error compiling under cygwin

From: Gustavo Seabra <gustavo.seabra.gmail.com>
Date: Tue, 2 Mar 2010 23:05:54 -0300

Hi Dan,

Thanks for the fix, looks like it's working jut fine now.

Could you share the details of what was happening? I wonder why we
only see this happening in Cygwin. It would be nice to see someone
using the same versions of gfortran/gcc in a Linux box, to see if we
are dealing with a Cygwin bug.

Thanks,
Gustavo Seabra
Professor Adjunto
Departamento de Química Fundamental
Universidade Federal de Pernambuco
Fone: +55-81-2126-7450 Ext. 5021



On Tue, Mar 2, 2010 at 5:50 PM, Daniel Roe <daniel.r.roe.gmail.com> wrote:
> Hi all,
>
> I added some complex number math routines to nmode.c in the sff directory to
> avoid this problem on cygwin platforms. This should eventually make
> c9x-complex/complex.h unnecessary because as far as I know the lnorm()
> subroutine in nmode is the only thing that requires them. For now the
> routines I wrote are wrapped in #ifdef CYGWIN tags. Non CYGWIN peeps let me
> know if I broke something. The 3rd nmode test case in nab uses lnorm() and
> the test case still passes so the routines seem ok. They aren't optimized or
> anything though - that can come later.
>
> -Dan
>
> On Sat, Feb 27, 2010 at 10:42 AM, case <case.biomaps.rutgers.edu> wrote:
>
>> On Sat, Feb 27, 2010, Daniel Roe wrote:
>> >
>> > Compilers: gcc (GCC) 4.3.4 20090804 (release) 1, GNU Fortran (GCC) 4.3.4
>> > 20090804 (release) 1
>> > System: CYGWIN_NT-5.1 mojyt 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin
>> > CVS Checkout Time: 2010-02-26 13:36
>>
>> Good: you can be our cygwin person.
>>
>> > Configure command: ./configure -cygwin -noX11 -nosleap gnu
>>
>> Do xleap and sleap not work??
>>
>>
>> > /home/Dan/Amber/CVS/amber11/lib/libmc.a(cmplx.o):cmplx.c:(.text+0x592):
>> > multiple definition of `_csqrt'
>>
>> You need to prevent cygwin compiling libmc.a.  Go to line 669 of configure
>> and have all platforms set c9xcomplex='skip'; i.e. comment out the "else"
>> block there.  That may break Langevin modes, however, but it's worth a try.
>>
>> ...dac
>>
>> p.s.: any grapevine news on NEB integration into Amber11?
>>
>>
>> _______________________________________________
>> AMBER-Developers mailing list
>> AMBER-Developers.ambermd.org
>> http://lists.ambermd.org/mailman/listinfo/amber-developers
>>
>
>
>
> --
> -Dan
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers
>

_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Tue Mar 02 2010 - 18:30:03 PST
Custom Search