1 Reply Latest reply on May 30, 2010 1:25 PM by BertKarwatzki

    ACML-GPU example programs

      not finding gfortran libraries

      I am trying to build the example programs provided with the ACML-GPU (version acmlg1.1alph) but they keep complaining about not finding the gfortran libraries:

      gcc -g  dgemm_c_example.c -I../include ../lib/libacml.a -L ../lib -lCALBLAS -L /usr/lib64 -laticalcl -laticalrt -lgfortran  -o dgemm_c_example.exe
      ../lib/libacml.a(dgemmwrapL.o): In function `dgemmwrapl_':
      dgemmwrapL.F.text+0x566): undefined reference to `_gfortran_runtime_error_at'
      ../lib/libacml.a(dgemmwrapS.o): In function `dgemmwraps_':
      dgemmwrapS.F.text+0x6b0): undefined reference to `_gfortran_runtime_error_at'
      collect2: ld returned 1 exit status
      make: *** [dgemm_c_example.exe] Error 1

      I have a RHEL 5.4, gcc/gfortran version 4.1.2 as specified in the ACML-GPU documentation as a requirement. Any help will be greatly appreciated. Many thanks.