Customise
in the tab Installation Type
you can decide to add GAMS to the PATH as well as to reject the installation of GAMS Studio. Note that adding GAMS to the PATH is done by modifying your shell profile file (~/.zprofile
, ~/.bash_profile
etc.). A backup of your old profile is saved (~/.zprofile.gamsbackup
, ~/.bash_profile.gamsbackup
etc.).GAMS Studio
open the Launchpad
and click the GAMS Studio 34
icon to open the application. Alternatively, go to Applications and open the GAMS Studio 34
application.Model Library Explorer
and open the TRNSPORT
model (sequence number 001). Run the model and check the contents of the process log, which should be similar to the Terminal output listed in the next bullet point.GAMS Studio
open a Terminal window. Execute the following commands to see if everything works as expected: sudo bash /Library/Frameworks/GAMS.framework/Versions/34/Resources/uninstall.sh
. Additionally, you can remove GAMS from the PATH in your shell profile file (~/.zprofile
, ~/.bash_profile
) if GAMS was added to the PATH during installation._sfx.exe
file extension, e.g., osx_x64_64_sfx.exe
. Check that it has the execute permission set. If you are not sure how to do this, just type in the command chmod 755 osx_x64_64_sfx.exe
. com.apple.quarantine
flag. There are different solutions to this problem:/Applications/GAMS
, the installer will create the GAMS system directory /Applications/GAMS/gams24.3_osx_x64_64_sfx
. If the directory where you want to install GAMS is not below your home directory, you may need to have root privileges on the machine./Applications/GAMS
. Change to this directory (cd /Applications/GAMS
). Make sure pwd
returns the name of this directory correctly.gamslice.txt
in a directory GAMS searches to find a license. The license file is nowadays sent via email, with instructions. You can also request a demo license from http://www.gams.com/download.gamslice.txt
in the GAMS system directory. This invalidates the code signature and cause Gatekeeper to reject the bundle!/Library/Application Support/GAMS
and /Users/username/Library/Application Support/GAMS
. The locations can vary due to different system configuration. One can get an ordered list of data directories GAMS searches for gamslice.txt
by running the program ./gamsinst -listdirs
from the GAMS system directory. Even though this list might contain locations in the system directory, e.g. /Applications/GAMS31.1
we strongly discourage to place gamslice.txt
here../gamsinst
. It will prompt you for default solvers to be used for each class of models. If possible, choose solvers you have licensed since unlicensed solvers will only run in demonstration mode. These solver defaults can be changed or overridden by:./gamsinst
and resetting the default valuesgams trnsport lp=soplex
option lp=soplex;
./gamsinst
. It is also good practice to rerun ./gamsinst
when you change your license file if this has changed the set of licensed solvers.csh
) and its variants you can modify your .cshrc
file by adding the second of the two lines given below: sh
) or Korn (ksh
) shells and their variants can modify their .profile
file by adding the second of the three lines below: If the .profile
file does not exist yet, it needs to be created. You should log out and log in again after you have made any changes to your path..cshrc
file: The correct Bourne or Korn shell syntax (either command line or .profile
) is: Again, you should log out and log in in order to put the alias settings in .cshrc
or .profile
into effect.Applications/GAMS/gams24.3_osx_x64_64_sfx
. It is assumed that a GAMS license file has been stored as /Users/doe/gamslice.txt
.Draft of Intro, Machine Description, and CPU Operations: | Tuesday, February 4 at 8am (start of class) |
Draft of Memory Operations: | |
Final report with all measurements plus code: | Thursday, March 12 at 8am (start of class) |
sysctl
on BSD, /proc
on Linux, System Profiler on Mac OS X, the cpuid
x86 instruction), or online. Gathering this informationshould not require much work, but in explaining and analyzing yourresults you will find these numbers useful. You should report atleast the following quantities: