Welcome, Guest
Username: Password: Remember me

TOPIC: TELEMAC Conda package

TELEMAC Conda package 1 year 2 months ago #43294

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Thank you received: 39
Dear Telemac users and developers,

I spent some times looking how to package Telemac-Mascaret for conda and it's now done !

Package description:
2 configs are built : gnu.static and gnu.static.debug taken from gitlab.pam-retd.fr/otm/wintel/-/blob/main/config/systel.cfg.
Support parallel computation.
Require 1 extra package which is not in default repo : msmpi-compilers (providing mpif90)
Performance should be similar to wintel install

I consider this package as an alpha for now.
Only t2d_malpasset-fine.cas in parallel has been tested.

Features
  • Parallel computation
  • Switch debug mode
    telemac-debug on/off

Not implemented (yet...)
  • Dynamic build (I have trouble with API compilation
  • HDF5 and MED support
  • MUMPS (openblas, scalapack) support
  • aed2 support
  • gotm support
  • Provide examples in separate package
  • Provide documentation in separate package

How to install?

Package recipe
Github repo: github.com/nicogodet/telemac-mascaret-feedstock
Anaconda: anaconda.org/nicogodet/telemac-mascaret

Via this topic, I call for testers, developers and maintainers to provide a complete and efficient telemac package
The administrator has disabled public write access.

TELEMAC Conda package 1 year 2 months ago #43295

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello - this is good.

Please also have a look at this : github.com/tomsail/telemac-conda

Best,
Sébastien.
The administrator has disabled public write access.

TELEMAC Conda package 1 year 2 months ago #43296

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Thank you received: 39
I was inspired by this repo !
Tomsail's one use a copy of TELEMAC files in GH repo which I didn't want to do. Mine use official Gitlab repo and checkout wanted version.

I also need to provide msmpi-compiler for Windows as current msmpi package in Anaconda only provide mpiexec but not mpif90.
The administrator has disabled public write access.

TELEMAC Conda package 1 year 2 months ago #43297

  • tomsail
  • tomsail's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 43
  • Thank you received: 17
great stuff nicogodet!

Indeed as you noted it, I have built and packaged only the v8p4 version using conda build and downloading the source from my own repo.

The changes to do wouldn't be a great deal: modify the url in conda.recipe/meta.yaml - like you did - and point it to the wanted version of TELEMAC.

Which troubles did you have with the API compilation? I could help because I went through some trouble as well.
The administrator has disabled public write access.

TELEMAC Conda package 1 year 2 months ago #43298

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 128
  • Thank you received: 64
Hello Nico,

Great work on the conda package.

You mentioned mpif90, in fact it's just a wrapper tool that calls the Fortran compiler in the background, with specific options and specific include and library paths. Microsoft doesn't provide it for MS-MPI, so I had to build it manually, based on what was done for MSYS2. However, it would be best to use GFortran directly instead of mpif90. I'll update the wintel repo at some point for that.
The administrator has disabled public write access.

TELEMAC Conda package 1 year 2 months ago #43311

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Thank you received: 39
To build scalapack and MUMPS, I had to repackage msmpi properly using wintel sources.
TELEMAC Conda now support dynamic build with API and MUMPS.

Examples and doc are shipped in separate packages.

Some validation tests are runned at build time (using list of tags and rank 0) and a lot of them fail.
Some failures seems related to the build but other not.
Full details : github.com/nicogodet/telemac-mascaret-feedstock/issues/4
The administrator has disabled public write access.

TELEMAC Conda package 1 year 1 month ago #43505

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Thank you received: 39
Very important pending PR on msmpi conda forge package that will unlock a lot of things and allow us to build (I hope) TELEMAC on top of conda-forge packages only.

github.com/conda-forge/msmpi-feedstock/pull/20
The administrator has disabled public write access.

TELEMAC Conda package 1 year 1 month ago #43508

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Thank you received: 39
No success build TELEMAC with MED support using libmed from conda-forge
The administrator has disabled public write access.

TELEMAC Conda package 7 months 3 weeks ago #44495

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Thank you received: 39
Hello,

V8P5 package with MPI, MED, MUMPS, AED2 is available
mamba install opentelemac -c nicogodet

Gotm fails to build but no time to investigate...
The administrator has disabled public write access.
Moderators: borisb

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