Welcome, Guest
Username: Password: Remember me

TOPIC: Compiling makepar90 / gfortran / Win7x64

Re: Compiling makepar90 / gfortran / Win7x64 11 years 7 months ago #8329

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
I did the changes you asked and compilation completed successfully. However, the run did not complete, as before. Here are the files you asked (plus the output from partel):

File Attachment:

File Name: t2d_201_wing64mpi.txt
File Size: 4 KB

File Attachment:

File Name: run_t2d_201.cmd.txt
File Size: 0 KB

File Attachment:

File Name: t2d_malpasset-large.cas.txt
File Size: 2 KB

File Attachment:

File Name: partel_T2DGEO.log
File Size: 2 KB

File Attachment:

File Name: partel_T2DREF.log
File Size: 2 KB


Costas
The administrator has disabled public write access.

Re: Compiling makepar90 / gfortran / Win7x64 11 years 7 months ago #8332

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

Could you try to launch the executable from the temporary directory.
Just type the command you got at the end of the file t2d_201_wing64mpi.txt
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.

Re: Compiling makepar90 / gfortran / Win7x64 11 years 7 months ago #8335

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello,

I did that and it made no difference, the run failed again. In the meantime, I went through the gfortran manual and found the following:

1. mpif90.exe applies only to linux
2. In order to compile openmp code in gfortran, the '-fopenmp' flag should be added.

I did add the flag like it is shown below, compiled the code, but again no success.
cmd_obj:    x86_64-w64-mingw32-gfortran -c -O3 -ffixed-line-length-132 -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib:    ar cru <libname> <objs>
cmd_exe:    x86_64-w64-mingw32-gfortran -fopenmp -fconvert=big-endian -frecord-marker=4 -v -o  <exename> <objs> -Xlinker --start-group <libs>

I have no programming knowledge, so there is little I can do from here. I hope somebody else has a go at it.

Costas
The administrator has disabled public write access.

Compiling makepar90 / gfortran / Win7x64 11 years 7 months ago #8345

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
This is weird.
You don't have an error message when you tried to run manually it in the temporary folder?
In the v6p2 the error handling was not efficient so sometimes some error got lost.

The only cause i could think of is if your mpi was not compile with the same compiler as the rest of your code.
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.

Compiling makepar90 / gfortran / Win7x64 11 years 7 months ago #8347

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
I got absolutely no error. It just returned to the dos prompt after a couple of seconds. I cannot think of a way 2 different compilers could be used in my case. PATH envar is carefully set.

I have tried to compile in parallel the fortran example in the mpich2 folder (fpi.f) and although it runs in serial mode, when I try to execute with mpiexec, it fails.

The first time I tried to run the fpi.exe, windows asked me for a firewall exemption (I authorized and it never asked again). Maybe it is a firewall issue that interferes with the execution of telemac as well. The thing is that the parallel version with Intel fortran runs OK...

Has anybody managed to compile successfully telemac with gfortran/mpich2/windows? I would be crucial to know if it is a general issue, or something that has to do with my computer/configuration/installation/gfortran version etc.
The administrator has disabled public write access.

Compiling makepar90 / gfortran / Win7x64 11 years 7 months ago #8353

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
The thing is that mpi is not a compiler on its own it is just a wrapper on the compiler you use to install it.
So if mpi was installed with a different compiler...

I hope you can find someone in the community who manages to solve that.
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.

Compiling makepar90 / gfortran / Win7x64 11 years 6 months ago #8523

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Hi,

What about the authentification procedure?

Did you register both your username and password with wmpiregister.exe? What about your passphrase?
You can also force smpd.exe to restart with "smpd -remove" and then "smpd -install". You can also play with wmpiconfig & wmpiregister.

Anyway, fpi has to work before trying to run openTelemac in parallel.

Related posts:
Regards,

Fabien Decung
The administrator has disabled public write access.

Compiling makepar90 / gfortran / Win7x64 11 years 6 months ago #8574

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hi, thanks for your help.

I run the
mpiexec -validate
command and I get a SUCCESS message, so I believe it is not an authentication issue. Furthermore, the Intel Fortran compiled version of telemac runs in parallel without a problem. It's the gfortran that doesn't.

Costas
The administrator has disabled public write access.

Compiling makepar90 / gfortran / Win7x64 11 years 6 months ago #8599

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello,

Today I can confirm that I have managed to run validation cases in parallel, using gfortran in Windows environment. The problems I described in the previous posts don't occur any more without actually changing something. Maybe a reboot of the PC cleared a configuration issue and I never tested the parallel installation until today. I will make a separate post with my configuration so that others can confirm.

Costas
The administrator has disabled public write access.

Compiling makepar90 / gfortran / Win7x64 11 years 3 months ago #9926

  • dsakamoto
  • dsakamoto's Avatar
Hello,
I have also been trying to get a Windows x64 machine that currently works in Scalar Mode to run in Parallel. Recompiling with MAKEPAR90 results in several errors, with one repetative error being it cannot find parallelV6P2.lib. Is something going wrong early in the compilation that prevents that library from being set up?

I am using GFortran, and am still using PERL.
The administrator has disabled public write access.
Moderators: borisb

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