fatal error: mpi.h: No such file or directory #include

前端 未结 7 1322
迷失自我
迷失自我 2020-12-08 00:50

when I compile my script with only

#include 

it tells me that there is no such file or directory. But when i include the path

7条回答
  •  甜味超标
    2020-12-08 01:16

    Debian appears to include the following:

    • mpiCC.openmpi
    • mpic++.openmpi
    • mpicc.openmpi
    • mpicxx.openmpi
    • mpif77.openmpi
    • mpif90.openmpi

    I'll test symlinks of each for mpic, etc., and see if that helps the likes of HDF5-openmpi enabled find mpi.h.

    Take that back Debian includes symlinks via their alternatives system and it still cannot find the proper paths between HDF5 openmpi packages and mpi.h referenced in the H5public.h header.

提交回复
热议问题