Installing on Fedora FC5 X86-64

Help
cgrrr
2006-05-30
2013-05-28
  • cgrrr
    cgrrr
    2006-05-30

    I installed opencyc-0.9.0-Suse91.tgz on Linux Fedora 5 X86-64 and on an i386 box, on de i386 it runs smoothly. On the AMD64 3200, 1.5 Gb Mem it runs very slow. The opencyc server takes nore than four minutes to load and the browser runs very slow too.
    When running the server I get the following warning: Warning: Unable to find file hashtable: data/caches/0001/generic-singular-nl-generation-fort-cache.fht
    Enabling base TCP services to port 3600.

    Any suggestions to solve this problem?

     
    • Ray Racine
      Ray Racine
      2006-06-11

      I'm seeing the same behavior on FC4 AMD64.
      Takes a very long time to map in the memory image and then the warnings.

      FC4 on a 32bit laptop is fine.

       
    • cgrrr
      cgrrr
      2007-01-23

      Modified scripts for FC5 and FC6 - opencyc-1.0.2

      #!/bin/sh
      #
      # $Id: detect-platform.sh,v 1.1.2.1 2006/07/10 20:12:31 karen Exp $
      #
      # Detect the hardware/OS configuration of the machine.

      if [[ -e platform-override.txt ]]; then
        cat platform-override.txt
        exit
      fi

      UNAME_M=`uname -m`
      if [[ $UNAME_M == *86_64* ]]; then
        CYC_ARCH=x86_64
      elif [[ $UNAME_M == *86* ]]; then
        CYC_ARCH=x86_32
      else
        echo "***ERROR: Architecture unrecognized"
        echo $UNAME_M
      fi

      if [ -r /etc/redhat-release ] ; then
        REDHAT_RELEASE=`cat /etc/redhat-release`
        if [[ $REDHAT_RELEASE == Red\ Hat\ Linux\ release\ 7.1\ * ]] ; then
          CYC_OS=RH-7.1
        elif [[ $REDHAT_RELEASE == Red\ Hat\ Linux\ release\ 7.2\ * ]] ; then
          CYC_OS=RH-7.2
        elif [[ $REDHAT_RELEASE == Red\ Hat\ Linux\ release\ 9\ * ]] ; then
          CYC_OS=RH-9
        elif [[ $REDHAT_RELEASE == Red\ Hat\ Enterprise\ Linux\ ES\ release\ 3\ * ]] ; then
          CYC_OS=RH-ES3
        elif [[ $REDHAT_RELEASE == Fedora\ Core\ release\ 3\ * ]] ; then
          CYC_OS=RH-ES3
        elif [[ $REDHAT_RELEASE == Fedora\ Core\ release\ 5\ * ]] ; then
          CYC_OS=SuSE-9.2
        elif [[ $REDHAT_RELEASE == Fedora\ Core\ release\ 6\ * ]] ; then
          CYC_OS=SuSE-9.2
        else
          echo "***ERROR: RedHat version not recognized"
          echo $REDHAT_RELEASE
        fi
      elif [ -r /etc/SuSE-release ] ; then
        SUSE_RELEASE=`cat /etc/SuSE-release`
        if [[ $SUSE_RELEASE == SuSE\ Linux\ 9.1\ * ]] ; then
          CYC_OS=SuSE-9.1
        elif [[ $SUSE_RELEASE == SuSE\ Linux\ 9.2\ * ]] ; then
          CYC_OS=SuSE-9.2
        else
          echo "***ERROR: SuSE version not recognized"
          echo $SUSE_RELEASE
        fi
      elif [[ `uname -s` == *CYGWIN_NT* ]] ; then
        CYC_OS=`uname -s`
      fi

      SYS_STRING=$CYC_OS-$CYC_ARCH
      export SYS_STRING
      echo $SYS_STRING

      #!/bin/sh
      #
      # $Id: supported-platform.sh,v 1.1.2.1 2006/07/10 20:58:27 karen Exp $
      #
      # Is this a supported platform?  If not, return failure;  otherwise,
      # return success.
      #
      # supported-platform.sh

      if [ -r /etc/redhat-release ] ; then
        # It's a Redhat plaform;  is it a supported version?
        REDHAT_RELEASE=`cat /etc/redhat-release`
        if [[ $REDHAT_RELEASE != Red\ Hat\ Linux\ release\ 7.1\ * ]] &&
           [[ $REDHAT_RELEASE != Red\ Hat\ Linux\ release\ 7.2\ * ]] &&
           [[ $REDHAT_RELEASE != Red\ Hat\ Linux\ release\ 9\ * ]] &&
           [[ $REDHAT_RELEASE != Red\ Hat\ Enterprise\ Linux\ ES\ release\ 3\ * ]] &&
           [[ $REDHAT_RELEASE != Fedora\ Core\ release\ 3\ * ]] &&
           [[ $REDHAT_RELEASE != Fedora\ Core\ release\ 5\ * ]] &&
           [[ $REDHAT_RELEASE != Fedora\ Core\ release\ 6\ * ]] ; then
          exit 1
        fi
      elif [ -r /etc/SuSE-release ] ; then
        # It's a SuSE plaform;  is it a supported version?
        SUSE_RELEASE=`cat /etc/SuSE-release`
        if [[ $SUSE_RELEASE != SuSE\ Linux\ 9.1\ * ]] &&
           [[ $SUSE_RELEASE != SuSE\ Linux\ 9.2\ * ]] ; then
          exit 1
        fi
      else
        # This is neither a Redat nor a SuSE platform
        exit 1
      fi

      exit 0