19 Replies Latest reply on Sep 12, 2008 3:23 AM by jski

    Problems with SDK 1.2

    jski

      I downloaded the 1.2 SDK and installed it (after un-installing 1.1). I'm using Catalyst 8.8 + openSuSE 10.2 + Radeon 3870 + Core2 QuadCore. I sourced the following:

      export PATH=/usr/local/amdbrook/sdk/bin:$PATH
      export LD_LIBRARY_PATH=/usr/local/amdcal/lib64/:/usr/local/amdbrook/sdk/lib:$LD_
      LIBRARY_PATH
      export CALROOT=/usr/local/amdcal
      export BROOKROOT=/usr/local/amdbrook

      Built simple_matmult and ran it. The computer froze (i.e., hung). I rebooted and tried hello_brook - that worked.

      Is there something/anything I failed to do???

      ---jski

      PS> I just noticed this in amd-cal-install-linux64.txt: "This version of CAL SDK uses the Catalyst 8.7 driver." I thought that SDK 1.2 was targeting Catalyst 8.8?

        • Problems with SDK 1.2
          nberger
          Same over here in 32 bit. I used Catalyst 8.8 on Scientific Linux 5.2 and a Radeon 3870. Installation was trouble free, but as with jski, my machine freezes upon running simple_matmult or my own application. Any ideas?

          Nik

          PS: if this is any help: even tough the machine freezes in my application when creating the first stream (and is also no longer reachable via ssh), a log file created with BRT_LOG_FILE seems to indicate that the program finished ok...

          PPS: On my second machine with a 4870 card, simple_matmult runs without problems - I start to suspect that this is somehow linked to my troubles reported here.
            • Problems with SDK 1.2
              jski

              Nik, did you stick with Catalyst 8.8 with the 4870? Or did you try Catalyst 8.7 as is indicated in amd-cal-install-linux64.txt?

              One other question: if I swap out the 3870 for the 4870 do I need to un-install Catalyst and CAL and BROOK - then re-install them?

              ---jski

            • Problems with SDK 1.2
              nberger
              Jski! Yes, I stuck with Catalyst 8.8. I would not know about swapping the cards, as I fortunately have two machines at my disposal. It might be, that you have to re-install Catalyst (or at least reconfigure) but I would be surprised if you had to re-install CAL and BROOK. Can anyone of the experts comment on this?
              • Problems with SDK 1.2
                nberger
                Now that the "official" links to 1.2 have appeared, I have uninstalled brook and cal, downloaded and downloaded it again. To my disappointment I found that the install files were identical. Still, I installed again, compiled the samples and found again that simple_matmult freezes my machine.
                Now I am not doing anything fancy: On a supported platform (Scientific Linux is a RHEL clone), with a supported card (3870) and the suggested driver (8.8) I run a sample program provided with the release and this FREEZES MY MACHINE.
                Of course I was hoping the new release would help me to overcome some of my problems (or at least provide decent documentation). This does not seem to be the case. What is AMD suggesting to improve the situation?
                • Problems with SDK 1.2
                  nberger
                  sgayam: The only major difference I see between your an my setup is that you are running a 64bit Linux. With my 32 bit scientific Linux 5.2 I can reproducibly freeze my machine with simple_matmult.
                  Jski: Same with me, 4860+8.8+1.2 seems to work for simple_matmult. In my own application I however get a segfault where the program ran fine before... So for the moment I am back to 1.1.
                  • Problems with SDK 1.2
                    MicahVillmow
                    jski and nberger,
                    The two platforms that are 'officially' supported and were tested to work in this release were RHEL 5.1 and SLES 10.1. Outside of that we cannot guarantee that everything works correctly. However, we are looking into the freezes/issues and will try to get a workaround for these issues.
                    • Problems with SDK 1.2
                      nberger
                      Ok, some more info about the anatomy of my freezing system:
                      (I got two identical boxes with the same problem, so loose cables or HW defects are rather unlikely)
                      Intel Core 2 Quad CPU Q6600, 2GB RAM, Radeon HD 3870 GPU
                      Scientific Linux CERN 5.2. (a repackaged RHEL 5) 32 bit with
                      Kernel 2.6.18, gcc 4.1.2
                      Installation of the driver was without problems, ditto for the SDK.
                      On a similar system with a 4870, I do not observe these problems.
                      • Problems with SDK 1.2
                        nberger
                        Basically yes. Software is identical on the two machines, however they got different motherboards. I am not too keen on swapping graphics cards...
                        Nik