Installation on Mac OSX not Lion yet

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. To avoid XCode (since large memory storage required), you can download the Apple Command Line Tools instead.

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

2. Update the arch/macosx file to point to plplot folder you downloaded

3. Go to the /flooxs/src directory and run:

  export FLXSHOME=/flooxs
  export PL_LIBRARY=/opt/local/share/plplot5.12.0/tcl/
  make depend ARCH=macosx

NOTE: You might need to run make depend again for no errors.


4. Once all errors are fixed, type in the command line:

  make ARCH=macosx

5. You need a start up file to set up environments. Below is an example of text in the start up file:

  export FLXSHOME=/flooxs
  export PL_LIBRARY=/opt/local/share/plplot5.12.0/tcl/
  alias iflooxs=/flooxs/src/flooxs.new

6. You can source the start up file from Step 5 and when you run the command iflooxs, it should run FLOOXS. Below is how to run FLOOXS without the start up file.


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!
  solution add name = Int !negative !damp nosolve 
  solution add name = Vac !negative !damp nosolve 
  solution add name=V2 nosolve !negative 
  solution add name=I2 nosolve !damp !negative 
  solution add name=C311 nosolve !damp !negative 
  solution add name=D311 nosolve !damp !negative 
  solution add name=Smic nosolve !damp !negative 
  solution add name = Potential nosolve damp negative 
  solution add name = Boron nosolve !negative 
  solution add name = Phosphorus nosolve !negative 
  solution add name = Arsenic nosolve !negative 
  solution add name = Antimony nosolve !negative 
  solution add name = Germanium nosolve !negative 
  solution add name = Carbon nosolve !negative 
  solution add name = CarbonInt nosolve !negative 
  solution add name = Temp const val=25 add solve 
  solution add name=DevPsi solve negative damp 
  solution add name=Elec solve !negative 
  solution add name=Hole solve !negative 
  solution add name=Circuit solve negative damp circuit const val=0.0 
  Initialized for Device Simulation