Skip to content

Commit 6821650

Browse files
committed
Updated 3G switch to readme and miner help text
Switches version number to scheme as in automatic builds
1 parent b5ab8d9 commit 6821650

File tree

2 files changed

+48
-43
lines changed

2 files changed

+48
-43
lines changed

main.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ uint32_t cmdParser(vector<string> args, string &host, string &port, string &apiC
7676
}
7777

7878
if (args[i].compare("--version") == 0) {
79-
cout << "1.1 Updated release for BEAM main network (Jan 5th 2019)" << endl;
79+
cout << "1.0.63 for BEAM main network (Jan 6th 2019)" << endl;
8080
exit(0);
8181
}
8282
}
@@ -110,7 +110,7 @@ int main(int argc, char* argv[]) {
110110

111111
cout << "-====================================-" << endl;
112112
cout << " BEAM Equihash 150/5 OpenCL miner " << endl;
113-
cout << " v1.1, Jan 5th 2019 " << endl;
113+
cout << " v1.0.63, Jan 6th 2019 " << endl;
114114
cout << "-====================================-" << endl;
115115

116116
if (parsing != 0) {
@@ -128,6 +128,7 @@ int main(int argc, char* argv[]) {
128128
cout << " --key <key> The BEAM stratum server API key (required)" << endl;
129129
cout << " --devices <numbers> A comma seperated list of devices that should be used for mining (default: all in system)" << endl;
130130
cout << " --enable-cpu Enable mining on OpenCL CPU devices" << endl;
131+
cout << " --force3G Force miner to use max 3G for all installed GPUs" << endl;
131132
cout << " --version Prints the version number" << endl;
132133
exit(0);
133134
}

readme.md

+45-41
Original file line numberDiff line numberDiff line change
@@ -29,48 +29,52 @@ To list all devices that are present in the system and get their order start the
2929
Then all devices will be listed, but none selected for mining. The miner closes when no devices were
3030
selected for mining or all selected miner fail in the compatibility check.
3131

32+
### --force3G (Optional)
33+
Force the miner to use the 3G implementation even if the GPUs have 4G or more. This can resolve compatibility
34+
problems with 4G GPUs with screen attached or uncommon memory configurations like Nvidia GTX 970.
35+
3236
# How to build
33-
## Windows
34-
1. Install Visual Studio >= 2017 with CMake support.
35-
1. Download and install Boost prebuilt binaries https://sourceforge.net/projects/boost/files/boost-binaries/1.68.0/boost_1_68_0-msvc-14.1-64.exe, also add `BOOST_ROOT` to the _Environment Variables_.
36-
1. Download and install OpenSSL prebuilt binaries https://slproweb.com/products/Win32OpenSSL.html (`Win64 OpenSSL v1.1.0h` for example).
37-
1. Download and install CUDA Toolkit https://developer.nvidia.com/cuda-downloads
38-
1. Add `.../boost_1_68_0/lib64-msvc-14.1` to the _System Path_.
39-
1. Open project folder in Visual Studio, select your target (`Release-x64` for example, if you downloaded 64bit Boost and OpenSSL) and select `CMake -> Build All`.
40-
1. Go to `CMake -> Cache -> Open Cache Folder -> beam-opencl-miner` (you'll find `beam-opencl-miner.exe`).
41-
42-
## Linux (Ubuntu 14.04)
43-
1. Install `gcc7` `boost` `ssl` packages.
44-
```
45-
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
46-
sudo apt update
47-
sudo apt install g++-7 libboost-all-dev libssl-dev -y
48-
```
49-
2. Set it up so the symbolic links `gcc`, `g++` point to the newer version:
50-
```
51-
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 \
52-
--slave /usr/bin/g++ g++ /usr/bin/g++-7
53-
sudo update-alternatives --config gcc
54-
gcc --version
55-
g++ --version
56-
```
57-
3. Install OpenCL
58-
```
59-
sudo apt install ocl-icd-* opencl-headers
60-
```
61-
4. Install latest CMake
62-
```
63-
wget "https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh"
64-
sudo sh cmake-3.12.0-Linux-x86_64.sh --skip-license --prefix=/usr
65-
```
66-
5. Go to beam-opencl-miner project folder and call `cmake -DCMAKE_BUILD_TYPE=Release . && make -j4`.
67-
6. You'll find _beam-opencl-miner_ binary in `bin` folder.
68-
69-
## Mac
70-
1. Install Brew Package Manager.
71-
1. Installed necessary packages using `brew install openssl boost cmake` command.
72-
1. Add `export OPENSSL_ROOT_DIR="/usr/local/opt/openssl"` to the _Environment Variables_.
73-
1. Go to beam-opencl-miner project folder and call `cmake -DCMAKE_BUILD_TYPE=Release . && make -j4`.
37+
## Windows
38+
1. Install Visual Studio >= 2017 with CMake support.
39+
1. Download and install Boost prebuilt binaries https://sourceforge.net/projects/boost/files/boost-binaries/1.68.0/boost_1_68_0-msvc-14.1-64.exe, also add `BOOST_ROOT` to the _Environment Variables_.
40+
1. Download and install OpenSSL prebuilt binaries https://slproweb.com/products/Win32OpenSSL.html (`Win64 OpenSSL v1.1.0h` for example).
41+
1. Download and install CUDA Toolkit https://developer.nvidia.com/cuda-downloads
42+
1. Add `.../boost_1_68_0/lib64-msvc-14.1` to the _System Path_.
43+
1. Open project folder in Visual Studio, select your target (`Release-x64` for example, if you downloaded 64bit Boost and OpenSSL) and select `CMake -> Build All`.
44+
1. Go to `CMake -> Cache -> Open Cache Folder -> beam-opencl-miner` (you'll find `beam-opencl-miner.exe`).
45+
46+
## Linux (Ubuntu 14.04)
47+
1. Install `gcc7` `boost` `ssl` packages.
48+
```
49+
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
50+
sudo apt update
51+
sudo apt install g++-7 libboost-all-dev libssl-dev -y
52+
```
53+
2. Set it up so the symbolic links `gcc`, `g++` point to the newer version:
54+
```
55+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 \
56+
--slave /usr/bin/g++ g++ /usr/bin/g++-7
57+
sudo update-alternatives --config gcc
58+
gcc --version
59+
g++ --version
60+
```
61+
3. Install OpenCL
62+
```
63+
sudo apt install ocl-icd-* opencl-headers
64+
```
65+
4. Install latest CMake
66+
```
67+
wget "https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh"
68+
sudo sh cmake-3.12.0-Linux-x86_64.sh --skip-license --prefix=/usr
69+
```
70+
5. Go to beam-opencl-miner project folder and call `cmake -DCMAKE_BUILD_TYPE=Release . && make -j4`.
71+
6. You'll find _beam-opencl-miner_ binary in `bin` folder.
72+
73+
## Mac
74+
1. Install Brew Package Manager.
75+
1. Installed necessary packages using `brew install openssl boost cmake` command.
76+
1. Add `export OPENSSL_ROOT_DIR="/usr/local/opt/openssl"` to the _Environment Variables_.
77+
1. Go to beam-opencl-miner project folder and call `cmake -DCMAKE_BUILD_TYPE=Release . && make -j4`.
7478
1. You'll find _beam-opencl-miner_ binary in `bin` folder.
7579

7680

0 commit comments

Comments
 (0)