Ignore:
Timestamp:
Aug 2, 2024, 9:58:25 PM (7 weeks ago)
Author:
abarral
Message:

Put dimensions.h and paramet.h into modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/makelmdz_fcm

    r5133 r5159  
    498498 
    499499  cd "$LIBFGCM/grid"
    500   if [[ -f dimensions.h ]]; then
     500  if [[ -f lmdz_dimensions.f90 ]]; then
    501501      if [[ $force_compile = "true" ]]; then
    502           rm -f "$LIBFGCM/grid/dimensions.h"
     502          rm -f "$LIBFGCM/grid/lmdz_dimensions.f90"
    503503      else
    504504          echo "WARNING: you are probably already compiling the model somewhere else."
     
    506506          echo "If you are sure that you are not compiling elsewhere, "
    507507          echo "If you are sure that you are not compiling elsewhere, then"
    508           echo "rm -f \"$LIBFGCM/grid/dimensions.h\""
     508          echo "rm -f \"$LIBFGCM/grid/lmdz_dimensions.f90\""
    509509          echo "before reruning the compilation"
    510510          echo "or run makelmdz_fcm with option -force_compile"
     
    516516  # shellcheck disable=SC2086
    517517  ./makdim $dim
    518   cat "$LIBFGCM/grid/dimensions.h"
     518  cat "$LIBFGCM/grid/lmdz_dimensions.f90"
    519519  cd "$LMDGCM"
    520520}
     
    679679  cp -r "$LIBOGCM/$arch$SUFF_NAME/.config/bin" .
    680680
    681   if [[ -r $LIBFGCM/grid/dimensions.h ]]; then
    682     # Cleanup: remove dimension.h file
    683     rm -f "$LIBFGCM/grid/dimensions.h"
     681  if [[ -r $LIBFGCM/grid/lmdz_dimensions.f90 ]]; then
     682    # Cleanup: remove dimensionlmdz_dimensions.f90 file
     683    rm -f "$LIBFGCM/grid/lmdz_dimensions.f90"
    684684  fi
    685685
Note: See TracChangeset for help on using the changeset viewer.