Verified Commit de293168 authored by Marc Vef's avatar Marc Vef
Browse files

Initial Mogon3 profile

parent 0235d3f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,6 @@
################################################################################

pkg_install() {

    # if the profile compiles bmi, enable it
    if [[ -n "${PROFILE_DEP_NAMES['bmi']}" ]]; then
        USE_BMI="-DNA_USE_BMI:BOOL=ON"
@@ -73,6 +72,7 @@ pkg_install() {
        -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} \
        ${USE_BMI} ${USE_OFI} \
        ..
        #-DNA_USE_OFI:BOOL=ON -DNA_USE_UCX:BOOL=ON \
    make -j"${CORES}"
    make install
}
+82 −0
Original line number Diff line number Diff line
################################################################################
# Copyright 2018-2024, Barcelona Supercomputing Center (BSC), Spain            #
# Copyright 2015-2024, Johannes Gutenberg Universitaet Mainz, Germany          #
#                                                                              #
# This software was partially supported by the                                 #
# EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu).    #
#                                                                              #
# This software was partially supported by the                                 #
# ADA-FS project under the SPPEXA project funded by the DFG.                   #
#                                                                              #
# This file is part of GekkoFS.                                                #
#                                                                              #
# GekkoFS is free software: you can redistribute it and/or modify              #
# it under the terms of the GNU General Public License as published by         #
# the Free Software Foundation, either version 3 of the License, or            #
# (at your option) any later version.                                          #
#                                                                              #
# GekkoFS is distributed in the hope that it will be useful,                   #
# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                #
# GNU General Public License for more details.                                 #
#                                                                              #
# You should have received a copy of the GNU General Public License            #
# along with GekkoFS.  If not, see <https://www.gnu.org/licenses/>.            #
#                                                                              #
# SPDX-License-Identifier: GPL-3.0-or-later                                    #
################################################################################

# vi: ft=bash

# Variables to be imported into the scripts
declare -A wgetdeps clonedeps clonedeps_args clonedeps_patches extra_install_args
declare -a order

# Comment that should be displayed when printing the profile
comment="Dependencies for Mogon 2 supercomputer"

# Dependencies that must be downloaded directly
wgetdeps=(
    ["lz4"]="1.9.4"
    ["capstone"]="4.0.2"
    ["argobots"]="1.1"
    ["rocksdb"]="8.10.0"
    ["json-c"]="0.17-20230812"
    ["libzmq"]="4.3.5"
    ["cppzmq"]="4.10.0"
)

# Dependencies that must be cloned
clonedeps=(
#    ["libfabric"]="HEAD@v1.20.1"
    ["mercury"]="v2.3.1"
    ["margo"]="v0.15.0"
    ["syscall_intercept"]="2c8765fa292bc9c28a22624c528580d54658813d"
)

# Extra arguments for git clone
clonedeps_args=(
    ["mercury"]="--recurse-submodules"
)

# Patches that should be applied post-clone
clonedeps_patches=(
    ["syscall_intercept"]="syscall_intercept.patch"
)

# Ordering that MUST be followed when downloading
order=(
    "lz4" "capstone" "json-c" "mercury" "argobots" "margo" "rocksdb" "syscall_intercept" "libzmq" "cppzmq"
)

# Extra arguments passed to the installation script. As such, they can
# reference the following variables:
#  - CMAKE: a variable that expands to the cmake binary
#  - SOURCE_DIR: the directory where the sources for the package were
#               downloaded
#  - INSTALL_DIR: the directory where the package should be installed
#  - CORES: the number of cores to use when building
#  - PERFORM_TEST: whether tests for the package should be executed
extra_install_args=(
#    ["libfabric"]=""
)
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@
#include <config.hpp>

extern "C" {
#include <unistd.h>
#include <fcntl.h>
}