MTT install related

来源:互联网 发布:网络打鱼怎么举报 编辑:程序博客网 时间:2024/06/06 19:41

https://sourceforge.net/p/mtt/discussion/35888/thread/0685148a/


Can anyone help me with some instructions about how to Install MTT in a sun Machine? I have succesfully installed Octave (following a good set of instructions.., I am kind of novice in Unix..) but I have not been able to install MTT because there is not help file.

My second question: Is it absolutely necesary for MTT to work the software Reduce? Are there any options that would work without Reduce? (As it is not free,..).

 

  • Geraint Paul Bevan
    Geraint Paul Bevan
    2002-03-15

    If you have managed to install Octave, you shouldn't have any difficulty installing MTT. Copy MTT (http://prdownloads.sourceforge.net/mtt/mtt-4.8.tar.gz) to a directory on your machine (preferably /usr/local) and unpack it with the commands:

    $ gzip -d mtt-4.8.tar.gz
    $ tar -xf mtt-4.8.tar

    You will find the documentation for MTT in the directory mtt-doc.

    To use MTT, edit the file mtt/mttrc to make MTT_BASE point to the place you have installed MTT:
    export MTT_BASE=/usr/local

    To tell your shell where to find MTT:
    $ . /usr/local/mtt/mttrc

    Alternatively, if you are using csh instead of the Bourne shell:
    % /usr/local/mtt/sh2csh /usr/local/mttrc
    % source /usr/local/mtt/mttrc.csh

    MTT should then hopefully run okay (let me know if it doesn't).

    Regarding your second question, MTT uses Reduce extensively so you really should have it installed. However, I did write a program a while ago which allowed the creation of a standalone C++ simulation from a bondgraph model built with MTT without using Reduce. If this is all you need to do, let me know and I will try to find the program (unfortunately I don't have access to it from this machine).

    Geraint.

     

  • German Diaz
    German Diaz
    2002-05-15

    Dear Geraint

    Thanks a lot for your help, I have managed to make MTT run!!, however this machine (It's not mine and I got it just part time,..) has the files in a big mess and it seems that what I have to do (apart from installing Reduce) is setting up the paths correctly pointing in the right directions, because for example the MTT seems to work but when I try to invoke XMTT simply it cannot find the necessary files.

    I will have a go and see what happens. Thanks again for your help.

    German
    Ps. It took me a while to get hold of the machine again.

0 0
原创粉丝点击