Home>

Currently, I am planning to make the source code for numerical calculation developed by a French company available in Ubuntu 18.04 of VirtualBox.
I'm not very familiar with work such as building and compiling, so I'm looking for various references and following the exact procedure.
However, please let me know because there are some things that I can't understand even if I look it up.

The source code isdownload page linkI downloaded it from.
What I want to use this time is "Code_Saturne 6.0".

Even if I ask the developer, I haven't received a reply, so I'm asking this question.

I get the following error during installation, could you please tell me the solution?

make [2]: Entering directory'/home/tsubasa/saturne/code_saturne-6.0.5.build/scotch_6.0.9.build/src/libscotch'
/ usr/bin/cc -O3 -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -Drestrict = __ restrict -DIDXSIZE64 -DINTSIZE64 -DSCOTCH_PTSCOTCH -DSCOTCH_VERSION_NUM = 6 -DSCOTCH_VERSION_NUM -lrt -pthread -Xlinker --no-as-needed
In file included from dummysizes.c: 92: 0:
common.h: 123: 21: fatal error: mpi.h: No such file or directory
 #include<mpi.h>
                     ^~~~~~~
compilation terminated.
Makefile: 3077: recipe for target'ptdummysizes' failed
make [2]: *** [ptdummysizes] Error 1
make [2]: Leaving directory'/home/tsubasa/saturne/code_saturne-6.0.5.build/scotch_6.0.9.build/src/libscotch'
Makefile: 72: recipe for target'ptscotch' failed
make [1]: *** [ptscotch] Error 2
make [1]: Leaving directory'/home/tsubasa/saturne/code_saturne-6.0.5.build/scotch_6.0.9.build/src/libscotch'
Makefile: 103: recipe for target'libptscotch' failed
make: *** [libptscotch] Error 2

below

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


I did a lot of research on this and installed other packages, but it didn't work.
Please give me a professor.

  • Answer # 1

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

    The development library for MPI may not be installed.
    There should be a package like mpi somehow -dev or mpi somehow -devel, so
    Please search the package according to your OS.

  • Answer # 2

    Did you google with the error message?
    where is #includeas described in fatal error: mpi.h: No such file or directory, and writing the file mpi.h with the full path will solve it?

    It's okay for a few months, so why not hire someone who is skilled in Linux, C, and C ++ to move on?

    Let's learn Japanese too. You can correct the question.
    Professor → Teaching