Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 94076599 authored by Philipp Samfaß's avatar Philipp Samfaß
Browse files

changed copyright + added support for CMake

parent b89def39
......@@ -16,6 +16,7 @@ of that module.
Copyright (c) 2018-2019, Durham University
Copyright (c) 2018-2021, Technical University of Munich
All rights reserved.
......
cmake_minimum_required(VERSION 3.05)
project(teaMPI)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(MPI REQUIRED)
include_directories(${MPI_INCLUDE_PATH})
#option(ENABLE_ASSERTS "Compiles assertions if set" OFF)
#option(ENABLE_DEBUG "Compile debug mode" OFF)
option(ENABLE_SMARTMPI "Enables support for SmartMPI library" OFF)
#if(ENABLE_DEBUG)
# set(CMAKE_CXX_COMPILER_FLAGS ${CMAKE_CXX_COMPILER_FLAGS} " -DENABLE_ASSERTS")
#endif()
if(ENABLE_SMARTMPI)
set(CMAKE_CXX_COMPILER_FLAGS ${CMAKE_CXX_COMPILER_FLAGS} "-DUSE_SMARTMPI")
endif()
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
# using Clang
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(CMAKE_CXX_COMPILER_FLAGS ${CMAKE_CXX_COMPILER_FLAGS} -std=c++11 -Wall -Wextra -pedantic -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -Wno-empty-body)
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
# using Intel C++, todo
set(CMAKE_CXX_COMPILER_FLAGS ${CMAKE_CXX_COMPILER_FLAGS} )
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
# using Visual Studio C++
endif()
add_library(tmpi SHARED
Rank.cpp
Rank.h
RankControl.cpp
RankControl.h
Timing.cpp
Timing.h
Wrapper.cpp
Wrapper.h
teaMPI.cpp
teaMPI.h
CommStats.cpp
CommStats.h)
#CC=mpiicpc
#CFLAGS += -fPIC -g -Wall -std=c++11 -I${HOME}/mpi_offloading/offloading_lib
#LDFLAGS += -shared -L${HOME}/mpi_offloading/offloading_lib -lmpioffloading
#SRC = Rank.cpp RankControl.cpp Timing.cpp Wrapper.cpp teaMPI.cpp CommStats.cpp
#DEP = Rank.h RankControl.h Timing.h Wrapper.h Logging.h teaMPI.h CommStats.h
#OBJECTS = $(SRC:.cpp=.o)
#TARGET = libtmpi.so
......@@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.
PROJECT_NAME = "Peano 4"
PROJECT_NAME = "TeaMPI"
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version
......@@ -51,7 +51,7 @@ PROJECT_BRIEF =
# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo
# to the output directory.
PROJECT_LOGO = http://www.peano-framework.org/wp-content/uploads/2019/03/Peano-1-298x300.png
#PROJECT_LOGO = http://www.peano-framework.org/wp-content/uploads/2019/03/Peano-1-298x300.png
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
# into which the generated documentation will be written. If a relative path is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment