Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: How I installed Mathematica 8 in Linux (Ubuntu 10.10)

  1. #1
    Join Date
    Jul 2009
    Location
    Austin, Texas, USA
    Beans
    399

    How I installed Mathematica 8 in Linux (Ubuntu 10.10)

    Having purchased Mathematica 8 for Linux from Wolfram Research, Inc. (www.wolfram.com), I downloaded the following file:


    Mathematica_8.0.0_LINUX_MachineSpecific.sh


    Next, to help guard against file loss, I copied this file to a DVD-R disk, which I named


    Mathematica_8_Linux


    With this DVD in my disk drive, "/media", and following instructions available on the Wolfram Website, I used "sudo gnome-terminal" in a Terminal session to open a second session as root. As root, I used


    chmod +x Mathematica_8.0.0_LINUX_MachineSpecific.sh


    to make this file executable (this is an important step).


    Next, as root I moved to directory "/usr/local" and issued the command


    sh /media/Mathematica_8_Linux/Mathematica_8.0.0_LINUX_MachineSpecific.sh


    in order to execute the installation script. Thereafter, I responded to the prompts from the installation script, accepting the default options offered by the script, since they suited my situation.

  2. #2
    Join Date
    Sep 2006
    Beans
    25
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How I installed Mathematica 8 in Linux (Ubuntu 10.10)

    If the installer will not allow you to register following Activation,
    Code:
    sudo rm -r /usr/local/Wolfram/Mathematica
    sudo rm -r $HOME/.Mathematica
    cd /usr/local
    sudo sh $PATH_TO_INSTALLER
    choose install directories
    while activating, either
    1)
    Code:
    sudo nano /usr/local/Wolfram/Mathematica/Licensing/mathpass
    2)
    Code:
    nano $HOME/Mathematica/Licensing/mathpass
    file format is:
    hostname MATHID LICENSE_NUMBER PASSWORD
    then complete activation and registration

    no idea why this problem occurred but this will allow it to load.

  3. #3
    Join Date
    Sep 2006
    Beans
    25
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How I installed Mathematica 8 in Linux (Ubuntu 10.10)

    Additionally, in the event that CUDALink will not work:
    Follow the instructions in this forum for manual installation of nvidia devdriver's vice the ubuntu supplied package, ubuntu package puts libraries in non-standard locations.

    Install the cuda sdk and then make the gpucomputing examples to verify cuda is available and nvcc is configured, executing more resource hungry applications will require adding "vmalloc=256mb" or some larger allocation in your linux grub commandline.

    Open a new notebook in Mathematica and execute:
    Code:
    Needs["CUDALink`"]
    CUDAQ[]
    This may return false.

    If the stderr in the terminal you ran mathematica from spits out garbage about cuInit being undefined symbol from the mathematica cudalink_single/double library, then libcudart is not loaded and exporting the cuInit routine which initializes cuda. add the following to your .bashrc
    Code:
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib
    LD_PRELOAD=$LD_PRELOAD:/usr/local/cuda/lib/libcudart.so
    after that run a new terminal or reload the environment and run Mathematica again, execute the same commands and it should return true.
    Code:
    SystemInformation[]
    Will bring up info about your cuda machines under links->cuda.

  4. #4
    Join Date
    Feb 2010
    Beans
    1

    Re: How I installed Mathematica 8 in Linux (Ubuntu 10.10)

    Hello, and thank you for posting your installation method.

    I'm having problems trying to install Mathematica 8.0 on Ubuntu 10.04. I downloaded a copy of Mathematica_8.0.0_Student_LINUX.sh from the Wolfram site to the desktop. Double-clicking on the icon opened a dialog box offering to run in a terminal window, or just Run, cancel, etc. I've tried selecting both Run and Run in a terminal window, either will start the installer. It verifies archive integrity for a while, then starts installing. When it gets to the first question about where to install the files, I try Enter to select the default. It comes back saying it cannot create the directory, suggests I need to be logged in as root, and asks again. Hitting Enter each time just repeats the question, trying anything else (including sudo -s, trying to get to the root) brings "Create directory (y/n)?" Answering y allows it to continue. Same sort of questions and responses for the script directory, and then it says it's done installing. After which I can't find anything that looks like it installed anywhere.

    So, the installer appears to run, I just can't get it to create the directories. It must be something simple and I'm sorry to be so thick, but where am I going wrong?

    Thanks,
    John

  5. #5
    Join Date
    Mar 2007
    Beans
    2

    Re: How I installed Mathematica 8 in Linux (Ubuntu 10.10)

    Hi there,

    *I have installed Mathematica 8 in Ubuntu 10.10
    *I have also installed CUDA sdk, driver...and the test are working fine
    *My GPU is fully supported my Mathematica (TESLA C1060)
    *I have also checked that the environment variables are well defined
    * Now the problem is:

    Mathematica says that cuda library is loaded but can not be initialized, any clue?

    Cheers,

    J

  6. #6
    Join Date
    Jul 2009
    Location
    Austin, Texas, USA
    Beans
    399

    Re: How I installed Mathematica 8 in Linux (Ubuntu 10.10)

    Quote Originally Posted by jbbishop2 View Post
    Hello, and thank you for posting your installation method . . . . When it gets to the first question about where to install the files, I try Enter to select the default. It comes back saying it cannot create the directory, suggests I need to be logged in as root, and asks again. . . .
    I'd suggest that you try starting the whole installation by using "sudo gnome-terminal", so that you're doing the installation as root.

  7. #7
    Join Date
    Oct 2007
    Beans
    35
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How I installed Mathematica 8 in Linux (Ubuntu 10.10)

    Quote Originally Posted by nitrogensixteen View Post
    while activating, either
    1)
    Code:
    sudo nano /usr/local/Wolfram/Mathematica/Licensing/mathpass
    2)
    Code:
    nano $HOME/Mathematica/Licensing/mathpass
    file format is:
    hostname MATHID LICENSE_NUMBER PASSWORD
    then complete activation and registration
    What do you mean with this line? I've installed Mathematica 8 with a .sh file, then I've created the /usr/local/Wolfram/Mathematica/Licensing/ directory, touched the mathpassfile. Then I've run mathematica, filled in the fields in the GUI and in the mathpass text file I've typed:

    "hostname \tab \mathid \tab \license_number \tab \pw", where I've used the logical numbers for mathid, license_number and pw.

    But this doesn't work for me. I am still stuck with the "Get access to your benefits. Register Mathematica now!" page.

  8. #8
    Join Date
    Feb 2008
    Beans
    32

    Re: How I installed Mathematica 8 in Linux (Ubuntu 10.10)

    I know that this is an old(er) thread, but I just wanted to thank rewyllys and nitrogensixteen for posting. With the information provided I was able to successfully install Mathematica 8.

    Much appreciated!

  9. #9
    Join Date
    Jul 2009
    Location
    Austin, Texas, USA
    Beans
    399

    Re: How I installed Mathematica 8 in Linux (Ubuntu 10.10)

    You're most welcome!

  10. #10
    Join Date
    Apr 2011
    Beans
    1
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How I installed Mathematica 8 in Linux (Ubuntu 10.10)

    Hi, there,

    Well mathematica 8 has a new field called activation key as opposed to license number and am having problem getting it activated,
    can anyone help me on this please

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •