Skip to content

Missing MPI error compiling svFSI with Trilinos #80

@fppsvz

Description

@fppsvz

Dear all,
I'm writing to ask for a little help as I'm trying to install svFSI on a HPC cluster but consistently fail while making svFSI.
In particular, I got prompted the following messages:
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_WORKS)
-- Could NOT find MPI (missing: MPI_Fortran_FOUND) (found version "3.1")
which finally lead to:
" CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
MPI_LIBRARY "

Does somebody have an idea of what I'm doing wrong? FYI I'm using OpenMPI 3.1.4, Trilinos 12.12.1 (although I also tried with 13.5 with the same exact results). At the moment I'm calling ccmake as:

ccmake -DCMAKE_C_COMPILER:PATH=/opt/ohpc/pub/mpi/openmpi3-gnu8/3.1.4/bin/mpicc -DCMAKE_CXX_COMPILER:PATH=/opt/ohpc/pub/mpi/openmpi3-gnu8/3.1.4/bin/mpiCC -DCMAKE_Fortran_COMPILER:PATH=/opt/ohpc/pub/mpi/openmpi3-gnu8/3.1.4/bin/mpifort -DCMAKE_PREFIX_PATH:PATH=/opt/ohpc/pub/libs/gnu8/openmpi3/trilinos/12.12.1/lib/cmake/Trilinos ..

Thank you in advance for your help!

Best,
Filippo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions