Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

reitermarkus/parallel-systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parallel Systems

Solutions for the assignments at https://github.com/philippgs/uibk_parsys_19.

Local Setup

SSH Access

Passwordless SSH access to LCC2 must be configured as lcc2, i.e. ssh lcc2 should work.

Remote Setup

Scratch Symlink

Create a symlink to the scratch partition using

rake lcc2:symlink_scratch

Homebrew

Install using

rake lcc2:install_homebrew

and activate it with

eval $(~/.linuxbrew/bin/brew shellenv)

Boost

Install using

rake lcc2:install_boost

and use it in a Makefile with

CXX_FLAGS += -lboost_mpi -lboost_serialization

ifneq ("$(wildcard $(HOME)/.local/include)", "")
	CXX_FLAGS += -I"$(HOME)/.local/include"
endif

ifneq ("$(wildcard $(HOME)/.local/lib)", "")
	CXX_FLAGS += -L"$(HOME)/.local/lib" -Wl,-rpath,"$(HOME)/.local/lib"
endif

Rust

Install using

rake lcc2:install_rust

and activate it with

source ~/.cargo/env

OpenMPI 4.0.2

Install using

rake lcc2:install_openmpi

and activate it by activating Homebrew with

eval $(~/.linuxbrew/bin/brew shellenv)