Skip to content
Snippets Groups Projects
Select Git revision
  • 695cbc44f49c7c0f8811cb82802fda45253176de
  • master default protected
  • staggered-max
  • unifed-object
  • no_Amalgamated
  • standard_stb
  • parallel_doc_fix
  • release_0.9.3
  • cmake_mpich_tests
  • update_install
  • external_VORO
  • cmake_add_soversion
  • iterative_method
  • cmake_install
  • fixes_042023
  • tensor_max
  • personal/schulz3/tensor_max
  • releases/v0.9
  • ForceBasedDevel
  • refactor
  • feature/simple_test_cases
  • v0.9.3
  • v0.9.2
  • v0.9.1
  • v0.9.0
  • v0.9.0-rc2
26 results

build_mpi.sh

Blame
  • build_mpi.sh 735 B
    #!/bin/bash
    source $(cd "$(dirname "$0")"; pwd -P)/ci_funcs.sh
    
    # create badge
    create_badge "${BADGE_FILENAME}" build-mpi unknown "--color=#808080"
    [[ ${BADGE_ONLY} ]] && pushbadge_exit "${BADGE_FILENAME}" 0
    
    # load MPI environment
    load_MPI
    
    # build
    mkdir -p build && cd build
    
    if [[ $? == 0 ]]; then
    
        #CC=/usr/lib64/mpi/gcc/openmpi3/bin/mpicc CXX=/usr/lib64/mpi/gcc/openmpi3/bin/mpicxx FC=/usr/lib64/mpi/gcc/openmpi3/bin/mpif90 ${CMAKE} ..
        ${CMAKE} ..
        make VERBOSE=1
    
        if [[ $? == 0 ]]; then
            create_badge "${BADGE_FILENAME}" build-mpi passed --color=green
            pushbadge_exit "${BADGE_FILENAME}" 0
        fi
    fi
    
    create_badge "${BADGE_FILENAME}" build-mpi failed --color=red
    pushbadge_exit "${BADGE_FILENAME}" 1