[petsc-users] problem configuring 3.8.3 with intel mpi

Matthew Knepley knepley at gmail.com
Thu Mar 22 07:27:43 CDT 2018


On Thu, Mar 22, 2018 at 8:00 AM, Klaij, Christiaan <C.Klaij at marin.nl> wrote:

> Satish,
>
> I'm trying to upgrade from 3.7.5 to 3.8.3. The first problem is
> that my intel mpi installation, which works for 3.7.5, fails with
> 3.8.3, see the attached logs. It seems that the mpi compilers are
> not found anymore. Any ideas?
>

The header check failed:

                  Checking include with compiler flags var CPPFLAGS
['/opt/intel/compilers_and_libraries_2017.1.132/linux/mpi/include']
Executing: gcc -E  -I/tmp/petsc-8GlPlN/config.setCompilers
-I/tmp/petsc-8GlPlN/config.types -I/tmp/petsc-8GlPlN/config.headers
-I/opt/intel/compilers_and_libraries_2017.1.132/linux/mpi/include
/tmp/petsc-8GlPlN/config.headers/conftest.c
stdout:
# 1 "/tmp/petsc-8GlPlN/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "/tmp/petsc-8GlPlN/config.headers/conftest.c"
# 1 "/tmp/petsc-8GlPlN/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-8GlPlN/config.headers/conftest.c" 2
# 1 "/tmp/petsc-8GlPlN/config.headers/conffix.h" 1
# 3 "/tmp/petsc-8GlPlN/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-8GlPlN/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "/tmp/petsc-8GlPlN/config.headers/conftest.c"
# 1 "/tmp/petsc-8GlPlN/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-8GlPlN/config.headers/conftest.c" 2
# 1 "/tmp/petsc-8GlPlN/config.headers/conffix.h" 1
# 3 "/tmp/petsc-8GlPlN/config.headers/conftest.c" 2stderr:
/tmp/petsc-8GlPlN/config.headers/conftest.c:3:17: fatal error: mpi.h: No
such file or directory
 #include <mpi.h>
                 ^
compilation terminated.
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>
Preprocess stderr before
filtering:/tmp/petsc-8GlPlN/config.headers/conftest.c:3:17: fatal error:
mpi.h: No such file or directory
 #include <mpi.h>

Where are the headers?

  Thanks,

    Matt


> Chris
>
>
> dr. ir. Christiaan Klaij  | Senior Researcher | Research & Development
> MARIN | T +31 317 49 33 44 | mailto:C.Klaij at marin.nl | http://www.marin.nl
>
> MARIN news: http://www.marin.nl/web/News/News-items/Office-tool-aNySIM-
> integrated-into-realtime-onboard-software-1.htm
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180322/fe790bee/attachment.html>


More information about the petsc-users mailing list