Skip to content
Snippets Groups Projects
  1. Sep 12, 2024
    • GUEZ Lionel's avatar
      Create files in the current directory · 3a4d2109
      GUEZ Lionel authored
      Create `cropped.nc` and `unpacked.nc` in the current
      directory. Several instances of script `inst_eddies.py` for different
      slices should run in different directories.
      3a4d2109
    • GUEZ Lionel's avatar
      Polish · 76812b2c
      GUEZ Lionel authored
      76812b2c
    • GUEZ Lionel's avatar
      Read `config_nml` from stdin in subroutine config · 1100bbaf
      GUEZ Lionel authored
      We are reverting commit d4d05bc2. It was not true that we needed two
      input fluxes in the Fortran program. `inst_eddies.py` can read the
      file `config_nml.txt` and merge its content to stdin for the Fortran
      program.
      1100bbaf
    • GUEZ Lionel's avatar
      Polish · a6af76a4
      GUEZ Lionel authored
      a6af76a4
    • GUEZ Lionel's avatar
      Always read coordinates and create `grid_nml.txt` · d6d22085
      GUEZ Lionel authored
      Always read coordinates from NetCDF file and create `grid_nml.txt`. Do
      not try to read `grid_nml.txt`. Reverting part of commit c4410682. We
      are trying to simplify the logic in program `inst_eddies`.
      d6d22085
    • GUEZ Lionel's avatar
      Add argument SHPC-dir to script `inst_eddies_Aviso.py` · cf970d4d
      GUEZ Lionel authored
      Add argument SHPC-dir to script `inst_eddies_Aviso.py`. We want to be
      able to run `inst_eddies_Aviso` in parallel for several slices. Since
      we write `used_config_nml.txt` to the current directory, we need to
      run the parallel instances from different directories. So the current
      directory cannot always be the directory containing the SHPC to be
      appended to.
      cf970d4d
    • GUEZ Lionel's avatar
      Add argument `SHPC_dir` to `loop_inst_eddies` · c0189703
      GUEZ Lionel authored
      Add argument `SHPC_dir` to function `loop_inst_eddies`. We want to be
      able to run `loop_inst_eddies` in parallel for several slices. Since
      we write `used_config_nml.txt` to the current directory, we need to
      run the parallel instances from different directories. So the current
      directory cannot always be the directory containing the SHPC to be
      appended to.
      c0189703
    • GUEZ Lionel's avatar
      Polish · c4117235
      GUEZ Lionel authored
      c4117235
    • GUEZ Lionel's avatar
      Blacken · d8500bc7
      GUEZ Lionel authored
      d8500bc7
    • GUEZ Lionel's avatar
      Polish · 6ea01141
      GUEZ Lionel authored
      6ea01141
    • GUEZ Lionel's avatar
      Write `used_config_nml.txt` to current directory · 4157fa1e
      GUEZ Lionel authored
      We are trying to simplify the logic in program `inst_eddies`. Also,
      the program `inst_eddies` should not write `used_config_nml.txt` to
      the top level of the SHPC directory since several instances could run
      in parallel for several slices. So we are leaving it as a task for a
      script over `inst_eddies` to create `used_config_nml.txt` at the top
      level of the SHPC directory.
      4157fa1e
    • GUEZ Lionel's avatar
      Always read `config_nml.txt` · 64796739
      GUEZ Lionel authored
      Do not try to read `used_config_nml.txt`. We are reverting commit
      d9a67386, trying to simplify the logic in program `inst_eddies`. We
      consider that using a single configuration for several runs of
      `inst_eddies` is the problem of a script over `inst_eddies`, not the
      problem of `inst_eddies`. Drawback: we write again
      `used_config_nml.txt` in several runs of `inst_eddies`, but this is
      not important.
      64796739
    • GUEZ Lionel's avatar
      Add argument SHPC-dir to program `inst_eddies` · 0cfe5b01
      GUEZ Lionel authored
      We want to be able to run `inst_eddies` from a directory other than
      the directory containing the SHPC to be appended to. Preparing to
      write `grid_nml.txt` and `used_config_nml.txt` in the current
      directory. To be able to do this in parallel for several slices, we
      need to be running in different directories.
      0cfe5b01
  2. Sep 09, 2024
  3. Sep 03, 2024
  4. Aug 23, 2024
  5. Jul 19, 2024
  6. Jul 15, 2024
    • Lionel GUEZ's avatar
      Change the type of `cont_list_proj` to polyline · c89018ce
      Lionel GUEZ authored
      We are circumventing a bug of the Intel Fortran compiler. This was
      tested with both ifx `2023.1.0` and ifort `2021.9.0`. The bug occurs
      on return from procedure `set_max_speed`: `free(): double free
      detected in tcache 2` and crashes execution. The bug is revealed in
      commit cc13fd5b. The GNU compiler does not have this bug.
      
      To circumvent the Intel compiler bug, instead of an ssh component of
      `cont_list_proj`, we have to use a separate array:
      `cont_list_ssh`. This is maybe for the best because the component
      `area` of `cont_list_proj` was not defined.
      c89018ce
  7. Jul 10, 2024
Loading