KubeSolver is a command line tool.
So it means that you can't run it as most other programs with just double-click but instead you have to run it from a console or a terminal.
On mac OS default console is Terminal.
In order to be able to use KubeSolver you need to understand the following concepts:
That should be clear. KubeSolver reads input from standard input and it's the easiest to pass text files as input.
You need to know that all files you write to the disk have a logical address. E.g. if you just save files on your desktop their address is /Users/username/Desktop/
Open Launchpad, type
Terminal and click it. Then type commands into it. Use combination of commands
mkdir to navigate through file system. Hint: you can also drop files on the terminal to reveal their paths. It's best if you download KubeSolver and put it into it's own directory e.g.
Different files have different meaning. Some of them are text files, some of them have complex content (e.g. images, etc.) and some of them are programs that system can run.
When you download kubesolver.out from the internet and copy it to it's desired location you first have to tell your computer that it's an executable with
chmod +x kubesolver.out
To run an executable named
runme.out you have to type
./runme.out. Note that if you ommit starting
./ the system will think that you want to run a command instead of a file and will show an error like "unknown command runme.out"
To give parameters to a program you write them after the name of the executed file like this:
./runme.out param1 param2 param3
To pass a file as an input to a program you use a
< character like this:
./runme.out < in.txt
If a program writes it's output to Standard Output (like kubesolver does) then by default it will be printed to the console. If you want it to be printed to a file instead you can tell it to the system with a
> character like this:
./runme.out < in.txt > out.txt
To run kubesolver on a prepared input file you have to first
cd into directory with kubesolver and then call
./kubesolver.out < in.txt
For more examples on example inputs and running options please refer to the readme linked from the main page of a project.