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

TOPIC: Compiling parallel TELEMAC on Windows 7 using Cygwin

Compiling parallel TELEMAC on Windows 7 using Cygwin 11 years 6 months ago #8498

Hello,

I've been using a scalar windows installation of TELEMAC-2D with success, and am now interested in compiling a parallel installation. Unfortunately, I don't have access to an Intel Fortran compiler, so I wanted to ask if anybody has ever tried compiling the additional necessary libraries using Cygwin? Or even compiling all of TELEMAC within Cygwin, and then running all simulations through the Terminal?

Does anyone know if this is possible, or know why it would not work?

Thank you,
Chris
The administrator has disabled public write access.

Compiling parallel TELEMAC on Windows 7 using Cygwin 11 years 6 months ago #8518

Dear TELEMAC Community,

pham wrote:
...
PS3: if you use Cygwin to emulate Linux on your Windows computer, you can have ifort for free.

The above quote from Pham, partially answers my original question. However I'm still wondering, if I compile TELEMAC within a Linux emulator, could I run a parallel installation on my Windows machine? (Without a Windows version of Intel Visual Fortran) I imagine simulations would have to be ran exclusively through the Cygwin terminal after that, but having the option to run in parallel would be very beneficial.

Does anybody know if this is a feasible option to pursue? Or if utilizing the emulator would cause major performance set-backs?

Any feedback would be much appreciated.

Best regards,
Chris

Quoted post: Post_#6365
The administrator has disabled public write access.

Compiling parallel TELEMAC on Windows 7 using Cygwin 11 years 6 months ago #8522

  • gourish
  • gourish's Avatar
Hi,
I have been able to compile telemac using cygwin in parallel.

To compile you will have to install all the prequisite required for Telemac, from the cygwin istallation setup. During the process of cygwin installation you will be provided with all package option; Select, python 2.7, openmpi etc.

The rest of the telemac compilation is the same as any installation on a unix system. However use the cygwin terminal for compiling.

Regards,
Gourish
The administrator has disabled public write access.

Compiling parallel TELEMAC on Windows 7 using Cygwin 11 years 6 months ago #8526

  • gourish
  • gourish's Avatar
Hi Chris,

I have attached the configuration file which I had used for Telemac compilation using cygwin.

With best regards,
Gourish

File Attachment:

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

Compiling parallel TELEMAC on Windows 7 using Cygwin 11 years 6 months ago #8534

Hi Gourish,

Thank you for sharing your configuration file, it looks great! I've made a quick first attempt to compile, without much luck. More than likely it's due to my lack of Linux know-how, but if I may, I have a quick question:

After downloading the Cygwin default installation, including OpenMPI, Python 2.7, gfortran, etc., do I have to compile/MAKE any libraries other than Metis? Reason I ask is that for the OpenMPI library, 'libmpich.a', I can't seem to find its location.

In your experience, do you have to compile/MAKE libmpich.a?

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

Compiling parallel TELEMAC on Windows 7 using Cygwin 11 years 6 months ago #8535

  • gourish
  • gourish's Avatar
Dear Chris,

Metis is the only library which has to be compiled. I forgot to mention earlier that you will also have to select cmake from cygwin, cmake will be required to compile metis.

For openmpi selection, select the following libraries.
libopenmpi-devel, libopenmpi, libopenmpicxx1, libopenmpif77_1, libopenmpif90_1,
openmpi-debuginfo.

I my case I had downloaded mpich2 from www.mpich.org/, which also supports mpi interface, and compiled it using cygwin. Subsequently after the compilation of mpich, libmpich.a is created.

However in your case when you have selected openmpi from cygwin, you will have to select /usr/lib/libmpi.dll.a instead of /usr/local/lib/libmpich.a
Both the methods work properly. Don't try to compile mpich2 when openmpi is already installed with cygwin installation.

With Best Regards,
Gourish
The administrator has disabled public write access.

Compiling parallel TELEMAC on Windows 7 using Cygwin 11 years 6 months ago #8602

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

I have managed to run some validation cases with a windows/python/gfortran installation without cygwin. It is not thoroughly tested, but I have described the configuration in this post, so that others can test it as well:

Working parallel installation using python/gfortran in Windows

Regards,
Costas
The administrator has disabled public write access.

Compiling parallel TELEMAC on Windows 7 using Cygwin 7 years 4 months ago #27221

  • wafaa93
  • wafaa93's Avatar
Hello, can you help me please
i got this error while compiling TELEMAC, what should i do to solve it please ?
Thanks
The administrator has disabled public write access.

Compiling parallel TELEMAC on Windows 7 using Cygwin 7 years 4 months ago #27222

  • wafaa93
  • wafaa93's Avatar
Hello, can you help me please
i got this error while compiling TELEMAC, what should with details please i do to solve it please ?
Thanks
Attachments:
The administrator has disabled public write access.

Compiling parallel TELEMAC on Windows 7 using Cygwin 7 years 4 months ago #27223

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
You're using a wrong configuration file or some path are missing as the program wrote it couldn't find the compiler (ifort).

regards
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.