Welcome, Guest
Username: Password: Remember me

TOPIC: Parallel compilation error: can't open included file 'mpif.h'

Parallel compilation error: can't open included file 'mpif.h' 8 years 9 months ago #19630

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi all,

I am trying to install version 7.1.0 in parallel on Win7 using gfortran.
I used a cfg file that was working with version 7.0.1, see attached.

I got the following error message: can't open included file 'mpif.h'.


compileerror.png



I do have a mpif.h file in incs_parallel: -I C:\opentelemac\mpi\include
and MPI seems to be running properly (I did not reinstall it between 7.0.1 and now).

Any idea of what is causing this problem?

Thank you in advance!

Best regards
PL

File Attachment:

File Name: systel.cfg
File Size: 2 KB
The administrator has disabled public write access.

Parallel compilation error: can't open included file 'mpif.h' 8 years 9 months ago #19632

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
The problem comes from the use of a previous systel.cfg
There was at least a small change which generate this problem
Look at INC_SPECIAL in the config file

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: pilou1253, amanj2013, huyquangtran

Parallel compilation error: can't open included file 'mpif.h' 8 years 1 month ago #23899

  • julesleguern
  • julesleguern's Avatar
Hi,

I'm try to compile TELEMAC with python27 and Intel fortran on windows 7. When I launch compileTELEMAC.py, the compilation stop after few seconds and I can't fix it. The same error message than pilou appears. I can't see INC_SPECIAL in my config file.

Could you help me please?

regards

Jules
Attachments:
The administrator has disabled public write access.

Parallel compilation error: can't open included file 'mpif.h' 8 years 1 month ago #23900

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
You have to add it according to the others examples available
Regards
Christophe
The administrator has disabled public write access.

Parallel compilation error: can't open included file 'mpif.h' 8 years 1 month ago #23901

  • julesleguern
  • julesleguern's Avatar
Thanks.

Now I have the following error message about xilib.exe
I try to launch xilib.exe before compile TELEMAC but it doesn't fix the problem.

Have you an idea?

regards.

Jules
Attachments:
The administrator has disabled public write access.

Parallel compilation error: can't open included file 'mpif.h' 8 years 1 month ago #23902

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi,

I attach the systel.cfg file I use with version 7.1 after having made the modifications suggested by Christophe in his first post.
Hope it helps you to get that sorted out!

Good luck!

Best regards
PL

File Attachment:

File Name: systel_2016-10-06.cfg
File Size: 2 KB
The administrator has disabled public write access.

Parallel compilation error: can't open included file 'mpif.h' 8 years 1 month ago #23905

  • julesleguern
  • julesleguern's Avatar
Thanks Pilou but you used gfortran compiler and I use Intel fortran.
I try your cfg file with my config to intel but it doesn't works. So I suppose I have a problem with Intel.

Thanks again.

regards

Jules
The administrator has disabled public write access.

Parallel compilation error: can't open included file 'mpif.h' 8 years 1 month ago #23916

Yes, I also had a problem compiling with intel Fortran for the versions 7 the previous versions did compile (e.g. 6.3) so I ended up using gfrotran which is at least 10 to 15% slower based on my experience. I also would be very interested in a config file that works with intel and windows 7 / 8 and mpich

regards
TonyC
The administrator has disabled public write access.
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.