[petsc-users] problem configuring 3.8.3 with intel mpi
Matthew Knepley
knepley at gmail.com
Thu Mar 22 07:48:18 CDT 2018
On Thu, Mar 22, 2018 at 8:42 AM, Klaij, Christiaan <C.Klaij at marin.nl> wrote:
> Matt,
>
> The problem must be earlier, because it should be using mpicc for
> the check, not gcc. The mpi.h is found here by the 3.7.5 config:
>
Yes, I believe we took out the compiler finding stuff since the recommended
way to use the compiler
wrappers is
--with-cc=mpicc --with-cxx=mpicxx
so you want to change the option.
Matt
> Executing: mpicc -E -I/tmp/petsc-JIF0WC/config.setCompilers
> -I/tmp/petsc-JIF0WC/config.types -I/tmp/petsc-JIF0WC/config.headers
> -I/opt/intel/compilers_and_libraries_2017.1.132/linux/mpi/include
> -I/opt/intel/compilers_and_libraries_2017.1.132/linux/mpi/intel64/include
> /tmp/petsc-JIF0WC/config.headers/conftest.c
> stdout:
> # 1 "/tmp/petsc-JIF0WC/config.headers/conftest.c"
> # 1 "/tmp/petsc-JIF0WC/config.headers/confdefs.h" 1
> # 2 "/tmp/petsc-JIF0WC/config.headers/conftest.c" 2
> # 1 "/tmp/petsc-JIF0WC/config.headers/conffix.h" 1
> # 3 "/tmp/petsc-JIF0WC/config.headers/conftest.c" 2
> # 1 "/opt/intel/compilers_and_libraries_2017.1.132/linux/mpi/intel64/include/mpi.h"
> 1
>
> Note that the machine and ENV are exactly the same, the only
> change is 3.7.5 versus 3.8.3.
>
> Chris
>
> dr. ir. Christiaan Klaij | Senior Researcher | Research & Development
> MARIN | T +31 317 49 33 44 <+31%20317%20493%20344> | C.Klaij at marin.nl |
> www.marin.nl
>
> [image: LinkedIn] <https://www.linkedin.com/company/marin> [image:
> YouTube] <http://www.youtube.com/marinmultimedia> [image: Twitter]
> <https://twitter.com/MARIN_nieuws> [image: Facebook]
> <https://www.facebook.com/marin.wageningen>
> MARIN news: Office tool aNySIM integrated into real-time onboard software
> <http://www.marin.nl/web/News/News-items/Office-tool-aNySIM-integrated-into-realtime-onboard-software-1.htm>
>
> ------------------------------
> *From:* Matthew Knepley <knepley at gmail.com>
> *Sent:* Thursday, March 22, 2018 1:27 PM
> *To:* Klaij, Christiaan
> *Cc:* petsc-users at mcs.anl.gov
> *Subject:* Re: [petsc-users] problem configuring 3.8.3 with intel mpi
>
> 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 <+31%20317%20493%20344> | mailto:
>> C.Klaij at marin.nl | http://www.marin.nl
>>
>> MARIN news: http://www.marin.nl/web/News/News-items/Office-tool-aNySIM-i
>> ntegrated-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/>
>
>
--
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/42395875/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image69ccf8.PNG
Type: image/png
Size: 331 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180322/42395875/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image1535f1.PNG
Type: image/png
Size: 293 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180322/42395875/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image61e2e2.PNG
Type: image/png
Size: 333 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180322/42395875/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image231a77.PNG
Type: image/png
Size: 253 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180322/42395875/attachment-0003.png>
More information about the petsc-users
mailing list