gotm-model / code

Source code for the General Ocean Turbulence Model
https://gotm.net
GNU General Public License v2.0
53 stars 44 forks source link

turbulence.mod missing on the conda-forge package #43

Open tomsail opened 8 months ago

tomsail commented 8 months ago

Hi

We (me and @nicogodet for Windows) have recently been trying to use gotm library on conda-forge. GOTM can be built and coupled with TELEMAC, provided the *.mod files are found in the path.

Especially turbulence.mod, generated during make install and I am not sure this step has been done for packaging on conda-forge.

I have uploaded a simple conda-build recipe on my GitHub: https://github.com/tomsail/gotm-otm-feedstock, and this version works fine then when compiling with TELEMAC.

Is there any way to add turbulence.mod in the binaries of the official repository?

Thanks

PS: If you want me to make a reproducible version to traceback the error during TELEMAC compiling, I'll be happy to provide.

jornbr commented 8 months ago

Hi, you're correct, at the moment the conda recipe only installs the GOTM executable, not the GOTM libraries or module files (*.mod). It would not be a problem to add both of those. However, the module files would then be specific to the compilers that we use on conda-forge: M2W64 gfortran 5.3 on Windows, and a very recent gfortran (e.g., 13.2) on Mac and Linux. Would that work for your purposes?

tomsail commented 8 months ago

For Linux, it'd be perfect, I use also use the latest versions:

libgfortran-ng            13.2.0               h69a702a_2    conda-forge
libgfortran5              13.2.0               ha4646dd_2    conda-forge

For windows, I think @nicogodet will be able to answer

nicogodet commented 8 months ago

M2W64 Fortran compiler is used for TELEMAC too.

jornbr commented 7 months ago

Follow-up here: https://github.com/conda-forge/gotm-feedstock/issues/6#issuecomment-1821270133