3 Replies Latest reply on Nov 13, 2012 3:00 AM by yurtesen

    undefined reference to `fastsincos_'

    yurtesen

      It is strange since ACML_MV 4.4 shows:

       

      -bash-4.1$ nm /export/modules/devel/ACML/4.4.0/gnu/gfortran64/lib/libacml_mv.a |grep fastsincos
      fastsincos.o:
      0000000000000000 T __fastsincos_
      0000000000000020 T fastsincos
      0000000000000000 W fastsincos_
      fastsincosf.o:
      0000000000000000 T __fastsincosf_
      0000000000000020 T fastsincosf
      0000000000000000 W fastsincosf_
      -bash-4.1$
      

       

      while LibM dynamic library shows:

       

      -bash-4.1$ nm /export/modules/devel/AMD-LibM/3.0.2/gnu/lib/dynamic/libamdlibm.so  |grep fastsincos
      00000000000503f0 W fastsincos
      -bash-4.1$
      

       

      and LibM static library shows:

       

      -bash-4.1$ nm /export/modules/devel/AMD-LibM/3.0.2/gnu/lib/static/libamdlibm.a  |grep fastsincos
      0000000000000310 W fastsincos
      -bash-4.1$
      

       

      and I am getting the following error when I use LibM

       

      undefined reference to `fastsincos_'
      

       

      Is this a bug in LibM or am I doing something wrong?

       

      Thanks,

      Evren