Download and extract GCC from LINK NEEDED
Open a command prompt and navigate to the extracted folder
Run "mingvars.bat"
This page contains instructions for the installation of tools used in the IPDC workshop
Download and extract GCC from LINK NEEDED
Open a command prompt and navigate to the extracted folder
Run "mingvars.bat"
Download and extract GCC from LINK NEEDED
Start Code Blocks, to to Settings->Compiler
In the Settings Window, go to Compiler Settings
Under "Other compiler options" add "-fopenmp" into the textbox
Under "Linker settings" add "-lgomp" to "Other linker options" textbox.
Under "Toolchain Executables" change the following variables
If there are one or more existing projects, clean and rebuild the projects
Visual instructions can be found here(link missing)
Visual Studio 2015 or later recommended
For Visual Studio Version 2013 or eariler do the following steps first
Open a new empty project
Open the Solution Explorer, right click on new opened solution(++ sign)
In the popup menu, go to Configuration Properties
In the new window go to C/C++ -> Langauge
click Open MP Support-> select yes from the drop box
g++ should already be on the command line
The default gcc compiler included in MacOs does not support openMP. In order to work around this a secondary compiler is required
Install homebrew using /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install gcc using /usr/local/bin/brew install gcc
use g++-11 as the commpile command.
Download openmp_confirm.cpp
Compile the program
run "openmp_confirm"
Output should be the following:
Go to the Adoptium Java 11 downloads page
Fill in the information for your computer architecture
Download the .msi
Run the .msi and enable "Set JAVA_HOME varible" in the install wizard
Install homebrew (see C++ on MacOs section)
open a terminal and run "/usr/local/bin/brew install javall"
Run "sudo apt-get install openjdk-11-jdk" in a terminal
If you already have a different version of java installed. run "update-alternatives --config java"
Verify installation with "javac -version"
Download and install Python for your Os at https://www.python.org/downloads/
Check "Add Python 3.9 to path"
Should be installed by default (see Confirm Installation)
If not installed
Should be installed by default (see Confirm Installation)
If not installed
Run "python --version" in a command terminal
Prerequisite: Java JDK 11
Download and unzip Pyjama.zip
Navigate a command terminal to the extracted folder.
Download and unzip PyjamaConfirm.java
You should see the following lines output (order does not matter):
Prerequisite: Java JDK 11 and Python3
Download and unzip OpenMPy.zip
Navigate to extracted folder and open command prompt
Run "pip install -r requirements.txt"
Run "setpath.bat"
Download and unzip OpenMPy.zip
Navigate to extracted folder and open terminal
Run "pip3 install -r requirements.txt"
Run "source setpath.sh"
Download and extract openmpy_confirm.pyjama
Run "jython openmpy_confirm.py"
You should see the following output (Order doesn't matter)