Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: v6p3r1 - gfortran parallel mode

v6p3r1 - gfortran parallel mode 11 years 2 months ago #10132

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hello,

I compiled the new version v6p3r1 with gfortran and metis 5.0.2 in serial and parallel mode. Apparently I had no errors during the compilation step.
The serial mode works well but when launching a parallel simulation partel gives me the following error:
....
THE MESH PARTITIONING STEP STARTS
BEGIN PARTITIONING WITH METIS
ERROR: TRY TO RUN PARTEL WITH A SERIAL CONFIGURATION

PLANTE: PROGRAM STOPPED AFTER AN ERROR
RETURNING EXIT CODE: 0
STOP 0

With v6p2 the parallel mode worked fine.
To complicate my post: I tried to replace the v6p3r1 partel.exe with the v6p2 partel.exe. The partitioning step worked fine but then Telemac-2D calculated the same thing twice simultaneously using both processors.

Attached also my systel configuration file.


Thanks for any help!
Clemens
Attachments:
The administrator has disabled public write access.

v6p3r1 - gfortran parallel mode 11 years 2 months ago #10133

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

The parallel compilation is probably the same as your scalar. With the new version (v6p3) we have changed (simplified) the way we do switches between configurations (paravoid, mumpsvoid, etc. do not exist anymore). Instead you have to have the compiler directive in your command line at compilation time.

So you need to recompile the parallel version only with
-c wingfortmpi --clean
(to remove all binary files) and with
-DHAVE_MPI in your cmd_obj in your parallel configuration.

Hope this helps,
Sébastien.
The administrator has disabled public write access.
The following user(s) said Thank You: konsonaut

v6p3r1 - gfortran parallel mode 11 years 2 months ago #10134

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
PS: Please do update your profile under the "COMUNITY" page. Thank you.
The administrator has disabled public write access.

v6p3r1 - gfortran parallel mode 11 years 2 months ago #10135

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

I am also having troubles with v6p3r1.
I installed it correctly (with clean system option) for both scalar and parallel mode.

The scalar version starts normally. I have the following error message when launching T2D in parallel from a cas file edited with fudaa with version 6.2:
Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... parsing configuration file: C:\opentelemac\v6p3r1\configs\systel_opt.cfg


Running your CAS file for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    +> configuration: win7gforp
    +> root:          C:\opentelemac\v6p3r1
    +> version        v6p3
    +> options:       parallel mpi


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Running cas with telemac2d under C:\2156090_Hoting\T2D\2013_NNH_model\Kalibrering_316m3s\K23_70_23_Q
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... reading module dictionary
... running in English with  cas
_____________
runcode::main:
      C:\2156090_Hoting\T2D\2013_NNH_model\Kalibrering_316m3s\K23_70_23_Q:
   |runCAS: inconsistent CAS file: C:\2156090_Hoting\T2D\2013_NNH_model\Kalibrering_316m3s\K23_70_23_Q\cas    +> you may be using an inappropriate configuration: win7gforp    +> or may be wishing for parallel mode while using scalar configuration

I tried to launch T3D on one of my cases and it worked. I tried to launch T2D with a validation case, and it worked also. So I guess the solution should be in my steering file. Are any keyword been suppressed or modified between 6.2 and 6.3 ? No according to the "What's new?" section.

I enclose my cas file and my config file.

Thank you in advance for your help!
Regards

PL

File Attachment:

File Name: h8b76f15.txt
File Size: 4 KB


File Attachment:

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

v6p3r1 - gfortran parallel mode 11 years 2 months ago #10136

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Hi,

The keyword PARALLEL PROCESSORS is written twice

= 2 (in the first line)
and = 0 (in numerical parameters)

0 is inconsistant with parallel processing.

Hope this helps,
The administrator has disabled public write access.
The following user(s) said Thank You: pilou1253

v6p3r1 - gfortran parallel mode 11 years 2 months ago #10137

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Oops...
That was the solution.

Thank you!
PL
The administrator has disabled public write access.

v6p3r1 - gfortran parallel mode 11 years 2 months ago #10138

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hello,

with -DHAVE_MPI in cmd_obj parallel configuration I get the following error:
....
partitioner.o:partitioner.F:(.text+0x707): undefined reference to `metis_partmes
hdual_'
collect2.exe: error: ld returned 1 exit status
... The following command failed for the reason above
gfortran -fopenmp -fconvert=big-endian -frecord-marker=4 -v -lm -o C:\Opentelem
ac\v6p3r1\builds\wing64mpi\bin\partel_prelim.exe partitioner.o partel_prelim.o
C:\Opentelemac\v6p3r1\builds\wing64mpi\lib\utils\special\partel_prelim.lib C:\Opentelemac\MPICH2\lib\libfmpich2g.a

I don't have any idea..
Thanks in advance for any help.
Best regards,
Clemens
The administrator has disabled public write access.

v6p3r1 - gfortran parallel mode 11 years 2 months ago #10139

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

You might be missing the link to metis.
In the v6p3r1 it is now in lib_partel: and not in lib_parallel:

Hope it helps,
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.
The following user(s) said Thank You: konsonaut

v6p3r1 - gfortran parallel mode 11 years 2 months ago #10150

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Thank you all for the answers and your continuous efforts!

v6p3r1 works fine in scalar and parallel mode under Win7 with Gfortran.

Best regards,
Clemens
The administrator has disabled public write access.

v6p3r1 - gfortran parallel mode 11 years 2 months ago #10160

Hello,

Please excuse my inexperience, but how might I update the link to metis as suggested by Yoann? I've gotten a similar compilation error as Clemens (Post #10138) and I don't know how to resolve it.

Any help or suggestions would be greatly appreciated.

Best regards,
Chris


For reference, below is the error I receive during compilation (windows/gfortran/parallel):
...
partitioner.o:partitioner.F:(.text+0x78e): undefined reference to `metis_partmes
hdual_'
collect2.exe: error: ld returned 1 exit status
... The following command failed for the reason above
gfortran -march=nocona -Ofast -fopenmp -fconvert=big-endian -frecord-marker=4 -v
 -lm -o  C:\opentelemac\v6p3\builds\wingfortmpi\bin\partel_prelim.exe partitione
r.o partel_prelim.o  C:\opentelemac\v6p3\builds\wingfortmpi\lib\utils\special\pa
rtel_prelim.lib C:\opentelemac\MPICH2\lib\libfmpich2g.a
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: borisb

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