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

TOPIC: Parallel installation of v6p2 with gfortran

Parallel installation of v6p2 with gfortran 12 years 2 months ago #5655

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

I know that this topic is nearly the same as others dealing with individual configuration but I haven't found my solution yet.

I would like to update my telemac system to v6p2 in parallel on windows operating system with a free fortran compiler.

I've downloaded the last release on the SVN repository (as recommended). I have both perl and python (but as suggested I will use python). I succesfully setup MPICH2.

I fail trying to compile the METIS 5.0.2 library. I've seen somewhere on the website that compiling METIS is not an easy task and that both 32 and 64 bits libraries are can be downloaded on the website. From that point I'm still confused with the website suggestion :

On MS Windows operating systems, unfortunately we have not yet found an easy way to compile the METIS library locally. Therefore, you have to download the pre-compiled library from the website above, which is only valid for the Intel Fortran compiler.
Should you have any question with this, we could provide you with the pre-compiled PARTEL utility, so you would not need to worry about METIS nor having to compile PARTEL.
Again, you will have to update the TELEMAC configuration file to complete your installation procedure with Python (see below).


Does it mean that we can download the precompiled library and ask you for a compilation of PARTEL (and that this library and PARTEL when updated can be used with another fortran compiler)?

Thanks for your help.

Alexis
The administrator has disabled public write access.

Parallel installation of v6p2 with gfortran 12 years 2 months ago #5660

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
The metis problem is strange because in version 4 the configuration files was already done and you just have to check the compiler call

I didn't see the metis 5 distribution but i supposeit's similar.

nevertheless, metis is require only to compile partel and it's not necessary for telemac. so i think you could compile telemac and then find a solution for partel. As a first idea, you could try to use the partel of your previous version...

Regards
Christophe
The administrator has disabled public write access.

Parallel installation of v6p2 with gfortran 12 years 2 months ago #5678

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

Thanks for the advice. I will see later how to deal with metis and partel.

Let's focus on telemac parallel compiling.

It's my first attempt to compile a parallel version of telemac and as it's now recommended, it's also my first time compiling it with python.

I have difficulties filling my systel.cfg. I've seen various example of sistel.cfg files but I can't find my configuration.When compiling, the gredelmet_autop.exe is created but it fails when moving on artemis.

windows - gfortran - MPICH 2.

The cases with a gfortran compiler for parallel version are used under LINUX system (commands are slightly different).
Windows cases of parallel configuration use intel fortran.

I probably made error filling cmd_obj, cmd_lib, cmd_exe and or mpi_cmdexec.

If anyone could help me filling these keys it would be great. You can find my systel.cfg and the error message.

Thanks for your help.
Attachments:
The administrator has disabled public write access.

Parallel installation of v6p2 with gfortran 12 years 2 months ago #5680

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

It seems your problem comes from the mpich2 library which is not found by the compiler.
this file should be declare in the config file in the 'libs_all' keyword

Hope this helps
Christophe
The administrator has disabled public write access.

Parallel installation of v6p2 with gfortran 12 years 2 months ago #5681

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
I've renamed my systel.cfg to systel.txt just to attach it to my post.

my libs_all is set to MPICH2.

I've no idea how to check if my MPICH2 is correctly set up. The mpiexec command works.

Thanks,
Attachments:
The administrator has disabled public write access.

Parallel installation of v6p2 with gfortran 12 years 2 months ago #5684

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Ok but is there a fmpich2.lib available a the given location?
During the link step, it seems the compiler cannot find this library...

Regards
Christophe
The administrator has disabled public write access.

Parallel installation of v6p2 with gfortran 12 years 2 months ago #5686

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Yes there is.

It may come from my cmd_exe that I don't know how to fill.

It may also come from my MPICH2 instalation ?

Regards
The administrator has disabled public write access.

Parallel installation of v6p2 with gfortran 12 years 1 month ago #5692

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

As your problem appear during the compilation step, this is not linked to the execution command line.
The compilation step is not affected by the MPICH2 installation, it just need an access to the library...

Maybe your library isn't compatible with your compiler?

Hope this helsp
Christophe
The administrator has disabled public write access.

Parallel installation of v6p2 with gfortran 12 years 1 month ago #5698

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

Thank you for your help Christophe. I installed the binary distribution of MPICH2-1.4.1p1. Could it be the reason of my problem ? Do I have to build MPICH2 from the sources (It doesn't look simple at all)?

Again, I haven't seen configuration of parallel installation running under windows with gfortran or g95.
Maybe, my configuration is unappropriate.

Regards,
Alexis
The administrator has disabled public write access.

Parallel installation of v6p2 with gfortran 12 years 1 month ago #5700

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

The MPICH2 version seems OK.
But you should look on the website if the library which is available is compatible with gfortran and take care to use the right version 32/64 bits.
Another idea, it seems to me that you should have an access to mpif.h (or a similar name) so maybe this file is not visible for the compiler ... this is managed by an include line of config file (INCS_PARALLEL)

I don't know the reason why there is no parallel configuration with gfortran or g95 but I know there was some small problems with these compiler by the past when you add user fortran subroutines in your case (compilation require before running)
Christophe
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.