Welcome, Guest
Username: Password: Remember me

TOPIC: Error compilation v6p3r1

Error compilation v6p3r1 11 years 1 month ago #10504

  • Flo64
  • Flo64's Avatar
Hi everybody,

I try to compile the version v6p3r1 with gfortran with the configuration 'dbgfopenmpi'.

But i have this error:

/PROJETS/oceano/softs/Outils_telemac/v6p3r1/v6p3r1/sources/utils/parallel/declarations_parallel.F:4: Error: Can't open included file 'mpif.h'
... The following command failed for the reason above

Have you got an idea to correct this problem?

I put my configuration file

File Attachment:

File Name: h9c554a9.cfg
File Size: 3 KB


Thanks in advance
Florian
The administrator has disabled public write access.

Error compilation v6p3r1 11 years 1 month ago #10526

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

you should check that you indeed have the file "mpif.h" within the directory /usr/lib/openmpi/include (in your key incs_parallel).

Note that unless you use -c in your command line to point to debgfopenmpi, the compilation will try to compile all configurations you have in
[Configurations]
configs: debgfopenmpi debgfopenmpidbg debgfortrans debgfortransdbg

Rather, if you use just one configuration, I would recommend you set:
[Configurations]
configs: debgfopenmpi

Hope this helps,
Sébastien.
The administrator has disabled public write access.
Moderators: borisb

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