Installation on Mac OSX Mojave to Big Sur

From Flooxs
Jump to navigation Jump to search

The preparation you need do:

1. Download the software and put it on your hard drive in a directory called flooxs.

2. Get the Developer Package for Mac and installed. XCode is free on the App Store. Once in xcode, enable the command line tools by going to preferences/locations and selecting the command line tools in the option list.

3. Make sure you have the X11 or terminal.

4. If possible get a good text editor, like smultron.

5. Download macports.


Installing & Compiling FLOOXS on Mac:

1. With macports, install: Plplot, Tcl-tk, Aquaterm, and Suitesparse by opening the terminal and using the command:

   sudo port install plplot tcl tk suitesparse cmake

3. Go to the [Your Location]/flooxs directory and run:

  export FLXSHOME=`pwd`
  mkdir release
  cd release
  cmake ..

4. To build flooxs, go to [Your Location]/flooxs/src and run :

  make -j8

5. To install flooxs:

  sudo make install


How to run the simulation on the Mac:

1. Go to Application --> Utilities, open X11.

2. Make sure you are working at the csh, if it is bash, please type csh, it will directly change to the csh.

3. Find the floops software where you put it, if you put it at the desktop, please type the following,

  & ls
  & cd Desktop
  & cd floops

4. Now you are at the floops directory, when you type cd, you will see NewExpr this file.

5. Then type the following commands,

  & setenv FLXSHOME `pwd`
  & cd src
  & ls
  & ./flooxs.new -device 

After these steps, when you see the following commands, that means you successfully launching the flooxs.


  argc 2
  i 0 argv ./flooxs.new
  i 1 argv -device
  i 0 argv ./flooxs.new
  i 1 argv -device
  i 0 argv ./flooxs.new
  i 1 argv -device
  Copyright 1993 University of Florida
  Copyright 1995, 1996, 1998, 2000, 2003 University of Florida
  Copyright 1995, 1996, 1998 University of Texas at Austin
                    _.---._     .---.
           __...---' .---. `---'-.   `.
       .-__.--' _.'( | )`.  `.  `._ :
     .'__-'_ .-- ._`---'_.-.  `.   `-`.
            ~ -._ -._``---. -.    `-._   `.
                 ~ -.._ _ _ _ ..-_ `.  `-._``--.._
                              -~ -._  `-.  -. `-._``--.._.--.
                                   ~ ~-.__     -._  `-.__   `. `.
                                         ~~ ~---...__ _    ._ .` `.
                                                     ~  ~--.....--~`
  Alagator Scripting Enabled!