Changeset 5159 for LMDZ6/branches/Amaury_dev/makelmdz_fcm
- Timestamp:
- Aug 2, 2024, 9:58:25 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/makelmdz_fcm
r5133 r5159 498 498 499 499 cd "$LIBFGCM/grid" 500 if [[ -f dimensions.h]]; then500 if [[ -f lmdz_dimensions.f90 ]]; then 501 501 if [[ $force_compile = "true" ]]; then 502 rm -f "$LIBFGCM/grid/ dimensions.h"502 rm -f "$LIBFGCM/grid/lmdz_dimensions.f90" 503 503 else 504 504 echo "WARNING: you are probably already compiling the model somewhere else." … … 506 506 echo "If you are sure that you are not compiling elsewhere, " 507 507 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\"" 509 509 echo "before reruning the compilation" 510 510 echo "or run makelmdz_fcm with option -force_compile" … … 516 516 # shellcheck disable=SC2086 517 517 ./makdim $dim 518 cat "$LIBFGCM/grid/ dimensions.h"518 cat "$LIBFGCM/grid/lmdz_dimensions.f90" 519 519 cd "$LMDGCM" 520 520 } … … 679 679 cp -r "$LIBOGCM/$arch$SUFF_NAME/.config/bin" . 680 680 681 if [[ -r $LIBFGCM/grid/ dimensions.h]]; then682 # Cleanup: remove dimension .hfile683 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" 684 684 fi 685 685
Note: See TracChangeset
for help on using the changeset viewer.