Welcome, Guest
Username: Password: Remember me

TOPIC: Can't get telemac to compile on CentOS 6.2

Can't get telemac to compile on CentOS 6.2 12 years 9 months ago #3771

  • muxav
  • muxav's Avatar
Dear community,
I'm really used to installing tricky software on Linux, but telemac marks a milestone. I tried for several days to compile the software on our new cluster running CentOS 6.2 and still can't get it working.
I tried different configurations. Please find my systel.cfg as attachment.
The only configuration, which is working is "scalar". Neither the one pointing to mpich nor intel-mpi is working, whereas the mpich approach gets quite far nevertheless. I also attached the compiler's error messages.
Maybe someone can tell me, what I'm doing wrong.
Regards,
muxav

File Attachment:

File Name: errors.txt
File Size: 2 KB



File Attachment:

File Name: systel.cfg.txt
File Size: 3 KB
The administrator has disabled public write access.

Re: Can't get telemac to compile on CentOS 6.2 12 years 9 months ago #3777

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

Your problem with your compilation under [fedgfortranp] is that you are missing tomawac. If you look at the "modules", indeed you have chosen to remove tomawac.

Just repalce this:
modules: update system -tomawac
... by this:
modules: update system

I note that you have two different mpiexec command, whether with
[Cengfopenmpi]
mpi_cmdexec: /opt/intel/impi/4.0.0/bin64/mpiexec
or
[fedgfortranp]
mpi_cmdexec: /usr/lib64/mpich2/bin/mpiexec
I trust these are correct, but it gives me a clue ...

In your [Cengfopenmpi] configuration you have references to paths in /opt/intel/impi/ ... which are the Intel Fortran MPI implementation. Yet your fortran compiler is gfortran. These two are not compatible.

If you choose gfortran (4.6 strongly recommended, actually necessary) you need to download and install the appropriate openmpi or mpich2 implementations of the MPI-2 standard.

Please note that the METIS library should also be compiled with the same compiler.

Hope this helps.
Sébastien.
The administrator has disabled public write access.

Re: Can't get telemac to compile on CentOS 6.2 12 years 9 months ago #3799

  • muxav
  • muxav's Avatar
Thank you a lot Sebastien,
the only thing, that kept it from compiling was the -tomawac flag. I took it over from systel.cis-fedora.cfg without thinking about it. Now the fedgfortranp-version is working like a charm.
Unfortunately I need intel-mpi on this machine for other simulation tools.
Did anybody ever succeed with linking telemac against intel-mpi-4?
Regards,
muxav
The administrator has disabled public write access.

Re: Can't get telemac to compile on CentOS 6.2 12 years 9 months ago #3802

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
I don't try to compile telemac with Intel-mpi but i think this could be not too difficult. You probably should take care about the reference to mpi file when you configure telemac.
I'm not an expert with python configuration but in perl, there was a reference that should be change according to the location of MPI installation in the makefile of parallel and also the mpi part of systel.ini file.
Python don't use the makefile but you should probably have to adapt the cfg file.

If you tried to configure intel mpi, what are the error message you encountered?

Regards
Christophe
The administrator has disabled public write access.

Re: Can't get telemac to compile on CentOS 6.2 12 years 9 months ago #3843

  • muxav
  • muxav's Avatar
Hi,
I finally managed to compile telemac against intel-mpi.
I followed the perl installation approach. For those, who are interested, you can find my systel.ini as attachment. Both variants, ifort and gfortran, are working. Compiler flags are set for recent Opteron processors.
Best regards and thanks a lot for your help,
muxav


File Attachment:

File Name: systel.ini.txt
File Size: 8 KB
The administrator has disabled public write access.
Moderators: borisb

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