Welcome, Guest
Username: Password: Remember me

TOPIC: Compilation Error, V6P2r1, Windows, OpenMPI, Gfortran, Perl

Compilation Error, V6P2r1, Windows, OpenMPI, Gfortran, Perl 11 years 9 months ago #7408

  • mongodin
  • mongodin's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hello,

I'm trying to build opentelemac parallel with openmpi library. I'm using perl (Strawberry Perl 5.16 (32 bits)), gfortran 4.6.2 (MinGW 32), OpenMPI 1.6.2 (32 bits).

With this configuration I successfully build opentelemac 32 bits in scalar mode and also in 64 bits version with MinGW-64

But for building parallel version I have the following error :
fl32 /c  diffsel.f
'fl32' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
NMAKE : fatal error U1077: 'fl32' : return code '0x1'

In attachement you will find the complete log from "maktel all" command, executed in "[openTelemacDir]\v6p2r1\parallel\parallel_v6p2\sources" directory.

I can't find why building process is using fl32.exe (Microsoft Fortran) instead of gfortran.

I also put my systel.ini in attachment

If you have any clues or advices
Thanks for your help.

Tanguy
Attachments:
The administrator has disabled public write access.

Compilation Error, V6P2r1, Windows, OpenMPI, Gfortran, Perl 11 years 9 months ago #7421

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

I think the problems comes from your mpi how did you install it.
Did you use gfortran to install it?
Another point you might want to use mpif90 in systel-ini instead of mpif77 as the code is following Fortran 90 standard.

Cheers,
Yoann
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Compilation Error, V6P2r1, Windows, OpenMPI, Gfortran, Perl 11 years 9 months ago #7455

  • mongodin
  • mongodin's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hello,

Thank for replying, I did the following steps for installing openmpi

1/ Download and install OpenMPI_v1.6.2-1_win32.exe from open-mpi.org, I also notice, like you mention, that mpif90.exe is missing in this package.

2/ I updated parameters in systel.ini (FC_MPI, LK_MPI, LIBS_MPI and RUN_MPI),
I also copy "include" and "lib" directories from openmpi installation in a "opentelemac\mpi" directory, opentelemac seems need it, hardcoded directory or a parameter I missing ?

I also needed to change the parameter (MPI_ADDRESS_KIND=0) in "mpi\include\mpif-config.h" to (MPI_ADDRESS_KIND=1), which if it is not activated, produced some errors at compilation time.

I will check my openmpi installation, test the precompiled version from cygwin and I hope to not have to build it from source.

best regards

Tanguy
The administrator has disabled public write access.
Moderators: borisb

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