Changeset 5271 for LMDZ6/trunk/makelmdz


Ignore:
Timestamp:
Oct 24, 2024, 4:25:39 PM (2 months ago)
Author:
abarral
Message:

Move dimensions.h into a module
Nb: doesn't compile yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/makelmdz

    r5269 r5271  
    587587
    588588cd $LIBFGCM/grid
    589 if [[ -f dimensions.h ]]
     589if [[ -f dimensions_mod.f90 ]]
    590590then
    591591    if [[ $force_compile == true ]]
    592592    then
    593         \rm -f $LIBFGCM/grid/dimensions.h
     593        \rm -f $LIBFGCM/grid/dimensions_mod.f90
    594594    else
    595595        echo "WARNING: you are probably already compiling the model somewhere else."
     
    597597        echo "If you are sure that you are not compiling elsewhere, "
    598598        echo "If you are sure that you are not compiling elsewhere, then"
    599         echo rm -f $LIBFGCM/grid/dimensions.h
     599        echo rm -f $LIBFGCM/grid/dimensions_mod.f90
    600600        echo "before reruning the compilation"
    601601        echo "or run makelmdz with option -force_compile"
     
    607607cd $LIBFGCM/grid/dimension
    608608./makdim $dim
    609 cat $LIBFGCM/grid/dimensions.h
     609cat $LIBFGCM/grid/dimensions_mod.f90
    610610cd $LMDGCM
    611611
     
    842842set +v
    843843
    844 if [[ -r $LIBFGCM/grid/dimensions.h ]]
     844if [[ -r $LIBFGCM/grid/dimensions_mod.f90 ]]
    845845then
    846846  # Cleanup: remove dimension.h file
    847   \rm -f $LIBFGCM/grid/dimensions.h
    848 fi
     847  \rm -f $LIBFGCM/grid/dimensions_mod.f90
     848fi
Note: See TracChangeset for help on using the changeset viewer.